.patient-appointment-item {
    border-bottom: 1px solid #808080;
    padding: 8px;
}

.patient-appointment-item:last-child {
    border-bottom: none !important;
}

.appointment-target-container {
    position: relative;
    height: calc(100vh - 230px);
    border: 1px solid #808080;
    border-radius: 4px;
    padding: 0px;
    box-sizing: border-box;
}

.appointment-target {
    height: calc(100vh - 230px);
    overflow-y: auto;
}

@media (max-width: 768px) {
    .appointment-target-container {
        height: calc(100vh - 100px);
    }

    .appointment-target {
        height: calc(100vh - 100px);
    }
}

.appointment-slots-target {
    height: 443px;
    overflow-y: auto;
}

.appointment-slots {
    height: 450px;
    padding: 4px;
    border: 1px solid #808080;
    border-radius: 8px;
}

#slot_previous, #slot_next {
    padding-top: 8px;
    padding-bottom: 8px;
}

.slot-item {
    padding: 9px;
}

.slot-item.selected {
    /*background-color: #b3c195!important;
    color:white;*/
}

.slot-item {
    border-bottom: 1px solid var(--primary);
}

/* .slot-item:nth-child(odd) {
    background-color: var(--highlight);
}*/

.slot-time {
    padding: 0 !important;
    align-content: center;
    vertical-align: middle;
}

.slot-buttons .btn {
    width: 65px;
}

.slots-loading {
    width: 60px;
    margin: 100px auto;
}

.prescription-list {
    height: 200px;
    overflow-y: scroll;
    border: 1px solid #808080;
    border-radius: 4px;
}

.prescription-item {
    border-bottom: 1px solid #808080;
    padding: 8px;
}

.dashboard-buttons {
    max-width: 653px;
}

.dashboard-buttons .btn {
    min-width: 195px;
}

.patient-card {
    width: 400px;
}

.patient-card img {
    width: 100%;
    z-index: -99;
}

.patient-card-wrapper {
    width: 100%;
    position: absolute;
    top: 100px;
    left: 0px;
    text-align: center;
}

.patient-card table {
    font-size: 15px;
    width: 100%;
    color: white !important;
    z-index: 9999;
    print-color-adjust: exact;
}

.patient-card-table tr:first-child td {
    padding-bottom: 0px !important;
}

.patient-card-table td:first-child {
    padding-left: 20px;
}

.patient-card-table td:last-child {
    width: 92px;
}

@media screen and (max-width: 440px) {
    .patient-card-table {
        font-size: 14px !important;
        bottom: 26px !important;
        left: 23px !important;
    }

    .patient-card-table tr:first-child td {
        padding-bottom: 25px !important;
        font-weight: bold;
    }

    .patient-card {
        width: 340px !important;
    }

    .patient-card img {
        width: 340px !important;
    }

    .patient-card-wrapper {
        top: 55px !important;
    }
}

#securepay-ui-container.initial .securepay-ui-iframe {
    /*background-color: var(--bg)!important;*/
    height: 250px !important;
}

/*@media print {
    @page {
        margin: 0;
    }

    body {
        margin: 1.6cm;
    }

    .patient-card table {
        font-size: 12px !important;
        width: 200px !important;
        bottom: 10px !important;
        left: 23px !important;
        color: black;
    }

    .patient-card table tr:last-child td{
        padding-bottom: 15px!important;
    }

    .patient-card {
        width: 300px !important;
    }

    .patient-card img {
        width: 300px !important;
        filter: brightness(90%)
    }
}*/

.PENDING_INFO {
    background-color: var(--danger);
}

.appointment-list {
    margin: auto;
    max-width: 400px;
    overflow-y: auto;
    max-height: 400px;
    border: 1px solid var(--primary);
    border-radius: 5px;
}

.appointment-list-date {
    font-weight: bold;
    font-size: 1.1rem;
}

.appointment-list-day {
    border-bottom: 1px solid var(--primary);
    padding: 8px;
}

.appointment-list-day:last-child {
    border-bottom: none !important;
}

.appointment-list-time {
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border-radius: 5px;
    margin-bottom: 10px;
}

.sticky-menu {
    color: white;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary);
    padding: 10px 0px 5px 0px;
    text-align: center;
}

@media screen and (min-width: 576px) {
/*    .sticky-menu {
        position: relative;
        max-width: 623px;
        margin: auto;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    .appointment-target-container {
        max-height:600px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }*/
}

.sticky-menu-group {
    display: inline-block;
    text-align: center;
    margin-right: 15px;
    cursor: pointer;
}

.sticky-menu-group:last-child {
    margin-right: 0px;
}

.sticky-menu-text {
    margin-top: 6px;
}

.sticky-menu-item {
    font-size: 20px;
    width: 50px;
    height: 50px;
    border: 1px solid white;
    border-radius: 25px;
    margin: auto;
}

.sticky-menu-item:active {
    background-color: var(--highlight);
}

.register-flow-button {
    display: none;
}

.order-context, .book-context {
    width: 100%;
    color: white;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 90px; /* Position above sticky menu (sticky menu is ~60px tall) */
    z-index: 999998;
}

.appt-list-container {
    height: calc(100vh - 380px);
}

.appt-list-target {
    height: calc(100vh - 390px);
    overflow-y: auto;
}

.register-flow-button {
    display: none !important;
}

.sticky-menu-badge{
    position:absolute;
    right: 4px;
    width: 20px;
    height:20px;
    background-color: var(--danger);
    margin:0;   
    padding:0;
    text-align:center;
    vertical-align:middle;
    border-radius: 10px;
    font-size: 15px;
    z-index: 9999;
}

.referral-code-display-wrapper {
    .input-group {
        max-width: 300px; 
        max-height: 50px; 
        margin: 0 auto;

        .referral-code-copy-input,
        .referral-code-copy-button {
            max-height: 50px;
        }

        .referral-code-copy-input {
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .referral-code-copy-button {
            max-width: 100px;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }
    }
}

.referral-code-notification-section .card-header {
    user-select: none;
    transition: background-color 0.2s ease;
    position: relative;
}

.referral-code-notification-section .card-header:hover {
    background-color: rgba(0, 0, 0, 0.08) !important;
}

.referral-code-notification-section .card-header:active {
    background-color: rgba(0, 0, 0, 0.12) !important;
}

.referral-code-notification-section .card-header.collapsed .referral-code-hide-btn,
.referral-code-notification-section .card-header[aria-expanded="false"] .referral-code-hide-btn {
    display: none !important;
}

.referral-code-notification-section .card-header:not(.collapsed) .referral-code-invite-btn,
.referral-code-notification-section .card-header[aria-expanded="true"] .referral-code-invite-btn {
    display: none !important;
}

.referral-code-notification-section .card-header:not(.collapsed) .referral-code-hide-btn,
.referral-code-notification-section .card-header[aria-expanded="true"] .referral-code-hide-btn {
    display: inline-block !important;
}