/* ============================================
   EXPERTS SYSTEM STYLES
   ============================================ */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   EXPERT CARD
   ============================================ */
.expert-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    background: white;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.expert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.expert-card-image {
    margin-bottom: 16px;
}

.expert-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
}

.expert-card-content {
    width: 100%;
}

.expert-card-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1b1b18;
}

.expert-card-headline {
    font-size: 14px;
    color: #666;
    margin: 8px 0;
}

.expert-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 0;
}

.stars {
    display: inline-flex;
    gap: 2px;
}

.star {
    color: #ddd;
    font-size: 16px;
    transition: color 0.2s;
}

.star.filled {
    color: #ffa500;
}

.rating-value {
    font-weight: 600;
    color: #1b1b18;
}

.expert-card-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 16px 0;
}

.skill-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 16px;
    font-size: 12px;
    color: #666;
}

.skill-tag-more {
    background: #e0e0e0;
    font-weight: 600;
}

.expert-card-link {
    display: inline-block;
    margin-top: 16px;
    text-decoration: none;
}

/* ============================================
   EXPERTS PAGE
   ============================================ */
.experts-page {
    padding: 40px 0;
}

.experts-header {
    text-align: center;
    margin-bottom: 40px;
}

.experts-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1b1b18;
}

.experts-subtitle {
    font-size: 18px;
    color: #666;
}

.experts-filters {
    margin-bottom: 32px;
}

.search-container {
    position: relative;
    margin-bottom: 24px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.filters-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1b1b18;
}

