
/* === MISCELLANEOUS === */
:root {
    --main: #006DFE;
    --mainActive: #004cfe;
    --mainOpacity6: rgba(0, 109, 254, 0.6);
    --passiveDark: rgb(140,140,140);
    --passive: rgb(220,220,220);
    --passiveLight: rgb(240,240,240);
}

html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    background-color: var(--passiveLight);
}
main {
    padding-left: 100px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 50px;
    box-sizing: border-box;
    width: 100%;
    box-sizing: border-box;
}

div {
    display: inline-block;
    box-sizing: border-box;
}

button {
    margin-top: 10px;
    position: relative;
    left: 0;
    cursor: pointer;
}
/* === GENERAL === */
.btn-main {
    width: 100%;
    height: 32px;
    background-color: var(--main);
    color: white;
    text-align: center;
    border: 2px solid var(--main);
    font-weight: bold;
}
.btn-passive {
    width: 100%;
    height: 32px;
    background-color: white;
    color: var(--main);
    text-align: center;
    border: 2px solid var(--main);
}
button:hover {
    background-color: var(--mainActive);
    left: -10px;
    width: calc(100% + 20px);
    color: white;
}
input {
    width: 100%;
    height: 32px;
    margin-bottom: 10px;
    border-radius: 0;
    border: 1px solid var(--passiveDark);
    padding-left: 10px;
}
textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
    border-radius: 0;
    border: 1px solid var(--passiveDark);
    padding: 10px;
    box-sizing: border-box;
}
select {
    width: 100%;
    height: 32px;
    margin-bottom: 10px;
    border-radius: 0;
    border: 1px solid var(--passiveDark);
    padding-left: 10px;
}
label {
    font-size: 12px;
    font-weight: bold;
    color: var(--passiveDark);
    padding-left: 2px;
}
footer {
    background-color: var(--main);
    color: white;
    height: 35px;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
}
.ui-datepicker {
    border: 2px solid var(--main) !important;
    margin-top: 10px;
    padding: 5px;
    border-radius: 10px;
}

.ui-datepicker-header {
    color: var(--main) !important;
    width: 100% !important;
    text-align: center !important;
    border-radius: 8px;
    border: 2px solid var(--main)
}

.ui-datepicker-header a {
    border-radius: 8px;
    margin-top: 1px;
    margin-bottom: 2px;
}

.ui-state-highlight {
    background-color: var(--main) !important;
    color: white !important;
    font-weight: bold !important
}

/* === LOGIN === */
.loginBackground {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/img/traveling-g94d8db521_1280.png);
    background-position: center;
    background-size: cover;
}
.loginContainer {
    width: 400px;
    margin: auto;
    background-color: rgba(255,255,255,1);
    padding: 20px;
    margin-left: calc(20vw);
    margin-top: calc(20vh);
    box-shadow: rgba(0, 0, 0, 0.85) 0px 5px 15px;
    border: 1px solid var(--main);
}
.loginContainer h3 {
    margin: 0;
    color: var(--main);
    text-align: center;
    font-size: 30px;
}
.loginContainer h4 {
    margin-top: 0;
    color: var(--passiveDark);
    text-align: center;
    text-transform: uppercase;
}
#loginerror {
    display: none;
    padding: 5px 10px;
    background-color: red;
    color: white;
    width: 100%;
    margin-top: 10px;
}
#loginerror p {
    margin: 0;
    font-size: 14px;
}

/* === DASHBOARD === */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.grid > div {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
}

.grid input {
    width: 100%;
    box-sizing: border-box;
}

.grid h3 {
    margin: 0 0 10px;
    color: var(--main);
    border-bottom: 1px solid var(--main);
}
.grid .split {
    width: 100%;
}

h2 {
    color: var(--main);
    margin-top: 0;
}


/* === INFOBAR === */
#infobar {
    position: fixed;
    width: 400px;
    height: 100%;
    right: -405px;
    top: 0px;
    background-color: white;
    border-left: 1px solid var(--main);
    transition: 0.5s;
}

/* === BUCHUNG === */
#roomList {
    width: 100%;
    margin-top: 10px;
}

.room {
    width: 100%;
    background-color: var(--passiveLight);
    border-radius: 8px;
    padding: 10px 10px;
    padding-left: 40px;
    margin-bottom: 10px;
    position: relative;
    border: 2px solid var(--passive);
}

.room input[type=radio] {
    height: 15px;
    position: absolute;
    left: 10px;
    width: auto;
    top: 19px;
}

.room p {
    margin: 0;
}

.room p:first-child {
    font-weight: bold;
}