/**
 * Booknetic Staff Styles
 *
 * Styles for Booknetic staff integration shortcodes
 * Dark theme matching single course page design
 *
 * @package Estanar
 */

/* ==========================================================================
   Staff Cards - Grid Layout (Dark Theme)
   ========================================================================== */

.estanar-staff-section {
    padding: 40px 16px;
    background-color: #100047;
}

.staff-section-header {
    text-align: center;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.staff-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #EFA621;
    background: rgba(239, 166, 33, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.staff-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.staff-section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Staff Card - Dark Theme */
.staff-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.staff-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.staff-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, rgba(34, 70, 255, 0.2) 0%, rgba(107, 33, 168, 0.2) 100%);
    overflow: hidden;
    position: relative;
}

.staff-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(16, 0, 71, 0.8), transparent);
}

.staff-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.staff-card:hover .staff-card-image img {
    transform: scale(1.08);
}

.staff-card-content {
    padding: 20px;
}

.staff-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.staff-profession {
    font-size: 14px;
    color: #EFA621;
    margin-bottom: 12px;
    font-weight: 500;
}

.staff-about {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Staff Social Links - Dark Theme */
.staff-card-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0 20px 20px;
}

.staff-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
}

.staff-social-link:hover {
    color: #ffffff;
    background: #2246FF;
    border-color: #2246FF;
    transform: translateY(-2px);
}

/* ==========================================================================
   Single Staff Page - Dark Theme
   ========================================================================== */

.consultant-page-wrapper {
    padding: 60px 20px;
    background-color: #100047;
    min-height: 60vh;
}

.estanar-staff-single {
    max-width: 900px;
    margin: 0 auto;
}

/* Staff Single Header */
.staff-single-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.staff-single-image {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(34, 70, 255, 0.2) 0%, rgba(107, 33, 168, 0.2) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.staff-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-single-image .trainer-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 70, 255, 0.3) 0%, rgba(107, 33, 168, 0.3) 100%);
}

.staff-single-image .trainer-placeholder svg {
    width: 60%;
    height: 60%;
    color: rgba(255, 255, 255, 0.5);
}

.staff-single-info {
    flex: 1;
}

.staff-single-name {
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.staff-single-profession {
    font-size: 18px;
    color: #EFA621;
    margin-bottom: 24px;
    font-weight: 500;
}

.staff-single-email,
.staff-single-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.staff-single-email i,
.staff-single-phone i {
    color: #2246FF;
    width: 20px;
}

.staff-single-email a,
.staff-single-phone a {
    color: #2246FF;
    transition: color 0.3s;
}

.staff-single-email a:hover,
.staff-single-phone a:hover {
    color: #EFA621;
}

.staff-single-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

/* About Section - Dark Theme */
.staff-single-about,
.staff-single-services,
.staff-single-schedule,
.staff-single-booking {
    margin-bottom: 40px;
}

.staff-single-about h2,
.staff-single-services h2,
.staff-single-schedule h2,
.staff-single-booking h2 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #EFA621;
    display: inline-block;
}

.staff-about-content {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Services Section - Full Width Purple Background */
.staff-single-services {
    background-color: #4E36C9;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 40px 16px;
    position: relative;
    width: 100vw;
}

.staff-single-services h2 {
    color: #ffffff;
    border-bottom-color: #EFA621;
}

/* Ensure services grid stays centered */
.staff-single-services .staff-services-grid {
    max-width: 900px;
    margin: 0 auto;
}

/* Services Grid - 2 columns for wider cards */
.staff-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 500px;
    margin: 0 auto;
}

/* Service Card - White Card Style */
.staff-service-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(100, 120, 200, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.staff-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(100, 120, 200, 0.3);
}

.staff-service-card .service-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #e8eaf6;
    border-radius: 8px;
    margin: 8px 8px 0 8px;
}

.staff-service-card .service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.staff-service-card:hover .service-card-image img {
    transform: scale(1.03);
}

.staff-service-card .service-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Cards without images get extra top padding */
.staff-service-card:not(:has(.service-card-image)) .service-card-content {
    padding-top: 24px;
}

/* Duration badge at top of content */
.staff-service-card .service-meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.staff-service-card .service-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 20px;
}

