@font-face {
    font-family: 'Inter';
    src: url('/operasabun_website/static/font/Inter-VariableFont_slnt,wght.ttf') format('truetype');
}

* {
    font-family: 'Inter', sans-serif;
}

/* ----------------------- START BUTTON STYLE -------------------------- */
.os-button-outline {
    display: flex;
    background-color: transparent;
    border: 1.8px solid #FCC812;
    padding: 2px 8px;
    border-radius: 6px;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    font-size: 0.80em;
}

.os-button-outline-circled {
    display: flex;
    background-color: transparent;
    border: 1.8px solid #FCC812;
    padding: 8px;
    border-radius: 100000px;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

.os-button-outline-circled:hover {
    transform: scale(1.08);
    transition: 0.5s;
}

/* ----------------------- START BUTTON STYLE -------------------------- */

/* ----------------------- START CHECKBOX & RADIO STYLE -------------------------- */
/* Use modern accent-color where supported to make the control yellow when checked */
input[type="checkbox"],
input[type="radio"] {
    accent-color: #FCC812;
}

/* Add a subtle focus ring using the same hue */
input[type="checkbox"]:focus,
input[type="radio"]:focus {
    outline: 3px solid rgba(252, 200, 18, 0.12);
    outline-offset: 2px;
}

/* ----------------------- END CHECKBOX & RADIO STYLE -------------------------- */


/* ----------------------- START CROWD STATUS STYLE -------------------------- */
.crowd-status-progress-bar {
    background-color: #efefef;
    width: 100%;
    border-radius: 10000px;
    height: 13px;
}

.crowd-status-progress-bar-inner {
    border-radius: 10000px;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.crowd-status-progress-bar-color {
    display: flex;
    border-radius: 10000px;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    color: white;
    font-size: 0.5em;
    font-family: 'Poppins';
    padding: 0px 8px 0px 0px;
    justify-content: flex-end;
    align-items: center;
    /* animation: crowd-status-progress-bar-inner 1s; */
    overflow: hidden;
    align-content: center;
    width: 0%;
}

/* ----------------------- END CROWD STATUS STYLE -------------------------- */


/* ----------------------- START NAVBAR STYLE -------------------------- */
#navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 90;
    padding: 18px;
}

#os-logo {
    width: 136px;
}

#sidebar-public-link-hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 36px;
    height: 36px;
    z-index: 100;
}

#open-sidebar-public-link {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 101;
    opacity: 0;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 38px;
    height: 24px;
    cursor: pointer;
}

.hamburger-icon span {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: 0.5s;
    border-radius: 100px;
}

.hamburger-icon.active span:nth-child(1) {
    transform: translate(5px, 0px) rotate(45deg);
    transform-origin: left center;
}

.hamburger-icon.active span:nth-child(2) {
    transform: translate(0px, 4px) scaleX(0);
    transform-origin: left center;
}

.hamburger-icon.active span:nth-child(3) {
    transform: translate(4px, 6px) rotate(-45deg);
    transform-origin: left center;
}

.header-page-setting, .header-page-setting2 {
    display: none !important;
}

/* ----------------------- END NAVBAR STYLE -------------------------- */


/* ----------------------- START SIDEBAR-public-link STYLE -------------------------- */
.sidebar-public-link {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    z-index: 100;
    background-color: white;
    transition: 0.5s;
}

.sidebar-public-link.active {
    left: 0;
    transition: 0.5s;
}

.sidebar-public-link-head {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px;
    border-bottom: 1px solid #DBDBDB;
    position: relative;
    justify-content: space-between;
}

#sidebar-public-link-back-button {
    position: absolute;
    left: 18px;
    cursor: pointer;
}

#sidebar-public-link-back-icon {
    transition: all 0.3s;
}

#sidebar-public-link-back-icon:hover {
    transform: translateX(-3.5px);
    transition: all 0.3s;
}

.sidebar-public-link-content {
    max-height: 100%;
    height: 100%;
    padding: 8px 12px;
    overflow-x: auto;
}

.sidebar-public-link-title {
    font-size: 1em;
    font-family: 'Poppins';
    font-weight: bold;
    margin: 0 auto;
}

.sidebar-public-link-item {
    display: flex;
    flex-direction: column;
    padding: 16px;
    cursor: pointer;
    border-radius: 10px;
    border: 2px solid #F2F2F2;
}

.sidebar-public-link-item.active {
    border: 2px solid #FCC812;
    animation-fill-mode: forwards;
}

.sidebar-public-link-item-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    row-gap: 8px;
    margin-bottom: 6px;
    width: 100%;
}

