/* Ported from resources/views/frontend/pages/doctors/profile.blade.php <style> */

        body,
        html {
            overflow-x: hidden;
            margin: 0 !important;
            padding: 0 !important;
        }

        .time-slots {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        @media (max-width: 768px) {
            .time-slots {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }
        }

        .time-slot {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 10px 6px;
            min-height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            cursor: pointer;
            background: #fff;
            font-size: 13px;
            pointer-events: auto;
            user-select: none;
            box-sizing: border-box;
        }

        .time-slot.active {
            background: #2f8d3a;
            color: #fff;
        }

        .d-none {
            display: none;
        }

        .view-more-btn {
            background: none;
            border: none;
            color: #198754;
            font-weight: 600;
            cursor: pointer;
        }

        .doctor-photo-box {
            width: 260px;
            height: 320px;
            border-radius: 20px;
            overflow: hidden;
        }

        .doctor-photo-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center;
        }

        .doctor-review-floating {
            position: fixed;
            right: 20px;
            bottom: 120px;
            z-index: 999;
        }

        .doctor-review-floating a {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #ed1c23;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 22px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
            transition: .3s ease;
        }

        .doctor-review-floating a:hover {
            transform: translateY(-3px);
            background: #c9161d;
            color: #fff;
        }

        .review-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, .65);
            z-index: 999999;
        }

        .review-modal-content {
            width: 550px;
            max-width: 95%;
            background: #fff;
            margin: 80px auto;
            padding: 30px;
            border-radius: 20px;
            position: relative;
            animation: modalFade .3s ease;
        }

        .review-card p {
            margin: 0;
            color: #555;
            line-height: 1.8;
            word-wrap: break-word;
            overflow-wrap: anywhere;
        }

        @keyframes modalFade {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .review-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 30px;
            cursor: pointer;
            color: #666;
        }

        .review-modal h3 {
            margin-bottom: 25px;
            font-size: 28px;
            font-weight: 700;
        }

        .form-group {
            margin-bottom: 18px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 10px;
        }

        .submit-review-btn {
            width: 100%;
            border: none;
            background: #479442;
            color: #fff;
            padding: 14px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
        }

        .submit-review-btn:hover {
            background: #3c8338;
        }

        .doctor-review-floating {
            position: fixed;
            right: 20px;
            bottom: 140px;
            z-index: 999;
        }

        .doctor-review-floating a {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #ed1c23;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 22px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
        }

        .user-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #479442;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 18px;
        }

        .sidebar-info-item {
            display: flex;
            align-items: flex-start;
        }

        .sidebar-info-item .icon {
            width: 48px;
            height: 48px;
            min-width: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f4f8f7;
            border-radius: 50%;
        }

        .sidebar-info-item .details {
            flex: 1;
        }

        .sidebar-info-item .details span {
            display: block;
        }

        .sidebar-info-item .details h5 {
            word-break: break-word;
        }

      
        .btn-view-profile:hover {
            background: #2f8d3a;
            color: #fff;
        }

        .hero-subtitle {
            color: #fff !important;
            text-align: center !important;
        }

        .meta-box h6 {
            font-size: 15px;
            font-weight: 600;
            color: #555;
            margin-bottom: 10px;
        }

        .details .qualification-list {
            list-style: disc;
            margin: 0;
            padding-left: 18px;
        }

        .details .qualification-list li {
            font-size: 13px;
            /* h5 ke same */
            font-weight: 700;
            /* h5 ke same */
            color: #111;
            /* baki text jaisa */
            line-height: 1.5;
            margin-bottom: 4px;
        }

        .details .qualification-list li::marker {
            color: #111;
            font-size: 12px;
        }

        .doctor-details-section {
            margin-top: 40px;
        }

        .detail-block {
            padding: 25px 0;
            border-top: 1px solid #e8ecef;
        }

        .detail-block:first-child {
            border-top: none;
            padding-top: 0;
        }

        .detail-block h4 {
            font-size: 24px;
            color: #198754;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .detail-content p {
            margin-bottom: 12px;
            line-height: 1.9;
            color: #555;
        }

        .detail-content ul {
            padding-left: 22px;
            margin-bottom: 0;
        }

        .detail-content li {
            margin-bottom: 8px;
            line-height: 1.8;
        }

        .doctor-accordion {
            margin-top: 45px;
        }

        .doctor-accordion .accordion-item {
            border: none;
            border-bottom: 1px solid #f0f2f5;
        }

        .accordion-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            padding: 18px 0;


            transition: .3s;
        }

        .accordion-left {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Icon */
        .accordion-left i {
            color: #198754;
            width: 18px;
            font-size: 18px;
        }

        /* About heading jaisa */
        .accordion-left span {
            font-size: 20px;
            font-weight: 700;
            color: #111;
            line-height: 1.2;
            font-family: inherit;
        }

        /* Arrow */
        .arrow {
            color: #198754;
            font-size: 18px;
            transition: .3s ease;
        }

        .accordion-title.active .arrow {
            transform: rotate(180deg);
        }

        .accordion-title:hover .accordion-left span {
            color: #198754;
        }

        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height .35s ease, padding .35s ease;
            padding: 0 0 0 34px;
            line-height: 1.8;
            color: #555;
            padding-left: 30px;


        }

        .accordion-content.open {
            padding-bottom: 20px;
        }

        .accordion-content p {
            margin-bottom: 12px;
        }

        .accordion-content ul {
            padding-left: 20px;
        }

        .accordion-content li {
            margin-bottom: 8px;
        }

        /*==============================
            Accordion Content
        ===============================*/

        .accordion-content {
            color: #4b5563;
            font-size: 16px;
            line-height: 1.9;
        }

        /* Paragraphs */

        .accordion-content p {
            margin: 0 0 12px;
        }

        /* Bold Labels (Name:, Course:, Duration:) */

        .accordion-content strong {
            display: inline;
            color: #111827;
            font-weight: 700;
            font-size: 16px;
            padding: 0;
            border: none;
        }

        /* Headings from Editor */

        .accordion-content h1,
        .accordion-content h2,
        .accordion-content h3,
        .accordion-content h4,
        .accordion-content h5,
        .accordion-content h6 {
            font-size: 20px;
            font-weight: 700;
            color: #111827;
            margin: 20px 0 12px;
            line-height: 1.4;
        }

        /*==============================
        Lists
        ===============================*/

        .accordion-content ul {
            list-style: none;
            padding: 0;
            margin: 12px 0 22px;
        }

        .accordion-content ul li {
            position: relative;
            padding-left: 28px;
            color: #4b5563;
            line-height: 1.9;
            margin-bottom: 14px;
        }

        .accordion-content ul li::before {

            content: "✓";

            position: absolute;

            left: 0;
            top: 1px;

            color: #198754;

            font-size: 15px;

            font-weight: 700;
        }

        /*==============================
            Links
        ===============================*/

        .accordion-content a {
            color: #198754;
            text-decoration: none;
        }

        .accordion-content a:hover {
            text-decoration: underline;
        }

        /*==============================
            Tables (if editor inserts)
        ===============================*/

        .accordion-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 18px 0;
        }

        .accordion-content table td,
        .accordion-content table th {
            border: 1px solid #ececec;
            padding: 10px 14px;
        }

        .accordion-content table th {
            background: #f8faf9;
            color: #111827;
            font-weight: 600;
        }

       
        .accordion-content img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 15px 0;
        }

        .tab-content h2 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 18px;
        }

      

        .meta-info-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
            margin-top: 40px;
        }

        .meta-box {
            background: #fff;
            border: 1px solid #e8edf3;
            border-radius: 18px;
            padding: 28px;
            box-shadow: 0 8px 25px rgba(15, 23, 42, .05);
            transition: .35s ease;
            min-height: 170px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        .meta-box:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
            border-color: #dbe6ee;
        }

       
        .meta-box h6 {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 0 0 20px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1.3px;
            text-transform: uppercase;
            color: #6b7280;
        }

        .meta-box h6 i {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            transition: .3s;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #eaf8f1;
            color: #198754;
            box-shadow: 0 2px 8px rgba(25, 135, 84, .12);
        }

        .meta-box:hover h6 i {
            background: #198754;
            color: #fff;
        }

        /* OPD */

        .opd-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 18px;
            margin-bottom: 12px;
        }

        .opd-row:last-child {
            margin-bottom: 0;
        }

        .extra-opd {
            display: none;
        }



        .opd-day {
            width: 95px;
            font-size: 15px;
            font-weight: 700;
            color: #198754;
            white-space: nowrap;
        }

        .opd-time {
            font-size: 13px;
            font-weight: 500;
            color: #4b5563;
            white-space: nowrap;
        }



        .divider {
            color: #d1d5db;
            margin: 0 5px;
        }

      
        .meta-box.fee {
            justify-content: flex-start;
        }

        .fee-price {
            font-size: 36px;
            font-weight: 700;
            color: #198754;
            line-height: 1;
        }

        .meta-box.fee small {
            font-size: 13px;
            color: #6b7280;
        }

      

        .meta-box.hospital p {
            margin: 0;
            color: #111827;
            font-size: 17px;
            line-height: 1.5;
            font-weight: 600;
        }

       
        .meta-box p {
            margin: 0;
            color: #374151;
            font-size: 16px;
            line-height: 1.7;
        }

       

        @media(max-width:991px) {

            .meta-info-row {
                grid-template-columns: 1fr;
                gap: 18px;
            }

            .meta-box {
                min-height: auto;
                padding: 24px;
            }

            .fee-price {
                font-size: 34px;
            }

            .opd-row {
                font-size: 14px;
            }

        }

        /* Related Card */
    .related-card{
        background: #fff;
        border: 1px solid #e8e8e8;
        border-radius: 24px;
        padding: 24px 20px;
        text-align: center;
        transition: all .3s ease;
    }

    .related-card:hover{
        border-color: #22a447;
        box-shadow: 0 10px 25px rgba(34,164,71,.12);
        transform: translateY(-4px);
    }

    /* Doctor Image */
    .related-card img{
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 14px;
    }

    /* Doctor Name */
    .related-card h6,
    .related-card .doctor-name{
        display: -webkit-box;
        display: flex;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;

        align-items: center;
        justify-content: center;
        text-align: center;

        font-size: 18px;
        font-weight: 700;
        line-height: 1.3;
        min-height: 58px;
        margin: 0 0 10px;
    }

    /* Department */
    .related-card .department,
    .related-card p:first-of-type{
        color: #179347;
        font-weight: 600;
        margin-bottom: 8px;
    }

    /* Experience */
    .related-card p:last-of-type{
        color: #666;
        margin-bottom: 18px;
    }

    /* Button */
    .btn-view-profile{
        display: inline-block;
        padding: 10px 24px;
        border: 1px solid #179347;
        border-radius: 10px;
        color: #179347;
        font-weight: 600;
        transition: .3s;
    }

    .btn-view-profile:hover{
        background: #179347;
        color: #fff;
    }

    .related-card p{
        margin-bottom: 8px;
    }
    
     /* =========================================
       AREAS OF EXPERTISE
    ========================================= */
    
    .expertise-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 45px;
        row-gap: 14px;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    /* Expertise Items */
    
    .expertise-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    
        width: 100%;
        margin: 0;
        padding: 0;
    
        color: #333 !important;
        font-family: inherit;
        font-size: 12 !important;
        font-weight: 400 !important;
        line-height: 1.5 !important;
    }
    
    /* Tick */
    
    .expertise-item svg {
        flex: 0 0 14px;
        width: 14px;
        height: 14px;
    
        margin-top: 5px;
    
        stroke: #333 !important;
        color: #333 !important;
    }
    
    /* =========================================
       SECTION HEADINGS FROM EDITOR
    ========================================= */
    
    .expertise-section-heading {
        grid-column: 1 / -1;
    
        width: 100%;
        margin: 12px 0 4px;
        padding: 0;
    
        color: #111 !important;
        font-family: inherit;
        font-size: 17px !important;
        font-weight: 700 !important;
        line-height: 1.4 !important;
    }
    
    /* First heading */
    
    .expertise-grid .expertise-section-heading:first-child {
        margin-top: 0;
    }
    
    /* =========================================
       READ MORE / READ LESS
    ========================================= */
    
    .expertise-extra {
        display: none;
    }
    
    .expertise-toggle-wrapper {
        width: 100%;
        margin-top: 18px;
        text-align: center;
    }
    
    .expertise-toggle {
        display: inline-block;
    
        padding: 7px 14px;
        margin: 0;
    
        background: #fff !important;
        border: 1px solid #198754 !important;
        border-radius: 4px;
    
        color: #198754 !important;
        font-family: inherit;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
    
        cursor: pointer;
        outline: none !important;
        box-shadow: none !important;
        text-decoration: none;
    
        transition: all 0.25s ease;
    }
    
    .expertise-toggle:hover {
        background: #198754 !important;
        border-color: #198754 !important;
        color: #fff !important;
    }
    
    /* =========================================
       MOBILE
    ========================================= */
    
    @media (max-width: 767px) {
    
        .expertise-grid {
            grid-template-columns: 1fr;
            column-gap: 0;
            row-gap: 12px;
        }
    
        .expertise-item {
            gap: 9px;
            font-size: 15px !important;
            font-weight: 400 !important;
            line-height: 1.5 !important;
        }
    
        .expertise-item svg {
            flex: 0 0 13px;
            width: 13px;
            height: 13px;
            margin-top: 5px;
    
            stroke: #333 !important;
            color: #333 !important;
        }
    
        .expertise-section-heading {
            grid-column: 1;
    
            font-size: 16px !important;
            font-weight: 700 !important;
    
            margin-top: 10px;
            margin-bottom: 4px;
        }
    
        .expertise-toggle-wrapper {
            margin-top: 16px;
        }
    
        .expertise-toggle {
            font-size: 13px !important;
            padding: 6px 13px;
        }
    }