.staff-service-card .service-duration i {
    color: #4E36C9;
    font-size: 12px;
}

.staff-service-card .service-name {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.4;
}

.staff-service-card .service-price {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
}

/* Saudi Riyal currency symbol styling */
.staff-service-card .service-price .booknetic-price {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.staff-service-card .service-price .currency-symbol {
    font-family: 'gulf-currencies', serif;
    font-style: normal;
    font-weight: normal;
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* General Booknetic price styling with Saudi Riyal */
.booknetic-price {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    direction: ltr;
}

.booknetic-price .currency-symbol {
    font-family: 'gulf-currencies', serif;
    font-style: normal;
    font-weight: normal;
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.staff-service-card .service-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

/* Service Card Footer - Price and Button */
.staff-service-card .service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.staff-service-card .service-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #E8EEFF;
    color: #4B6BFB;
    border: none;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.staff-service-card .service-book-btn:hover {
    background: #D6DEFF;
    color: #3451DB;
    transform: none;
    box-shadow: none;
}

.staff-service-card .service-book-btn i {
    display: none;
}

/* Services Grid Responsive */
@media (min-width: 576px) {
    .staff-single-services {
        padding: 60px calc(50vw - 50% + 20px);
    }
}

@media (min-width: 768px) {
    .staff-services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
}

.staff-service-card .service-book-btn i {
    transition: transform 0.3s ease;
}

.staff-service-card:hover .service-book-btn i {
    transform: translateX(4px);
}

/* ==========================================================================
   Service Booking Modal with Custom Calendar
   ========================================================================== */

.estanar-booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.estanar-booking-modal.active {
    display: flex !important;
}

.booking-modal-content {
    background: #100047;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    max-width: 950px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.booking-modal-header {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.booking-modal-header .selected-service-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.booking-modal-header .selected-service-info img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #EFA621;
}

.booking-modal-header .selected-service-info .info h4 {
    margin: 0 0 4px 0;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
}

.booking-modal-header .selected-service-info .info span {
    color: #EFA621;
    font-size: 14px;
}

.booking-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 24px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s;
}

.booking-modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.booking-modal-body {
    padding: 16px;
}

/* Service Description Panel */
.service-description-panel {
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-description-panel h3 {
    font-size: 16px;
    font-weight: 600;
    color: #EFA621;
    margin-bottom: 12px;
}

.service-description-content {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Date & Time Layout */
.booking-datetime-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.time-slots-panel {
    flex: 1;
    min-width: 100%;
}

.calendar-panel {
    flex: 1.2;
    min-width: 100%;
}

.selected-date-display {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
}

.time-slots-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 40px 20px;
    font-size: 14px;
}

.time-slot {
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s;
}

.time-slot:hover {
    background: #EFA621;
    border-color: #EFA621;
    color: #100047;
}

.time-slot.selected {
    background: #EFA621;
    border-color: #EFA621;
    color: #100047;
    font-weight: 600;
}

/* Calendar Styles */
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.calendar-month-year {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.calendar-nav {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #EFA621;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.calendar-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #EFA621;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    padding: 8px;
    font-weight: 500;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #ffffff;
    transition: all 0.3s;
}

.calendar-day:hover:not(.disabled):not(.empty):not(.no-slots) {
    background: #EFA621;
    border-color: #EFA621;
    color: #100047;
}

.calendar-day.selected {
    background: #EFA621;
    border-color: #EFA621;
    color: #100047;
    font-weight: 600;
}

.calendar-day.today {
    border: 2px solid #2246FF;
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-day.empty {
    background: transparent;
    border-color: transparent;
    cursor: default;
}

.calendar-day.loading {
    opacity: 0.5;
    pointer-events: none;
}

.calendar-day.no-slots {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Booking Modal Footer */
.booking-modal-footer {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.confirm-booking-btn {
    width: 100%;
    padding: 16px;
    background: #EFA621;
    color: #100047;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.confirm-booking-btn:hover:not(:disabled) {
    background: #d99519;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 166, 33, 0.3);
}

.confirm-booking-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* RTL Support for Modal */
[dir="rtl"] .booking-modal-header .selected-service-info {
    flex-direction: row-reverse;
}

/* Responsive Modal */
@media (min-width: 576px) {
    .time-slots-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .booking-datetime-layout {
        flex-direction: row;
    }

    [dir="rtl"] .booking-datetime-layout {
        flex-direction: row-reverse;
    }

    .time-slots-panel {
        min-width: 250px;
    }

    .calendar-panel {
        min-width: 300px;
    }

    .booking-modal-content {
        max-height: 90vh;
    }

    .booking-modal-body {
        padding: 24px;
    }

    .booking-modal-header {
        padding: 24px;
    }

    .booking-modal-footer {
        padding: 24px;
    }
}

/* Schedule Section - Two Row Design */
.staff-single-schedule {
    background-color: #100047;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 40px 20px;
    width: 100vw;
}

.staff-single-schedule h2 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: none;
    display: block;
}

/* Schedule Rows Container */
.schedule-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px;
    max-width: 1100px;
    margin: 0 auto;
}

.schedule-days-row {
    margin-bottom: 12px;
}

.schedule-status-row {
    margin-bottom: 0;
}

/* Schedule Cards */
.schedule-card {
    background-color: #4E36C9;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.schedule-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.schedule-card span {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
}

/* Day Cards - Top Row */
.schedule-card.day-card {
    background-color: #4E36C9;
}

/* Status Cards - Bottom Row */
.schedule-card.status-card {
    background-color: #3d2a9e;
}

.schedule-card.status-card.available span {
    color: #ffffff;
}

.schedule-card.status-card.closed span {
    color: rgba(255, 255, 255, 0.7);
}

/* Keep time numbers in LTR direction for proper display in RTL */
.schedule-card.status-card.available span {
    direction: ltr;
    display: inline-block;
    unicode-bidi: embed;
}

/* Schedule Responsive */
@media (min-width: 576px) {
    .schedule-row {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px;
    }

    .schedule-card {
        padding: 12px 8px;
    }

    .schedule-card span {
        font-size: 12px;
    }
}

@media (min-width: 768px) {
    .staff-single-schedule {
        padding: 40px 20px;
    }
}

@media (min-width: 992px) {
    .schedule-row {
        grid-template-columns: repeat(7, 1fr) !important;
        gap: 16px;
    }

    .staff-single-schedule {
        padding: 60px calc(50vw - 50% + 20px);
    }

    .schedule-card {
        padding: 14px 12px;
    }

    .schedule-card span {
        font-size: 14px;
    }
}

/* Booking Panel */
.staff-single-booking .booking-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: 16px;
}

/* ==========================================================================
   Staff Carousel - Dark Theme
   ========================================================================== */

.estanar-staff-carousel-section {
    padding: 40px 16px;
    background-color: #100047;
}

.staff-carousel-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 48px;
}

.staff-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.staff-carousel {
    overflow: hidden;
}

.staff-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.staff-carousel-slide {
    flex: 0 0 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

.staff-carousel-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.staff-carousel-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.staff-carousel-card-link {
    display: block;
    text-decoration: none;
}

.staff-carousel-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, rgba(34, 70, 255, 0.2) 0%, rgba(107, 33, 168, 0.2) 100%);
    overflow: hidden;
    position: relative;
}

.staff-carousel-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(16, 0, 71, 0.9), transparent);
}