.sidebar-public-link-item-title {
    display: block;
    font-size: 0.8em;
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.sidebar-public-link-item-subtitle {
    font-size: 0.7em;
    grid-column: 2 / span 3;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.sidebar-public-link-facilities-section {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sidebar-public-link-item-facilities {
    display: flex;
    width: 100%;
    gap: 6px;
}

.sidebar-public-link-facilities-icon {
    width: 20px;
    height: 20px;
}

.sidebar-public-link-item-facilities-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    font-size: 0.7em;
    border: 1px solid #EAEAEA;
    padding: 4px;
    border-radius: 6px;
}

.sidebar-public-link-item-facilities-item span {
    font-size: 0.7em;
}

.sidebar-public-link-item-main-container {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    height: fit-content;
}

.sidebar-public-link-item-main-detail {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content;
    min-width: 0;
    overflow: hidden;
}

.sidebar-public-link-item-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
    padding: 7px 0 2px 0;
}

.sidebar-public-link-action-button {
    width: 56px;
    height: 56px;
}

.sidebar-public-link-action-icon {
    width: 36px;
    height: 36px;
}

.sidebar-public-link-label {
    font-size: 0.6em;
}

.crowd-status-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6em;
    border-radius: 100px;
    padding: 0 6px;
    height: 20px;
    white-space: nowrap;
}

.crowd-status-bar-container {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: fit-content;
    border-radius: 6px;
    padding: 4px 5px;
    gap: 6px;
}

.crowd-status-bar-container img {
    display: inline-block;
    height: 20px;
    width: auto;
}

.sidebar-public-link-content-loading-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.sidebar-public-link-images-item {
    border-radius: 10px;
    object-fit: cover;
}

.search-location-public-link-container {
    /* Gradient white to transparent */
    background: linear-gradient(to bottom, white 80%, transparent 100%);
    /* background-color: white; */
    position: sticky;
    top: 0;
}

#sidebar-public-link-city-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.sidebar-public-link-location-item-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-public-link-location-item-text-container span {
    font-size: 0.8em;
}

.sidebar-public-link-location-item-text-container span:nth-child(2) {
    font-size: 0.75em;
}

.sidebar-public-link-location-item {
    display: flex;
    gap: 12px;
    cursor: pointer;
}

#filterModal label {
    font-size: 0.8em;
}

.modal-subtitle {
    font-size: 0.9em;
    margin: 0;
}

.sidebar-public-link-reset-filter-button {
    cursor: pointer;
    color: #ebb400;
    font-size: 0.8em;
}

/* ----------------------- END SIDEBAR-public-link STYLE -------------------------- */

/* ----------------------- START CONTENT STYLE -------------------------- */
.content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    min-height: 100dvh;
    align-items: center;
}

#logo-os-content {
    display: none;
}

.public-content-outlet-name {
    font-weight: bold;
    font-family: 'Poppins';
}

/* ----------------------- END CONTENT STYLE -------------------------- */

/* ----------------------- Start Extra large screen / wide desktop -------------------------- */
@media (min-width: 1200px) {

    /* ----------------------- START BUTTON STYLE -------------------------- */
    .os-button-outline {
        font-size: 0.9em;
    }

    /* ----------------------- START BUTTON STYLE -------------------------- */

    /* START CROWD STATUS */
    .crowd-status-progress-bar {
        height: 16px;
    }

    .crowd-status-progress-bar-color {
        font-size: 0.8em;
    }

    /* END CROWD STATUS */

    /* START NAVBAR */
    #navbar {
        display: none;
    }

    #sidebar-public-link-hamburger {
        display: none;
    }

    /* END NAVBAR */

    /* START SIDEBAR-public-link */
    .sidebar-public-link {
        width: 30%;
        left: 0;
    }

    .sidebar-public-link-head {
        padding: 18px 0 18px 18px;
    }

    .sidebar-public-link-title {
        font-size: 1.2em;
        text-align: center;
        font-family: 'Poppins';
        font-weight: bold;
    }

    .sidebar-public-link-label {
        font-size: 0.9em;
    }

    .sidebar-public-link-action-button {
        width: 54px;
        height: 54px;
    }

    .sidebar-public-link-item {
        padding: 12px 16px 16px 12px;
    }

    .sidebar-public-link-item-title {
        font-size: 1em;
    }

    .sidebar-public-link-item-subtitle {
        font-size: 0.8em;
    }

    .sidebar-public-link-item-action {
        padding: 3px 0 2px 0;
    }

    .crowd-status-label {
        font-size: 0.8em;
    }

    .sidebar-public-link-item-facilities-item span {
        font-size: 0.9em;
    }

    .sidebar-public-link-location-item-text-container span {
        font-size: 0.9em;
    }

    .sidebar-public-link-location-item-text-container span:nth-child(2) {
        font-size: 0.8em;
    }

    .modal-subtitle {
        font-size: 1.1em;
        margin: 0;
    }

    #filterModal label {
        font-size: 0.9em;
    }

    /* END SIDEBAR-public-link */

    /* START CONTENT */
    .content {
        padding-left: 30%;
    }

    #logo-os-content {
        display: block;
        width: 340px;
    }

    /* END CONTENT */
}

/* ----------------------- End Extra large screen / wide desktop -------------------------- */