.nice-select.form-select {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #5857573d !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #333 !important;
    height: auto !important;
    line-height: 1.5 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease-in-out !important;
    margin-bottom: 10px;
}

/* Hover & Focus Effects */
.nice-select.form-select:hover,
.nice-select.form-select.open {
    /* border-color: #4c26b4 !important; */
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.2) !important;
}

/* Selected item text */
.nice-select.form-select .current {
    color: #808080 !important;
}

/* Dropdown list styling */
.nice-select.form-select .list {
    width: 100% !important;
    background: #fff !important;
    border-radius: 8px !important;
    border: 1px solid #ccc !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    margin-top: 5px !important;
    z-index: 9999 !important;
}

/* Dropdown options */
.nice-select.form-select .option {
    padding: 10px 15px !important;
    font-size: 15px !important;
    color: #333 !important;
    transition: background 0.2s ease-in-out !important;
}

/* Hovered option */
.nice-select.form-select .option:hover {
    background: #4c26b4 !important;
    color: #fff !important;
}

.doctor-header:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Divider */
.doctor-header hr {
    border: none;
    border-top: 1px solid #eaeaea;
    margin: 10px 0;
}

/* Doctor Bio */
.doctor-details.drl h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.doctor-details.drl p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* Responsive Design */
@media (min-width: 768px) {
    .doctor-info {
        flex-direction: row;
        align-items: center;
    }

    .doctor-avatar {
        margin-right: 20px;
    }

    .doctor-details.docw {
        margin-top: 0;
    }
}

*/ .booking-container {
    max-width: 1200px;
    margin: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.doctor-header {
    background: linear-gradient(135deg, #453f85, #10c79f);

    color: white;
    padding: 20px 20px;
    border-radius: 20px;
    height: 250px;
}

.doctor-info {
    display: flex;
    align-items: center;
}

.doctor-avatar {
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid rgb(57 202 187);
}

.doctor-avatar img {
    width: 120px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;

}

.doctor-details h4 {
    margin: 0 0px 5px;
    font-weight: 600;
    color: #ffffff;
}

.doctor-details h2 {
    margin: 0 5px 5px;
    font-weight: 600;
    color: #ffffff;
}

.doctor-details p {
    margin: 10px;
    opacity: 0.9;
    color: #ffffff;
}

.docw {
    width: 30%;
    position: fixed;
}

/* .booking-content {
    display: flex;
    min-height: 500px;
} */

.date-section {
    flex: 0 0 300px;
    background: var(--light-gray);
    border-right: 1px solid var(--border);
    padding: 0px;
}

/* Appointment Summary Card */
.booking-summary {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    border-left: 5px solid #0db7af;
    transition: 0.3s ease-in-out;
    margin-bottom: 15px;
}

.booking-summary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.18);
}

/* Label / Header */
.booking-summary label {
    font-size: 18px;
    display: block;
    margin-bottom: 15px;
    color: #0db7af;
    text-transform: uppercase;
}

/* Summary Rows */
.booking-summary div {
    margin-bottom: 10px;
    font-size: 16px;
}

.booking-summary strong {
    color: #333;
    font-weight: 600;
}

.booking-summary span {
    color: #555;
}

/* Sticky summary on sidebar */
.sticky-summary {
    position: sticky;
    top: 20px;
    z-index: 10;
}


.date-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.date-item {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #39cabb52
}

.date-item:hover {
    background: #453f85;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.date-item.active {
    background: #39cabb;
    border-left: 4px solid #453f85;
    box-shadow: 0 2px 8px #1708b9;
}

.date-info {
    display: flex;
    flex-direction: column;
}

.date-day {
    font-weight: 600;
    color: #000000;
    font-size: 1rem;
}

.date-full {
    font-size: 0.85rem;
    color: #000000;
}

.slots-count {
    background: gray;
    color: #000000;
    ;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.time-period {
    margin-bottom: 25px;
}

.period-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #453f85;
    display: flex;
    align-items: center;
}