.staff-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.staff-carousel-card:hover .staff-carousel-image img {
    transform: scale(1.08);
}

.staff-carousel-content {
    padding: 20px;
}

.staff-carousel-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.staff-carousel-profession {
    font-size: 14px;
    color: #EFA621;
    margin-bottom: 12px;
    font-weight: 500;
}

.staff-carousel-about {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 16px;
}

.staff-carousel-social {
    display: flex;
    gap: 10px;
}

.staff-carousel-social .staff-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
}

.staff-carousel-social .staff-social-link:hover {
    color: #ffffff;
    background: #2246FF;
    border-color: #2246FF;
}

/* Carousel Navigation - Dark Theme */
.staff-carousel-nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}

.staff-carousel-dots {
    display: flex;
    gap: 10px;
    order: 2;
}

.carousel-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 6px;
    box-sizing: content-box;
}

.carousel-dot.active {
    background: #EFA621;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.staff-carousel-arrows {
    display: flex;
    gap: 12px;
    order: 1;
}

.carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: #2246FF;
    border-color: #2246FF;
    transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (min-width: 576px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .staff-carousel-slide {
        flex: 0 0 50% !important;
    }

    .staff-carousel-nav {
        flex-direction: row;
        gap: 0;
    }

    .staff-carousel-dots {
        order: 0;
    }

    .staff-carousel-arrows {
        order: 0;
    }

    .staff-card-content,
    .staff-carousel-content {
        padding: 24px;
    }

    .staff-card-social {
        padding: 0 24px 24px;
    }
}

