.btn-add {
    background: #204066;
    padding: 3px 6px !important;
    font-size: 12px;
    border-radius: 13px;
    align-items: center;
    display: flex;
    color: #fff !important;
}

canvas{
    max-width: 100%;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background-color: var(--background-color) !important;
}

.cursor-pointer {
    cursor: pointer;
}

.swal2-confirm {
    background-color: #006400 !important;
}

.input-group .eye-icon {
    position: absolute;
    right: 15px;
    top: 75%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 12px;
}

.action-btn {
    padding: 2px !important;
    border-radius: 6px !important;
    width: 25px !important;
}

.form-container {
    width: 100%;
    max-width: 600px;
    background: var(--background-color);
    padding: 2rem;
    border-radius: 10px;

    color: var(--text-color);
}

.form-step {
    display: none;
}

.form-step {
    width: 100%;
}

.form-step.active {
    display: block;
}

h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-btn {
    background: var(--button-bg);
    color: var(--text-color-white);
    border: none;
    padding: 0.4rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
}

.option-btn:hover {
    background: var(--button-hover-bg);
    color: var(--text-color-white);
}

.option-btn.selected {
    background: var(--button-hover-bg);
    color: var(--text-color-white);
    font-weight: bold;
}

.next-btn,
.submit-btn {
    background: var(--button-bg);
    color: var(--text-color-white);
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.next-btn:hover,
.submit-btn:hover {
    background: var(--button-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

.input-field {
    width: 100%;
    padding: 0.8rem;
    margin-top: 1rem;
    border-radius: 5px;
    border: 1px solid rgb(165, 165, 165) !important;
}

.hidden {
    display: none;
}

.prev-btn {
    color: var(--text-color-black);
    background: var(--button-bg);
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.prev-btn:hover {
    background: var(--button-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

.homepage-btn {
    background: var(--button-hover-bg);
    color: var(--text-color-white);

    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--background-color);
    /* padding: 2rem; */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 90%;
    max-width: 800px;
    color: #333;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}

#appointmentModal .modal-content {
    width: 80vw;
    height: 90vh;
    max-height: 90vh;
    max-width: 80vw;
}

.close-btn {
    position: absolute;
    top: 7px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    z-index: 101;
}

.close-btn:hover {
    color: #f05454;
}


.nav-hamburger span {
    margin: 5px;
    background-color: black;
    width: 30px;
    height: 2px;
    display: block;
}

.nav-hamburger {
    display: none;
}

@media (max-width: 991px) {
    .nav-hamburger {
        display: block;
    }

    .header-btn {
        position: absolute;
        top: 100%;
        padding: 10px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        background: white;
        width: 100%;
        left: -100%;
        align-items: flex-end;
    }

    .header-btn.active {
        left: 0;
    }

}

.book-btn {
    background-color: #CA9B2B;
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 20px;
    transition: all .2s linear;
}

.book-btn:hover {
    background-color: #ffc107;
}

.btn-golden {
    background-color: #CA9B2B;
    color: white;
}

.hover-golden:hover {
    background-color: #CA9B2B;
    color: white;
}

.hover-white:hover {
    color: #CA9B2B;
    background-color: white;
}

.btn-white-outlined {
    border: 1px solid #fff;
    color: white;
}

#appointmentForm h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: left;
}

#appointmentForm p {
    font-size: 15px;
}

.modal-content img {
    width: 100%;
    height: auto;
}


.doctor-card {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: #fff;
    border: 2px solid transparent;
    position: relative;
}

.doctor-card .aval {
    position: absolute;
    z-index: 11;
    top: 0;
    right: 0;
    padding: 5px 10px;
    color: white;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
}

.doctor-card:hover {
    border: 2px solid #CA9B2B;
}

.doctor-img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.doctor-card h5 {
    margin-bottom: 5px;
}

.rq-modal .modal-content {
    width: 600px;
}

.doc-checklist input[type="radio"] {
    display: none;
}

.doc-checklist input[type="radio"]:checked+label {
    border: 2px solid #CA9B2B;
}

.ap-select option {
    color: black;
}

.bapop-doclist {
    height: 100%;
    /* Ensure container takes full height of popup */
}

#doctor-list {
    max-height: 100%;
    overflow-y: auto;
}

/* Optional smooth scroll on list */
#doctor-list::-webkit-scrollbar {
    width: 6px;
}

#doctor-list::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

/* Fix sticky stacking issue (optional) */
.sticky-top,
.sticky-bottom {
    z-index: 100;
}

.form-step[data-step="4"] {
    height: 89vh;
}

#appointmentModal table td {
    padding: 5px;

}
.select2-container--default .select2-selection--single .select2-selection__arrow{
        top: auto !important;
        bottom: 0;
    }


.card-skeleton {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.skeleton {
    background: linear-gradient(90deg, #eeeeee 25%, #dddddd 50%, #eeeeee 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 5px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.skeleton-line {
    height: 15px;
    margin: 10px 0;
}

.skeleton-badge {
    width: 100px;
    height: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 5px;
}

#resendBookingOtpBtn.disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    #appointmentModal .modal-content{
        height: auto;
    }

    #appointmentModal .left-lg-img{
        padding: 50px 20px;
    }
}