.period-title.night i {
    color: #b3beff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}
.period-title.day i {
    color: #ff9800;
    text-shadow: 0 0 6px rgba(255, 152, 0, 0.6);
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.time-slot {
    padding: 10px 12px;
    text-align: center;
    background: #beece7;
    border: 1px solid var(--border);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    margin: 5px;
    color: #000000
}

.time-slot:hover {
    /* border-color: var(--primary); */
    background: #453f85;
    color: #fff
}

.time-slot.selected {
    background: #39cabb;
    color: #fff;
    /* border-color: var(--primary); */
}

.doctor-details {
    position: relative;
    padding: 0px 0px 0px 0px !important;
}

#bio {
    margin: 0 !important;
}

.time-slot.disabled {
    background: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
    text-decoration: line-through;
}

.booking-summary {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
}

.summary-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

.summary-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-label {
    color: var(--gray);
}

.summary-value {
    font-weight: 500;
}

.btn-book {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    width: 100%;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn-book:hover {
    background: #0b5ed7;
}

.btn-book:disabled {
    background: #adb5bd;
    cursor: not-allowed;
}

.no-slots {
    text-align: center;
    padding: 20px;
    color: var(--gray);
    font-style: italic;
}

.drl {
    margin-left: 100px;
    border-left: 1px solid rgba(128, 128, 128, 0.438);
    padding-left: 40px;
    width: 70%;
}

@media (max-width: 768px) {
    /* .booking-content {
        flex-direction: column;
    } */

    .date-section {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

.bor {
    border: 1px solid #e5e7ec !important;
    padding: 0px !important;
    padding-left: 20px !important;
    width: 100% !important;
}

.nice-select .list {
    width: 100%;
}

.booking-container {
    margin: 5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 20px; */
}

a {
    display: inline-block;
    text-decoration: none;
}

.doctor-profile-card {
    /* border: 2px solid red; */
    background: white;
    width: 100%;
    max-width: 900px;
    height: 440px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
}

.card-content {
    /* border: 2px solid green; */
    display: flex;
    align-items: center;
    padding: 40px 0px 40px 40px;
    position: relative;
}

.left-section {
    flex: 1;
    z-index: 2;
}

.doctor-name {
    font-size: 32px;
    margin-bottom: 5px;
}

.doctor-name .first-name {
    color: #2dd4bf;
    font-weight: 600;
}

.doctor-name .last-name {
    color: #374151;
    font-weight: 400;
}

.specialty {
    color: #6b7280;
    font-size: 20px;
    margin-bottom: 25px;
    text-decoration: underline #2dd4bf 12%;
    text-underline-offset: 5px;
}


.qr-code {
    width: 100px;
    height: 100px;
    background: white;
    border: 3px solid #2dd4bf;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 5px;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.appointment-text {
    color: #2dd4bf;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 20px;
    color: white;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon a {
    padding: 10px;
    box-shadow: 1px 1px 11px 1px rgb(180, 180, 180);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.social-icon a img {
    width: 20px;
}

.right-section {
    position: relative;
    margin-left: -40px;
}

.doctor-image-container {
    position: relative;
    z-index: 1;
}

.doctor-svg-element-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    z-index: 2;
}

.doctor-image-container .doctor-dynamic-image {
    position: absolute;
    height: 274px !important;
    width: 274px;
    z-index: 40;
    top: 10.5%;
    left: 10.5%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}


.mobile-doctor-image-container {
    display: none;
}

.mobile-doctor-image-container {
    position: relative;
    z-index: 1;
}

.mobile-doctor-svg-element-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    z-index: 2;
}

.mobile-doctor-image-container .mobile-doctor-dynamic-image {
    position: absolute;
    height: 270px !important;
    width: 274px;
    z-index: 40;
    top: 10.5%;
    left: 21%;
    border-radius: 10%;
    object-fit: cover;
    object-position: center;
    /* border: 2px solid red; */
}

.card-footer {
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
    height: 10px;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    /* body {
        padding: 15px;
    } */


    .card-content .left-section {
        order: 1;
    }

    .card-content .right-section {
        order: 2;
    }

    .doctor-profile-card {
        height: auto;
        max-width: 100%;
    }

    .card-content {
        flex-direction: column;
        padding: 30px 20px;
    }

    .left-section {
        width: 100%;
        text-align: center;
        order: 2;
    }

    .right-section {
        margin-left: 0;
        margin-bottom: 30px;
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .doctor-name {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .specialty {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .divider {
        margin: 0 auto 20px;
    }

    .qr-code {
        margin: 0 auto 15px;
        width: 90px;
        height: 90px;
    }

    .appointment-text {
        font-size: 18px;
        margin-bottom: 15px;
    }



    .social-icons {
        justify-content: center;
        gap: 10px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .social-icon a {
        padding: 8px;
    }

    .social-icon a img {
        width: 18px;
    }

    .doctor-image-container {
        display: none;
    }

    .mobile-doctor-image-container {
        display: block;
    }

    .doctor-svg-element-img {
        height: 280px;
    }

    .doctor-image-container .doctor-dynamic-image {
        height: 220px !important;
        width: 220px;
    }


    .mobile-doctor-svg-element-img {
        height: 200px;
    }

    .mobile-doctor-image-container .mobile-doctor-dynamic-image {
        height: 127px !important;
        width: 130px;
    }
}

@media screen and (max-width: 480px) {

    .card-content .left-section {
        order: 1;
    }

    .card-content .right-section {
        order: 2;
    }

    .doctor-profile-card {
        border-radius: 15px;
    }

    .card-content {
        padding: 25px 15px 0px 0px;
        position: relative;
    }

    .doctor-name {
        font-size: 24px;
    }

    .specialty {
        font-size: 14px;
    }

    .qr-code {
        width: 80px;
        height: 80px;
    }

    .appointment-text {
        font-size: 16px;
    }

    .social-icons {
        gap: 8px;
        flex-wrap: wrap;
        /* border: 2px solid blue; */
        position: absolute;
        width: 100%;
        top: 89%;
        background-color: #14b8a6;
        padding: 10px 0px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon a {
        padding: 7px;
    }

    .social-icon a img {
        width: 16px;
    }

    .doctor-image-container {
        display: none;
    }

    .mobile-doctor-image-container {
        display: block;
    }

    .doctor-svg-element-img {
        height: 240px;
    }




    .mobile-doctor-svg-element-img {
        height: 200px;
    }

    .mobile-doctor-image-container .mobile-doctor-dynamic-image {
        height: 127px !important;
        width: 134px;
        top: 3%;
        left: 19.7%;
        border-radius: 20%;
    }
    .card-footer{
        display: none;
    }
}

@media screen and (max-width: 360px)  {

    .card-content .left-section {
        order: 1;
    }

    .card-content .right-section {
        order: 2;
    }


    /* .social-icons{
    border: 2px solid red;
} */

    .doctor-name {
        font-size: 22px;
    }

    .qr-code {
        width: 70px;
        height: 70px;
    }

    .appointment-text {
        font-size: 15px;
    }


    .doctor-image-container {
        display: none;
    }

    .mobile-doctor-image-container {
        display: block;
    }

    .doctor-svg-element-img {
        height: 200px;
        border-radius: 20px;
    }

    .doctor-image-container .doctor-dynamic-image {
        height: 132px !important;
        width: 136px;
        /* top: 3.5% !important; */
        /* left: 19.7%; */
    top: 1% !important;
        left: 19.7%;
        border: 2px solid red;
    }

    .mobile-doctor-svg-element-img {
        height: 200px;
        /* border-radius: 20%; */
    }


       .card-footer{
        display: none;
    }

    

}