@media (min-width: 768px) {
    .estanar-staff-section,
    .estanar-staff-carousel-section {
        padding: 60px 20px;
    }

    .estanar-staff-carousel-section {
        padding-bottom: 80px;
    }

    .staff-single-header {
        flex-direction: row;
        align-items: flex-start;
        text-align: start;
    }

    .staff-single-image {
        width: 250px;
        height: 250px;
    }

    .staff-single-name {
        font-size: 32px;
    }

    .staff-single-social {
        justify-content: flex-start;
    }

    .staff-single-email,
    .staff-single-phone {
        justify-content: flex-start;
    }

    .carousel-arrow {
        width: 50px;
        height: 50px;
    }

    .staff-section-header {
        margin-bottom: 48px;
    }

    .staff-section-title,
    .staff-carousel-title {
        font-size: 36px;
    }
}

@media (min-width: 992px) {
    .staff-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px;
    }

    .staff-carousel-slide {
        flex: 0 0 33.333%;
    }
}

/* ==========================================================================
   Staff Card - Course Card Style (White Cards)
   Similar design to course cards with Book Now button
   ========================================================================== */

/* Staff Card Item - Course Card Style */
.staff-card-item {
    background-color: var(--color-white, #ffffff);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(100, 120, 200, 0.15);
}

.staff-card-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(100, 120, 200, 0.3);
}

/* Only apply lift effect on grid cards, not carousel */
.staff-grid-cards .staff-card-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.staff-grid-cards .staff-card-item:hover {
    transform: translateY(-4px);
}

/* Staff Thumbnail - Course Card Style */
.staff-card-item .staff-card-thumbnail {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #e8eaf6;
    border-radius: var(--radius-md, 8px) var(--radius-md, 8px) 0 0;
    margin: 8px 8px 0 8px;
}

.staff-card-item .staff-card-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.staff-card-item .staff-card-thumbnail .staff-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md, 8px);
    transition: transform 0.3s ease;
}

.staff-card-item:hover .staff-card-thumbnail .staff-image {
    transform: scale(1.03);
}

/* Staff Placeholder - Default Avatar */
.staff-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 70, 255, 0.3) 0%, rgba(107, 33, 168, 0.3) 100%);
    border-radius: var(--radius-md, 8px);
}

.staff-placeholder svg {
    width: 50%;
    height: 50%;
    color: rgba(255, 255, 255, 0.5);
}

.staff-single-image .staff-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 70, 255, 0.3) 0%, rgba(107, 33, 168, 0.3) 100%);
    border-radius: var(--radius-lg, 12px);
}

.staff-single-image .staff-placeholder svg {
    width: 60%;
    height: 60%;
    color: rgba(255, 255, 255, 0.5);
}

/* Staff Content - Course Card Style */
.staff-card-item .staff-card-content {
    padding: var(--spacing-md, 16px) var(--spacing-md, 16px) var(--spacing-lg, 24px);
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Staff Info */
.staff-card-item .staff-card-info {
    margin-bottom: var(--spacing-md, 16px);
    flex: 1;
}

.staff-card-item .staff-card-name {
    font-size: var(--font-size-base, 16px);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--spacing-xs, 4px);
    min-height: 22px;
}