.skills-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-filter {
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.skill-filter:hover {
    border-color: #007bff;
}

.skill-filter:checked {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.sort-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.loading-state {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.no-experts {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-link {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: #1b1b18;
    transition: all 0.2s;
}

.pagination-link:hover {
    background: #f0f0f0;
}

.pagination-link.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* ============================================
   EXPERT PROFILE PAGE
   ============================================ */
.expert-profile-page {
    padding: 86px 0 0;
}

/* New layout: avatar left, content right (per mockup) */
.profile-detail-layout {
    display: flex;
    gap: 0;
    min-height: auto;
    max-width: 100%;
    margin: 0 auto;
}

.profile-avatar-column {
    flex: 0 0 100%;
    min-width: 100%;
    width: calc(100% + 50px);
    transform: translate(-25px, -1px);
    height: auto;
    border-radius: 8px;
    box-sizing: border-box;
    background-color: #171717;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #a3a3a3;
    aspect-ratio: 1;
}

/*
 * Default: full slot + cover. JS adds --natural only when both sides are at most natural-max (small originals).
 * Large images use cover so the column is filled; contain would limit by the narrower slot side (e.g. 480px for a square).
 */
.profile-avatar-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile-avatar-image.profile-avatar-image--natural {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.profile-content-column {
    flex: 1;
    min-width: 0;
}

.profile-content-card-wrap {
    position: relative;
    isolation: isolate;
    border-radius: 8px;
    border: 1px solid #a3a3a3;
    padding: 0 24px 24px 24px;
}

.profile-content-card-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #ffffffa3;
    backdrop-filter: blur(24px);
    pointer-events: none;
    z-index: 0;
}

.profile-content-card-wrap > * {
    position: relative;
    z-index: 1;
}

.profile-content-card {
    --profile-tabs-row-height: 44px;
    /*max-height: calc(100vh + 50px);*/
    /*max-height: calc(100dvh + 50px);*/
    /*min-height: 480px;*/
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}
.profile-content-aside-mobile {
    display: none;
}
.profile-sticky-header {
    flex-shrink: 0;
    padding-bottom: 0;
}

.profile-header-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.profile-scrollable-body {
    min-height: 0;
    overflow-y: auto;
    padding-top: 32px;
    height: calc(100dvh - var(--site-header-height) - var(--profile-tabs-row-height) - 16px);
    /*overscroll-behavior-y: contain;*/
}

.profile-breadcrumbs {
    font-size: 12px;
    color: #00000052;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    background-color: #ffffffa3;
    backdrop-filter: blur(40px);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    gap: 4px;
    margin: 0 0 8px 0;
}

.profile-breadcrumbs a {
    color: #111827;
    text-decoration: none;
}

.profile-breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #4b5563;
}

.breadcrumb-current {
    color: #00000052;
    font-weight: 600;
}

.profile-header-row .profile-name-large {
    position: relative;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 500;
    color: #111827;
    margin-bottom: 8px;
    margin-top: 24px;
    letter-spacing: -0.02em;
}

.profile-job-title {
    font-size: 18px;
    font-weight: 500;
    color: #4b5563;
    margin-top: 0;
    letter-spacing: -2%;
    max-width: 800px;
    line-height: 1.29;
}

.profile-header-row .profile-actions {
    display: none;
}

.profile-header-row .profile-actions > * {
    flex: 0 0 200px;
}

.profile-actions-sm {
    display: block;
    margin-top: 12px;
}
.profile-actions-md {
    display: none;
    margin-top: 18px;
}
.profile-actions-md > *,
.profile-actions-sm > * {
    width: 100%;
}
.profile-actions-md > *:not(:first-child),
.profile-actions-sm > *:not(:first-child) {
    margin-top: 8px;
}
.btn-subscribe {
    box-sizing: border-box;
    display: inline-flex;
    height: 48px;
    padding: 8px 24px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 2px;
    border: 1px solid #71717a;
    background-color: #fafafa;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #111827;
    text-transform: uppercase;
    cursor: pointer;
    transition-property:
        color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform,
        filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.btn-subscribe:hover {
    background-color: #f3f4f6;
}

.btn-book-1-1 {
    box-sizing: border-box;
    display: inline-flex;
    height: 48px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 2px;
    border: 1px solid #71717a;
    background-color: #111827;
    padding: 8px 24px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    cursor: pointer;
    transition-property:
        color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform,
        filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

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

/* Fixed bottom bar (AI input) */
.profile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e0e0e0;
}

.ai-input-bar {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.profile-bottom-bar .ai-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

.profile-bottom-bar .ai-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1b1b18;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-bottom-bar .ai-send-btn:hover {
    background: #333;
}

/* Speaker profile: fallback to simpler layout */
.speaker-profile-page .profile-detail-layout {
    flex-direction: column;
}

.speaker-profile-page .profile-avatar-column {
    flex: none;
    max-height: 774px;
    border-radius: 12px;
}

.speaker-profile-page .profile-content-card {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
}

.speaker-profile-page .profile-bottom-bar {
    display: none;
}

.expert-profile {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.profile-sidebar {
    position: sticky;
    top: 20px;
    width: 300px;
    padding: 24px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    flex-shrink: 0;
}

.profile-photo-container {
    text-align: center;
    margin-bottom: 20px;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    color: #1b1b18;
}

.profile-headline {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 12px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    margin-bottom: 16px;
}

.status-practitioner {
    background: #e3f2fd;
    color: #1976d2;
}

.status-theorist {
    background: #f3e5f5;
    color: #7b1fa2;
}

.profile-rating {
    text-align: center;
    margin-bottom: 24px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.rating-count {
    font-size: 14px;
    color: #666;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-group {
    display: flex;
    gap: 8px;
}

.linkedin-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.linkedin-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0077b5;
    text-decoration: none;
    font-weight: 600;
}

.linkedin-link:hover {
    text-decoration: underline;
}

.linkedin-locked {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 14px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.profile-content {
    flex: 1;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 32px;
}
.profile-tabs-container {
    margin-top: 16px;
    margin-bottom: 0;
    height: var(--profile-tabs-row-height);
}
.profile-sticky-header .profile-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-top: 16px;
    margin-bottom: 0;
    gap: 8px;
}

/* Below experts.css (min-width: 720px); toggled from resources/js/expert-profile.js */
@media (max-width: 719px) {
    .profile-tabs.profile-tabs--fixed {
        position: fixed;
        top: var(--site-header-height);
        left: var(--profile-tabs-fixed-left, 0);
        width: var(--profile-tabs-fixed-width, 100%);
        z-index: 100;
        margin-top: 0;
        box-sizing: border-box;
        background: #fdfdfe;
        height: var(--profile-tabs-row-height);
    }

    .profile-tabs-container:has(.profile-tabs--fixed) {
        min-height: var(--profile-tabs-row-height);
    }

    /* Toggled from resources/js/expert-profile.js (initProfileMobileScrollLock).
       Locks the document scroll while the inner .profile-scrollable-body
       is being driven by wheel/touch deltas. The class is removed once the
       inner area reaches its scroll boundary so the page can resume scrolling
       (e.g. to expose the site footer). */
    body.profile-scroll-locked {
        overflow: hidden;
        touch-action: none;
        overscroll-behavior: contain;
    }
}

.profile-tabs .tab {
    padding: 10px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    transition: color 0.2s;
    border-bottom: 4px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-tabs .tab:hover {
    color: #111827;
}

.profile-tabs .tab.active {
    color: #111827;
    border-bottom-color: #111827;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.bio-section h2,
.skills-section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -2%;
    color: #111827;
}

.bio-text {
    font-size: 14px;
    line-height: 1.56;
    color: #111827;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag-large {
    display: inline-block;
    padding: 2px 4px;
    background: #00000014;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.style-section {
    max-width: 804px;
}

.skills-section,
.bio-section,
.accomplishments-section,
.education-section,
.style-section {
    margin-bottom: 24px;
}

.accomplishments-section h2,
.education-section h2,
.style-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #111827;
    word-break: break-word;
}

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

.accomplishment-item {
    padding: 4px 0;
    color: #111827;
    font-size: 18px;
}

.accomplishment-item strong {
    letter-spacing: -2%;
    font-size: 20px;
}

.accomplishment-item:last-child {
    border-bottom: none;
}

.accomplishment-description {
    margin: 6px 0 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.education-item + .education-item {
    margin-top: 16px;
}

.education-institution {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -2%;
    color: #111827;
}

.education-qualification,
.education-specialty {
    font-size: 14px;
    color: #111827;
    margin-top: 4px;
}

.education-period {
    font-size: 16px;
    color: #111827;
    margin-top: 6px;
}

.education-description {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
}

.style-ranges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.style-range-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.style-label-left {
    flex: 0 0 120px;
    color: #666;
}

.style-value {
    font-weight: 600;
    color: #1b1b18;
    min-width: 40px;
}

.style-label-right {
    color: #666;
}

input[type="range"].style-range-readonly {
    cursor: default;
    pointer-events: none;
}

input[type="range"].style-range-readonly::-webkit-slider-thumb {
    -webkit-appearance: none;

    width: 24px;
    height: 24px;

    background: #374151;
    border-radius: 4px;
    border: none;

    cursor: default;
}

input[type="range"].style-range-readonly::-moz-range-thumb {
    width: 24px;
    height: 24px;

    background: #374151;
    border-radius: 4px;
    border: none;

    cursor: default;
}

.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.session-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;
}

.session-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #1b1b18;
}

.session-description {
    color: #666;
    margin-bottom: 16px;
}

.session-details {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    align-items: center;
}

.session-duration {
    color: #666;
}

.session-price {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: white;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.review-author {
    display: flex;
    gap: 12px;
    align-items: center;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.review-date {
    font-size: 14px;
    color: #666;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-content {
    color: #333;
    line-height: 1.6;
}

.review-session {
    margin-top: 12px;
}

.session-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #e3f2fd;
    border-radius: 4px;
    font-size: 12px;
    color: #1976d2;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-preview {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 24px;
}

.article-preview:last-child {
    border-bottom: none;
}

.article-preview h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #1b1b18;
}

.article-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.article-excerpt {
    color: #333;
    line-height: 1.6;
    margin-bottom: 12px;
}

.article-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.article-link:hover {
    text-decoration: underline;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.24);
}

.modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    padding: 32px;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1b1b18;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #1b1b18;
}

.modal-body {
    margin-bottom: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 10;
}

/* ============================================
   BOOKING MODAL
   ============================================ */
.booking-step {
    display: none;
}

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

/* Booking modal UX: show all sections immediately (Variant A). */
#booking-modal .booking-step {
    display: block;
}

.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.session-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.session-option:hover {
    border-color: #007bff;
    background: #f0f7ff;
}

.session-option.selected {
    border-color: #007bff;
    background: #e3f2fd;
}

.session-option h4 {
    margin-bottom: 8px;
    color: #1b1b18;
}

.session-option-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 14px;
    color: #666;
}

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

.calendar-day {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-day.available:hover {
    border-color: #007bff;
    background: #f0f7ff;
}

.calendar-day.selected {
    border-color: #007bff;
    background: #007bff;
    color: white;
}

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

/* Availability columns: dates horizontally scrollable, slots vertical. */
.availability-columns {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.availability-date-column {
    flex: 0 0 190px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px;
    background: #fafafa;
}

.availability-date-header {
    font-weight: 700;
    color: #1b1b18;
    font-size: 12px;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

.availability-slot-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.availability-slot-btn {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    justify-content: center;
    font-variant-numeric: tabular-nums;
    white-space: nowrap !important;
    word-break: keep-all;
    overflow-wrap: normal;
}

.availability-slot-btn--selected {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    border-width: 2px;
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.25);
}

.booking-tz-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin: 4px 0 10px 0;
    font-size: 12px;
    color: #666;
}

.booking-tz-label {
    font-weight: 600;
}

.booking-tz-value {
    font-weight: 600;
    color: #1b1b18;
    font-variant-numeric: tabular-nums;
}

.time-slot {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.time-slot:hover {
    border-color: #007bff;
    background: #f0f7ff;
}

.time-slot.selected {
    border-color: #007bff;
    background: #007bff;
    color: white;
}

.booking-summary {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
}

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

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-label {
    font-weight: 600;
    color: #666;
}

.summary-value {
    color: #1b1b18;
    font-weight: 600;
}

.summary-total .summary-value {
    font-size: 20px;
    color: #007bff;
}

/* ============================================
   AI ASSISTANT
   ============================================ */
.ai-assistant {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    background: white;
}

.ai-header {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.ai-icon {
    width: 48px;
    height: 48px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976d2;
    flex-shrink: 0;
}

.ai-header-text h3 {
    font-size: 20px;
    margin-bottom: 4px;
    color: #1b1b18;
}

.ai-header-text p {
    color: #666;
    font-size: 14px;
}

.ai-chat {
    height: 400px;
    overflow-y: auto;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-message,
.user-message {
    display: flex;
    gap: 12px;
    max-width: 80%;
}

.user-message {
    margin-left: auto;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1976d2;
}

.user-message .message-avatar {
    background: #007bff;
    color: white;
}

.message-content {
    background: white;
    padding: 12px 16px;
    border-radius: 18px;
    line-height: 1.5;
}

.user-message .message-content {
    background: #007bff;
    color: white;
}

.ai-message.error .message-content {
    background: #ffebee;
    color: #c62828;
}

.typing-indicator {
    display: flex;
    gap: 12px;
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 18px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%,
    60%,
    100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.ai-input-container {
    display: flex;
    gap: 12px;
}

.ai-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

.ai-input:focus {
    outline: none;
    border-color: #007bff;
}

.ai-send-btn {
    padding: 12px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.ai-send-btn:hover {
    background: #0056b3;
}

.ai-suggested-experts {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.ai-suggested-experts h4 {
    margin-bottom: 16px;
    color: #1b1b18;
}

.suggested-experts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suggested-expert-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.suggested-expert-card:hover {
    border-color: #007bff;
    background: #f0f7ff;
}

.suggested-expert-card img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.suggested-expert-card h5 {
    margin-bottom: 4px;
    color: #1b1b18;
}

.suggested-expert-card p {
    font-size: 14px;
    color: #666;
}

/* ============================================
   EXPERT DASHBOARD
   ============================================ */
.expert-dashboard {
    display: flex;
    gap: 24px;
    min-height: 100vh;
    background: #f5f5f5;
}

.dashboard-sidebar {
    width: 250px;
    background: white;
    border-right: 1px solid #e0e0e0;
    padding: 24px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.dashboard-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.dashboard-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1b1b18;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-item:hover {
    background: #f0f0f0;
    color: #1b1b18;
}

.nav-item.active {
    background: #e3f2fd;
    color: #1976d2;
    font-weight: 600;
}

.dashboard-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    color: #1b1b18;
}

.dashboard-content {
    flex: 1;
    padding: 32px;
    background: white;
    margin: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-header {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1b1b18;
}

.page-subtitle {
    color: #666;
    margin-top: 8px;
}

/* ============================================
   PROFILE EDITOR
   ============================================ */
.profile-form {
    max-width: 800px;
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1b1b18;
}

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

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

.form-group label.required::after {
    content: " *";
    color: #f53003;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #f53003;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-help {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

.char-count {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #666;
    text-align: right;
}

.error-message {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #f53003;
}

.photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.photo-preview,
.photo-preview-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 14px;
}

.skill-item button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-item button:hover {
    color: #f53003;
}

.add-skill {
    display: flex;
    gap: 8px;
}

.add-skill .form-input {
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e0e0e0;
}

.published-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 8px;
    font-weight: 600;
}

/* ============================================
   SESSIONS MANAGER
   ============================================ */
.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.session-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
}

.session-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #1b1b18;
}

.session-meta {
    display: flex;
    gap: 24px;
    margin-top: 12px;
    font-size: 14px;
    color: #666;
}

.session-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.session-status.active {
    background: #e8f5e9;
    color: #2e7d32;
}

.session-status.inactive {
    background: #ffebee;
    color: #c62828;
}

.session-actions {
    display: flex;
    gap: 8px;
}

.bookings-section {
    margin-top: 40px;
}

.bookings-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1b1b18;
}

.bookings-table-container {
    overflow-x: auto;
}

.bookings-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.bookings-table thead {
    background: #f5f5f5;
}

.bookings-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #1b1b18;
    font-size: 14px;
}

.bookings-table td {
    padding: 12px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-pending {
    background: #fff3cd;
    color: #856404;
}

.badge-confirmed {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-completed {
    background: #d4edda;
    color: #155724;
}

.badge-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
}

/* ============================================
   PAYOUTS
   ============================================ */
.earnings-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.earnings-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.earnings-card h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    font-weight: 600;
}

.earnings-amount {
    font-size: 32px;
    font-weight: 700;
    color: #1b1b18;
}

.payouts-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.payouts-table thead {
    background: #f5f5f5;
}

.payouts-table th,
.payouts-table td {
    padding: 12px;
    text-align: left;
    border-top: 1px solid #e0e0e0;
}

.payout-settings {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.payout-settings h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1b1b18;
}

/* ============================================
   BOOKINGS PAGE
   ============================================ */
.bookings-page {
    padding: 40px 0;
}

.bookings-filters {
    margin-bottom: 32px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #e0e0e0;
}

.filter-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.filter-tab:hover {
    color: #007bff;
}

.filter-tab.active {
    color: #007bff;
    border-bottom-color: #007bff;
    font-weight: 600;
}

.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-expert {
    display: flex;
    gap: 16px;
    align-items: center;
}

.expert-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.booking-details {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.booking-actions {
    display: flex;
    gap: 8px;
}

/* ============================================
   BOOKING DETAILS
   ============================================ */
.booking-details-page {
    padding: 40px 0;
}

.booking-header {
    margin-bottom: 32px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 14px;
}

.back-link:hover {
    color: #1b1b18;
}

.booking-content {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.booking-main {
    flex: 1;
}

.booking-card-large {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 32px;
}

.booking-expert-section {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e0e0e0;
}

.expert-photo-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.booking-info-section {
    margin-bottom: 32px;
}

.booking-info-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1b1b18;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    font-size: 16px;
    color: #1b1b18;
    font-weight: 500;
}

.price-large {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
}

.booking-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.info-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1b1b18;
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.payment-item span:first-child {
    color: #666;
}

.payment-item span:last-child {
    font-weight: 600;
    color: #1b1b18;
}

.transaction-id {
    font-family: monospace;
    font-size: 12px;
}

.meeting-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

.meeting-link:hover {
    background: #0056b3;
}

/* ============================================
   APPLICATION FORM
   ============================================ */
.expert-application-page {
    padding: 40px 0;
}

.application-header {
    text-align: center;
    margin-bottom: 40px;
}

.application-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1b1b18;
}

.application-subtitle {
    font-size: 18px;
    color: #666;
}

.application-content {
    max-width: 800px;
    margin: 0 auto;
}

.requirements-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
}

.requirements-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1b1b18;
}

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

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #333;
}

.requirements-list li svg {
    color: #2e7d32;
    flex-shrink: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary,
.btn-secondary,
.btn-success,
.btn-warning,
.btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #0056b3;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background: white;
    color: #1b1b18;
    border: 1px solid #e0e0e0;
}

.btn-secondary:hover {
    background: #f5f5f5;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-warning {
    background: #ffc107;
    color: #1b1b18;
}

.btn-warning:hover {
    background: #e0a800;
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-icon {
    padding: 10px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: #f5f5f5;
    border-color: #007bff;
}

.btn-link {
    background: none;
    color: #007bff;
    padding: 0;
    text-decoration: underline;
}

.btn-link:hover {
    color: #0056b3;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
    text-align: center;
}

.spinner-small {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.modal-open {
    overflow: hidden;
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* Mobile-first defaults */
.expert-profile {
    flex-direction: column;
}

.profile-sidebar {
    position: static;
    width: 100%;
}

.expert-dashboard {
    flex-direction: column;
}

.dashboard-sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
}

.dashboard-content {
    margin: 0;
    border-radius: 0;
}

.experts-grid {
    grid-template-columns: 1fr;
}

.booking-content {
    flex-direction: column;
}

.booking-sidebar {
    width: 100%;
}

.info-grid {
    grid-template-columns: 1fr;
}

.earnings-overview {
    grid-template-columns: 1fr;
}

.profile-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
}

.modal-content {
    width: 95%;
    padding: 20px;
}

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

.profile-avatar-column:not(.profile-avatar-column-mobile) {
    display: none;
}

.profile-content-aside-mobile {
    display: block;
}
.profile-content-card-wrap {
    display: block;
}

@media (min-width: 720px) {
    .profile-avatar-image {
        object-position: center center;
    }
    .profile-avatar-column {
        aspect-ratio: auto;
    }
    .profile-scrollable-body {
        min-height: 460px;
        height: calc(100dvh - var(--site-header-height) - var(--profile-tabs-row-height) - 200px);
        /*overscroll-behavior-y: initial;*/
    }
    .profile-tabs-container {
        height: auto;
    }
    .skill-tag-large {
        font-size: 16px;
    }
    .profile-job-title {
        font-size: 20px;
    }
    .profile-header-row .profile-name-large {
        font-size: 36px;
        margin-top: 0;
        margin-bottom: 12px;
    }
    .expert-profile-page {
        padding: 102px 0 0;
    }
    .profile-actions-sm {
        display: none;
    }
    .profile-actions-md {
        display: block;
    }
    .profile-content-aside-mobile {
        /*transform: translateY(-80px);*/
        margin-top: -80px;
        order: 2;
    }
    .profile-content-card-wrap {
        display: flex;
        gap: 24px;
    }
    .bio-text {
        font-size: 16px;
    }
    .profile-avatar-column {
        flex: 0 0 328px;
        min-width: 328px;
        width: 328px;
        height: 530px;
        border-radius: 16px;
        transform: none;
    }
    .profile-content-card-wrap {
        border-radius: 16px;
        padding: 24px 16px 24px 24px;
    }
    .education-description {
        margin-top: 4px;
        font-size: 14px;
    }
    .education-qualification,
    .education-specialty {
        font-size: 16px;
        margin-top: 4px;
    }
}

@media (min-width: 768px) {
    .expert-profile {
        flex-direction: row;
    }

    .profile-sidebar {
        position: sticky;
        width: 300px;
    }

    .expert-dashboard {
        flex-direction: row;
    }

    .dashboard-sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        border-right: 1px solid #e0e0e0;
        border-bottom: none;
    }

    .dashboard-content {
        margin: 24px;
        border-radius: 12px;
    }

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

    .booking-content {
        flex-direction: row;
    }

    .booking-sidebar {
        width: 300px;
    }

    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .earnings-overview {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .profile-tabs {
        overflow-x: visible;
        flex-wrap: wrap;
    }

    .modal-content {
        width: 90%;
        padding: 32px;
    }

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

@media (min-width: 1024px) {
    .expert-profile-page {
        padding: 122px 0 0;
    }
    .profile-scrollable-body {
        height: calc(100dvh - var(--site-header-height) - var(--profile-tabs-row-height) - 210px);
    }
}

@media (min-width: 1280px) {
    .profile-detail-layout {
        min-height: calc(100dvh - var(--site-header-height) - 16px);
    }
    .profile-scrollable-body {
        min-height: auto;
        height: auto;
        flex: 1;
    }
    .profile-scrollable-body::-webkit-scrollbar {
        width: 8px;
    }

    .profile-scrollable-body::-webkit-scrollbar-button {
        display: none;
    }

    .profile-scrollable-body::-webkit-scrollbar-thumb {
        background: #00000029;
        border-radius: 999px;
    }

    .profile-scrollable-body::-webkit-scrollbar-thumb:hover {
        background: #00000029;
    }

    .profile-scrollable-body::-webkit-scrollbar-track {
        background: transparent;
    }
    .education-description {
        margin-top: 6px;
        font-size: 16px;
    }
    .education-qualification,
    .education-specialty {
        font-size: 18px;
        margin-top: 6px;
    }
    .education-institution {
        font-size: 20px;
    }
    .skill-tag-large {
        padding: 4px 8px;
    }
    .skills-section,
    .bio-section,
    .accomplishments-section,
    .education-section,
    .style-section {
        margin-bottom: 32px;
    }
    .profile-tabs .tab {
        padding: 14px 32px;
        font-size: 14px;
    }
    .profile-job-title {
        font-size: 24px;
    }
    .profile-tabs-container {
        margin-top: 16px;
    }

    .profile-job-title {
        margin-bottom: 24px;
    }
    .profile-content-card.is-scrolled .profile-header-row .profile-name-large {
        margin-bottom: 0;
    }
    .profile-content-card.is-scrolled .profile-header-row .profile-actions {
        margin-bottom: 0;
    }
    .profile-content-card.is-scrolled .profile-header-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .profile-content-card.is-scrolled .profile-job-title {
        display: none;
    }
    .profile-header-row .profile-name-large {
        font-size: 44px;
        margin-bottom: 16px;
    }
    .profile-breadcrumbs {
        font-size: 14px;
        margin: 40px 40px 12px;
    }
    .profile-header-row .profile-actions {
        display: flex;
        gap: 8px;
    }
    .profile-avatar-column:not(.profile-avatar-column-mobile) {
        display: flex;
    }
    .profile-content-aside-mobile {
        display: none;
    }
    .profile-content-card-wrap {
        border-radius: 0 24px 24px 0;
        border-left: none;
        padding: 32px;
        height: auto;
    }
    .profile-avatar-column {
        flex: 0 0 356px;
        min-width: 356px;
        width: 356px;
        height: 574px;
        border-radius: 16px;
    }
    .accomplishments-section h2,
    .education-section h2,
    .style-section h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    .profile-content-card {
        height: 408px;
    }
}

@media (min-width: 1536px) {
    .profile-content-card {
        height: 582px;
    }
    .skills-section,
    .bio-section,
    .accomplishments-section,
    .education-section,
    .style-section {
        margin-bottom: 36px;
    }
    .profile-tabs .tab {
        padding: 16px 40px;
    }
    .profile-job-title {
        font-size: 28px;
    }
    .profile-header-row .profile-name-large {
        font-size: 52px;
    }
    .profile-avatar-column {
        flex: 0 0 480px;
        min-width: 480px;
        width: 480px;
        height: 774px;
        border-radius: 24px;
    }
    .profile-content-card-wrap {
        padding: 40px;
    }
    .bio-text {
        font-size: 18px;
    }
    .btn-subscribe {
        height: 56px;
    }

    .btn-book-1-1 {
        height: 56px;
    }
    .accomplishments-section h2,
    .education-section h2,
    .style-section h2 {
        font-size: 28px;
        margin-bottom: 18px;
    }
}
