:root {
    --station-free-color: #10B981;
    --station-occupied-color: #F43F5E;
    --station-booked-color: #F59E0B;
    --station-selected-border-color: black;
}

* {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body, h1, h2, h3, h4, h5, h6 {
    color: #28325A;
    font-family: Roboto;
}

body {
    scroll-behavior: smooth;
    padding-bottom: 30px;
}

body, .main {
    background-color: #F8FAFC;
}

body * {
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: white !important;
    filter: drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.40));
}

.navbar .navbar-brand img {
    height: 60px;
    width: auto;
}

.navbar .change-page {
    font-size: 20px;
    color: #E85318;
}

.navbar .change-page i {
    font-size: 30px;
    margin-right: 10px;
}

.navbar .user {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    align-content: start;
    gap: 10px;
}

.navbar .user a {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

.main {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
    align-content: start;
    gap: 40px;

    padding: 20px 90px;
    width: 100%;
    max-width: 1550px;
}

.side-bar {
    width: 222px;
}

.side-bar .nav-item {
    padding: 16px 0;
    padding-left: 50px;

    display: flex;
    justify-content: start;
    align-items: center;
    align-content: center;
    gap: 15px;
}

.side-bar .selected {
    background-color: #DDE3EF;
}

.side-bar .nav-item a {
    padding: 0;
    color: #28325A;
    font-size: 13px;
    font-family: Roboto;
    font-weight: 700;
}

.dashboard {
    flex: 1 0 0;
    width: 100%;
    /* filter: drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.40)); */

    display: flex;
    flex-direction: column;
    align-items: start;
    align-content: start;
    gap: 36px;
}

.dashboard .header h2 {
    font-size: 30px;
    font-weight: 700;
}

.dashboard .header p {
    color: #68758F;
    font-size: 24px;
    font-weight: 400;

    margin-top: 12px;
}

.dashboard .date-selection {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: start;
    align-content: start;
    gap: 24px;
}

.dashboard .date-selection .column-1 {
    flex: 3;
    background-color: white;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    padding: 24px;
    z-index: 20;
}

.dashboard .date-selection .column-2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 20;
}

.dashboard .date-selection .column-2 > * {
    background-color: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #F1F5F9;
}

.dashboard .panel {
    width: 100%;
    background-color: white;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    padding: 24px;

    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 15px;
}

.dashboard .panel h4 {
    font-size: 25px;
    font-weight: 700;
}

.dashboard .panel table {
    width: 100%;
}

.map-container {
    flex: 1;
    position: relative;
}

.map-container img {
    width: 100%;
    height: auto;
}

.map-container .station {
    box-sizing: content-box;
    border-radius: 50%;
    width: 2.5%;
    height: 0;
    padding-top: 2.5%;
    cursor: pointer;

    position: absolute;
    transform: translate(-50%, -50%);

    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
}

.map-container .station.free {
    background-color: var(--station-free-color);
    background-image: url("../img/no-person.svg");
}

.map-container .station.booked {
    background-color: var(--station-booked-color);
    background-image: url("../img/person.svg");
}

.map-container .station.occupied {
    background-color: var(--station-occupied-color);
    background-image: url("../img/person.svg");
}

.map-container .station.selected {
    border: 3px solid var(--station-selected-border-color);
    z-index: 10;
}

.dashboard .calendar-container {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard .calendar-container .current-day-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard .calendar-container .current-day-info span {
    font-weight: 700;
}

.dashboard .calendar-container .current-day-info .btn {
    align-self: center;
}

#station-modal .station-info {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

#station-modal .station-info > * {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 24px;
}

#station-modal .station-info .hidden {
    display: none;
}

#station-modal .station-info i {
    font-size: 40px;
    color: #DFE3E9;
}

#station-modal .station-info > * > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    gap: 12px;
}

#station-modal .station-info * {
    text-align: center;
    line-height: 100%;
}

#station-modal .isFixed {
    font-weight: 700;
}

#station-modal .station-info .notes {
    font-style: italic;
}

#station-modal .station-info .notes::before {
    content: "Note: ";
    font-weight: bold;
}

.legend .circle {
    height: 10px;
    width: 10px;
    border-radius: 50%;
}

.legend {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    gap: 10px 16px;
}

.legend .key {
    display: flex;
    justify-content: start;
    align-items: center;
    align-content: center;
    gap: 10px;
}

.legend span {
    font-size: 16px;
    font-weight: 400;
}

.btn:disabled {
    cursor: not-allowed;
}

.panel {
    z-index: 20;
}

.panel .btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel .btn-line {
    display: flex;
    align-items: center;
    gap: 20px;
}

.panel table {
    max-height: 400px;
    overflow-x: auto;
    display: block;
}

.panel table, th, td {
    border: 5px solid #fff;
    border-collapse: collapse;
}

.panel table th,
.panel table td {
    padding: 0 10px;
}

.panel table .fit-content {
    width: 1%;
    background-color: transparent;
    padding: 0;
}

.panel tr:nth-child(odd) {
    background-color: #D6EEEE;
}

.panel table th,
.panel tr:nth-child(even) {
    background-color: #fff;
}

.panel thead tr {
    background-color: #fff !important;
}

.tooltip-inner {
    max-width: 500px !important;
}

@media screen and (max-width: 1000px) {
    .dashboard .date-selection {
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 768px) {
    .main {
        padding: 20px;
    }
}

@media screen and (max-width: 552px) {
    .map-container .station.selected {
        border: 1px solid var(--station-selected-border-color);
        z-index: 10;
    }
}