.staff-card-item .staff-card-name a {
    color: var(--color-text-dark, #1a1a2e);
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.staff-card-item .staff-card-name a:hover {
    color: var(--color-button-blue, #2246FF);
}

.staff-card-item .staff-card-profession {
    font-size: var(--font-size-sm, 14px);
    color: var(--color-text-gray, #6b7280);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Staff Footer with Book Now Button */
.staff-card-item .staff-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto;
}

.staff-card-item .staff-book-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    font-size: var(--font-size-sm, 14px);
    font-weight: 500;
    color: #4B6BFB;
    background-color: #E8EEFF;
    border: none;
    border-radius: 50px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.staff-card-item .staff-book-btn:hover {
    background-color: #D6DEFF;
    color: #3451DB;
}

/* ==========================================================================
   Staff Grid - Course Card Style Layout
   ========================================================================== */

.staff-grid.staff-grid-cards {
    display: grid;
    gap: var(--spacing-lg, 24px);
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   Staff Carousel - Course Card Style (New)
   ========================================================================== */

/* Carousel cards - no transforms on hover to prevent layout issues */
.staff-carousel-wrapper .staff-card-item {
    transform: none !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.staff-carousel-wrapper .staff-card-item:hover {
    transform: none !important;
}

.staff-carousel-wrapper .staff-card-item:hover .staff-card-thumbnail .staff-image {
    transform: none !important;
}

/* ==========================================================================
   Staff Card - Course Card Style Responsive
   ========================================================================== */

/* Default: 1 column on mobile, scales up */
.staff-grid.staff-grid-cards {
    grid-template-columns: 1fr !important;
}

.staff-card-item .staff-card-thumbnail {
    margin: 6px 6px 0 6px;
}

.staff-card-item .staff-card-content {
    padding: var(--spacing-sm, 12px) var(--spacing-sm, 12px) var(--spacing-md, 16px);
}

@media (min-width: 576px) {
    .staff-grid.staff-grid-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--spacing-md, 16px);
    }

    .staff-card-item .staff-card-thumbnail {
        margin: 8px 8px 0 8px;
    }

    .staff-card-item .staff-card-content {
        padding: var(--spacing-md, 16px) var(--spacing-md, 16px) var(--spacing-lg, 24px);
    }
}

@media (min-width: 992px) {
    .staff-grid.staff-grid-cards {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 1200px) {
    .staff-grid.staff-grid-cards {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: var(--spacing-lg, 24px);
    }
}

/* ==========================================================================
   Staff Card - RTL Support
   ========================================================================== */

html[dir="rtl"] .staff-card-item .staff-card-footer {
    flex-direction: row-reverse;
}

html[dir="rtl"] .staff-carousel.staff-carousel-cards .staff-carousel-track {
    direction: ltr;
}

html[dir="rtl"] .staff-carousel.staff-carousel-cards .staff-card-item {
    direction: rtl;
}

/* ==========================================================================
   Trainer Profile Page - Matching Expert Design
   ========================================================================== */

.trainer-profile-wrapper {
    padding: 40px 16px;
    background-color: #100047;
    min-height: 60vh;
}

.estanar-trainer-single {
    max-width: 900px;
    margin: 0 auto;
}

/* Trainer Bio in Header */
.staff-single-bio {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 500px;
}

/* Social Links for Trainer */
.staff-single-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.staff-single-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.staff-single-social .social-link:hover {
    color: #ffffff;
    background: #4E36C9;
    border-color: #4E36C9;
}

/* Specializations Section - Purple Background */
.trainer-specializations-section {
    background-color: #4E36C9;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 40px 20px;
    width: 100vw;
}

.trainer-specializations-section h2 {
    color: #ffffff;
    border-bottom-color: #EFA621;
}

.specializations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.specialization-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    cursor: default;
}

.specialization-card:hover {
    transform: none;
}

.specialization-card .service-card-content {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.specialization-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #E8EEFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialization-icon i {
    color: #4E36C9;
    font-size: 18px;
}

.specialization-card .service-name {
    margin: 0;
    font-size: 15px;
}

/* Qualifications Inline - Under About */
.trainer-qualifications-inline {
    margin-top: 0;
}

.trainer-qualifications-inline h2 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #EFA621;
    display: inline-block;
}

.qualifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.qualifications-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.qualifications-list li:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.qualifications-list li i {
    color: #EFA621;
    font-size: 16px;
    flex-shrink: 0;
}

.qualifications-list li span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .qualifications-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Trainer Profile Responsive */
@media (min-width: 768px) {
    .trainer-profile-wrapper {
        padding: 60px 20px;
    }

    .specializations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trainer-specializations-section {
        padding: 60px calc(50vw - 50% + 20px);
    }

    .trainer-qualifications-section {
        padding: 60px calc(50vw - 50% + 20px);
    }

    .qualifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* RTL Support for Trainer */
[dir="rtl"] .specialization-card .service-card-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .qualifications-list li {
    flex-direction: row-reverse;
}

/* ==========================================================================
   Booknetic Native Panel - Compact Styling
   Makes the native Booknetic booking widget smaller and more compact
   ========================================================================== */

/* Limit panel width and center it */
.booknetic_appointment {
    max-width: 700px !important;
    margin: 0 auto !important;
}

/* Compact calendar container */
.booknetic_appointment .booknetic_calendar {
    padding: 15px !important;
}

/* Smaller calendar header */
.booknetic_appointment .booknetic_calendar_header {
    padding: 10px 0 15px !important;
    margin-bottom: 10px !important;
}

.booknetic_appointment .booknetic_calendar_header .booknetic_calendar_month_name {
    font-size: 16px !important;
}

/* Compact calendar weekdays */
.booknetic_appointment .booknetic_calendar_weekdays span,
.booknetic_appointment .booknetic_calendar_weekdays_row span {
    font-size: 12px !important;
    padding: 6px 4px !important;
}

/* Smaller calendar days */
.booknetic_appointment .booknetic_calendar_days,
.booknetic_appointment .booknetic_calendar_days_row {
    gap: 4px !important;
}

.booknetic_appointment .booknetic_calendar_days > div,
.booknetic_appointment .booknetic_calendar_day,
.booknetic_appointment [class*="booknetic_calendar_day"] {
    min-width: 36px !important;
    max-width: 48px !important;
    height: 42px !important;
    min-height: 42px !important;
    font-size: 14px !important;
    padding: 8px 4px !important;
    border-radius: 8px !important;
}

/* Compact time slots */
.booknetic_appointment .booknetic_times,
.booknetic_appointment .booknetic_time_container {
    padding: 15px !important;
}

.booknetic_appointment .booknetic_time_element,
.booknetic_appointment .booknetic_time_slot {
    padding: 10px 14px !important;
    font-size: 14px !important;
    min-width: 70px !important;
    border-radius: 8px !important;
}

/* Compact time slots grid */
.booknetic_appointment .booknetic_times_container,
.booknetic_appointment .booknetic_time_slots_container {
    gap: 8px !important;
    max-height: 200px !important;
    overflow-y: auto !important;
}

/* Smaller navigation arrows */
.booknetic_appointment .booknetic_calendar_prev,
.booknetic_appointment .booknetic_calendar_next {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
}

/* Compact confirm button */
.booknetic_appointment .booknetic_confirm_booking_btn,
.booknetic_appointment .booknetic_next_step_btn,
.booknetic_appointment .booknetic_btn_primary {
    padding: 12px 24px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
    margin-top: 15px !important;
}

/* Reduce overall panel padding */
.booknetic_appointment .booknetic_step_content,
.booknetic_appointment .booknetic_step {
    padding: 15px !important;
}

/* Compact step header if visible */
.booknetic_appointment .booknetic_step_header {
    padding: 12px 15px !important;
    font-size: 15px !important;
}

/* Date display more compact */
.booknetic_appointment .booknetic_selected_date_display,
.booknetic_appointment .booknetic_date_header {
    font-size: 15px !important;
    padding: 10px !important;
    margin-bottom: 10px !important;
}

/* Mobile adjustments for compact panel */
@media (max-width: 576px) {
    .booknetic_appointment {
        max-width: 100% !important;
    }

    .booknetic_appointment .booknetic_calendar_days > div,
    .booknetic_appointment .booknetic_calendar_day,
    .booknetic_appointment [class*="booknetic_calendar_day"] {
        min-width: 32px !important;
        max-width: 40px !important;
        height: 38px !important;
        min-height: 38px !important;
        font-size: 13px !important;
    }

    .booknetic_appointment .booknetic_time_element,
    .booknetic_appointment .booknetic_time_slot {
        padding: 8px 10px !important;
        font-size: 13px !important;
        min-width: 60px !important;
    }
}
