/* ============================================
page styles
   ============================================ */

   .requests-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.requests-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.requests-header .btn--primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.requests-header .btn--primary:hover {
    background: var(--primary-2);
}

.requests-header .btn--primary svg {
    flex-shrink: 0;
}

.requests-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}

.requests-subtitle {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.requests-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 20px;
}

.toolbar__left {
    flex: 1;
}

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

.field-inline {
    position: relative;
}

.field-inline .input {
    width: 280px;
    padding: 8px 12px 8px 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    outline: none;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.field-inline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' stroke='%23999' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E");
    background-size: contain;
    pointer-events: none;
    opacity: 0.5;
}

.field-inline .input:focus {
    border-color: var(--primary);
    background: var(--bg);
}

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

.segmented__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.segmented__btn:hover {
    background: var(--bg);
}

.segmented__btn.is-active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.segmented__count {
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--white-overlay-light);
    color: inherit;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.segmented__btn:not(.is-active) .segmented__count {
    background: var(--bg);
    color: var(--muted);
}

.select {
    padding: 8px 32px 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    outline: none;
    font-size: 13px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' fill='none' stroke='%23666' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.select:focus {
    border-color: var(--primary);
    background-color: var(--bg);
}

.requests-results {
    margin-top: 16px;
}

.results-meta {
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--muted);
}

.results-meta strong {
    color: var(--text);
    font-weight: 600;
}

.requests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}

.request-card {
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.request-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.request-card:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(62, 143, 106, 0.1);
}

.request-card__top {
    margin-bottom: 12px;
}

.request-card__title {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.request-card__title h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    flex: 1;
}

.request-card__desc {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.request-card__meta {
    margin-top: 12px;
    display: grid;
    gap: 8px;
    font-size: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.meta__k {
    color: var(--muted);
    font-weight: 500;
}

.meta__v {
    color: var(--text);
    font-weight: 600;
}

.request-card__footer {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.arrow {
    color: var(--muted);
    font-size: 14px;
    transition: transform 0.2s ease;
}

.request-card:hover .arrow {
    transform: translateX(2px);
    color: var(--primary);
}

.status {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.status--primary {
    color: var(--primary);
    background: var(--primary-light);
}

.status--warning {
    color: var(--warning);
    background: var(--warning-light);
}

.status--success {
    color: var(--success);
    background: var(--success-light);
}

.status--muted {
    color: var(--muted);
    background: var(--surface);
}

@media (max-width: 1200px) {
    .requests-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .requests-page {
        padding: 16px;
    }

    .requests-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .requests-title {
        font-size: 24px;
    }

    .requests-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }

    .toolbar__right {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .field-inline .input {
        width: 100%;
    }

    .segmented {
        width: 100%;
    }

    .segmented__btn {
        flex: 1;
        justify-content: center;
    }

    .requests-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ============================================
   REQUEST DETAILS PAGE - CLEAN DESIGN
   ============================================ */

.request-details-clean {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.request-back-section {
    margin-bottom: var(--spacing-lg);
}

.btn-back-clean {
    padding: 10px 14px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--text);
}

.btn-back-clean:hover {
    background: var(--surface);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.request-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.request-main-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Request Header Card */
.request-header-card {
    background: var(--bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: var(--spacing-xl);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.request-header-top {
    margin-bottom: var(--spacing-lg);
}

.request-title-section-detail {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.request-title-detail {
    font-size: 1.875rem;
    font-weight: 800;
    margin: 0;
    color: var(--text);
    flex: 1;
    line-height: 1.3;
}

.request-status-badge-primary,
.request-status-badge-warning,
.request-status-badge-success,
.request-status-badge-muted {
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.request-status-badge-primary {
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.15), rgba(62, 143, 106, 0.08));
    color: var(--primary);
    border: 1px solid rgba(62, 143, 106, 0.2);
}

.request-status-badge-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.08));
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.request-status-badge-success {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.15), rgba(22, 163, 74, 0.08));
    color: var(--success);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.request-status-badge-muted {
    background: var(--surface);
    color: var(--muted);
    border: 1px solid var(--border);
}

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

.info-item-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.info-icon-detail {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.1), rgba(62, 143, 106, 0.05));
    color: var(--primary);
    flex-shrink: 0;
}

.info-content-detail {
    flex: 1;
}

.info-label-detail {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.info-value-detail {
    font-size: 0.9375rem;
    color: var(--text);
    font-weight: 600;
}

/* Section Card */
.request-section-card {
    background: var(--bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-header-detail {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.01), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.section-title-detail {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.section-subtitle-detail {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 4px 0 0 0;
}

.offers-count-badge {
    padding: 4px 12px;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
}

.section-body-detail {
    padding: var(--spacing-lg);
}

.request-description-detail {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text);
    white-space: pre-wrap;
    margin: 0;
}

/* Offer Form */
.offer-form-clean {
    padding: var(--spacing-lg);
}

.form-group-detail {
    margin-bottom: var(--spacing-lg);
}

.form-group-detail:last-child {
    margin-bottom: 0;
}

.form-label-detail {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--spacing-sm);
}

.form-input-detail,
.form-textarea-detail {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: all 0.2s ease;
}

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

.form-input-detail:focus,
.form-textarea-detail:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(62, 143, 106, 0.1);
}

.btn-submit-offer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.3);
    margin-top: var(--spacing-md);
}

.btn-submit-offer:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(62, 143, 106, 0.4);
}

/* Offers List */
.offers-list-clean {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.offer-card-clean {
    background: var(--surface);
    border-radius: 12px;
    border: 1.5px solid var(--border);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.offer-card-clean:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.offer-card-clean.accepted {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.05), rgba(22, 163, 74, 0.02));
}

.offer-header-clean {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.offer-provider-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex: 1;
}

.offer-avatar-clean {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.offer-avatar-clean img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    font-size: 1rem;
    font-weight: 700;
}

.offer-provider-details {
    flex: 1;
}

.offer-provider-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.offer-rating-clean {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    color: var(--muted);
}

.offer-rating-clean svg {
    color: #fbbf24;
}

.offer-price-clean {
    text-align: right;
    flex-shrink: 0;
}

.offer-price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.offer-price-currency {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 2px;
}

.offer-message-clean {
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg);
    border-radius: 8px;
}

.offer-eta-clean {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: var(--spacing-md);
}

.offer-actions-clean {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border);
}

.btn-accept-offer {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.3);
}

.btn-accept-offer:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(62, 143, 106, 0.4);
}

.offer-accepted-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--success);
    color: white;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: var(--spacing-md);
}

.empty-offers-state {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--muted);
}

.empty-offers-state svg {
    margin-bottom: var(--spacing-md);
    color: var(--muted);
}

.empty-offers-state p {
    margin: 0;
    font-size: 0.9375rem;
}

.request-action-section {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.btn-mark-completed {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--success), #16a34a);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-mark-completed:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
}

/* Request Details Premium Styles */
.request-details-premium {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.btn-back-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-lg);
}

.btn-back-premium:hover {
    background: var(--surface);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.request-hero-section {
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.08), rgba(62, 143, 106, 0.03));
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.request-hero-content {
    flex: 1;
    min-width: 300px;
}

.request-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.15), rgba(62, 143, 106, 0.08));
    border: 1px solid rgba(62, 143, 106, 0.2);
    border-radius: 12px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.request-hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text);
    line-height: 1.2;
}

.request-hero-subtitle {
    font-size: 1rem;
    color: var(--muted);
    margin: 0;
}

.request-hero-status {
    flex-shrink: 0;
}

.request-details-grid-premium {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.request-main-section-premium {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.request-info-card-premium {
    background: var(--bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: var(--spacing-xl);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.request-info-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xl);
}

.info-item-premium {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.info-icon-premium {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.12), rgba(62, 143, 106, 0.06));
    color: var(--primary);
    flex-shrink: 0;
}

.info-content-premium {
    flex: 1;
}

.info-label-premium {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value-premium {
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
}

.request-section-card-premium {
    background: var(--bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-header-premium {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.section-title-premium {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-subtitle-premium {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 4px 0 0 0;
    width: 100%;
}

.offers-count-badge-premium {
    padding: 6px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
}

.section-body-premium {
    padding: var(--spacing-xl);
}

.request-description-premium {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    white-space: pre-wrap;
    margin: 0;
}

.requester-info-premium {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.requester-avatar-premium {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid var(--primary);
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.requester-avatar-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.requester-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.requester-details-premium {
    flex: 1;
}

.requester-name-premium {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text);
}

.requester-location-premium {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    color: var(--muted);
    margin: 0;
}

.offers-list-premium {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.offer-card-premium {
    background: var(--surface);
    border-radius: 14px;
    border: 1.5px solid var(--border);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.offer-card-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.offer-card-premium.accepted {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(22, 163, 74, 0.03));
}

.offer-card-premium.pending {
    border-color: var(--warning);
}

.offer-header-premium {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.offer-provider-info-premium {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex: 1;
    min-width: 200px;
}

.offer-avatar-premium {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--primary);
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.offer-avatar-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-avatar-initials-premium {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
}

.offer-provider-details-premium {
    flex: 1;
}

.offer-provider-name-premium {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.offer-provider-location-premium {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

.offer-price-section-premium {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spacing-xs);
    flex-shrink: 0;
}

.offer-price-premium {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.offer-status-badge-premium {
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.offer-status-badge-premium.offer-status-pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.08));
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.offer-status-badge-premium.offer-status-accepted {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.15), rgba(22, 163, 74, 0.08));
    color: var(--success);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.offer-status-badge-premium.offer-status-rejected {
    background: var(--surface);
    color: var(--muted);
    border: 1px solid var(--border);
}

.offer-message-premium {
    background: var(--bg);
    border-radius: 10px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-left: 3px solid var(--primary);
}

.offer-message-premium p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text);
}

.offer-footer-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border);
}

.offer-eta-premium {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--muted);
    flex: 1;
}

.offer-actions-premium {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.btn-offer-accept-premium {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--success), #16a34a);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

.btn-offer-accept-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.4);
}

.btn-offer-reject-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--surface);
    color: var(--muted);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-offer-reject-premium:hover {
    background: var(--error);
    color: white;
    border-color: var(--error);
}

.empty-offers-premium {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--muted);
}

.empty-offers-premium svg {
    margin-bottom: var(--spacing-md);
    color: var(--muted);
    opacity: 0.6;
}

.empty-offers-premium h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text);
}

.empty-offers-premium p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--muted);
}

.offer-form-section-premium {
    border: 2px solid var(--border);
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.02), rgba(62, 143, 106, 0.01));
}

.section-header-content-premium {
    width: 100%;
}

.offer-form-premium {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-section-premium {
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.form-section-premium:last-of-type {
    border-bottom: none;
}

.form-section-premium:hover {
    background: var(--surface);
}

.form-section-header-premium {
    margin-bottom: var(--spacing-md);
}

.form-label-main-premium {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--spacing-xs);
    cursor: pointer;
}

.form-required-indicator {
    color: var(--error);
    font-weight: 700;
    margin-left: 2px;
}

.form-label-hint-main {
    display: block;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

.form-input-wrapper-premium {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-with-icon-premium {
    position: relative;
}

.form-input-icon-premium {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.form-input-icon-premium svg {
    width: 20px;
    height: 20px;
}

.form-input-suffix-premium {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 600;
    pointer-events: none;
    z-index: 1;
}

.form-input-premium {
    width: 100%;
    padding: 14px 18px;
    padding-left: 48px;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: all 0.2s ease;
}

.form-input-price-premium {
    padding-right: 60px;
}

.form-input-premium.form-date-input-field-premium {
    padding-right: 50px;
}

.form-input-premium:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(62, 143, 106, 0.1);
    background: var(--bg);
}

.form-input-premium:focus + .form-input-suffix-premium {
    color: var(--primary);
}

.form-input-premium:focus ~ .form-input-icon-premium,
.form-input-wrapper-premium:focus-within .form-input-icon-premium {
    color: var(--primary);
}

.form-input-premium::placeholder {
    color: var(--muted);
    opacity: 0.6;
}

.form-textarea-wrapper-premium {
    flex-direction: column;
    align-items: stretch;
}

.form-textarea-premium {
    width: 100%;
    padding: 16px 18px;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: all 0.2s ease;
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-textarea-premium:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(62, 143, 106, 0.1);
    background: var(--bg);
}

.form-textarea-premium::placeholder {
    color: var(--muted);
    opacity: 0.6;
}

.form-character-count-premium {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--spacing-xs);
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 500;
}

.form-character-count-premium span {
    font-weight: 600;
}

.form-date-input-premium {
    position: relative;
}

.form-date-input-field-premium {
    padding-right: 50px;
}

.form-date-input-field-premium::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 16px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    width: 20px;
    height: 20px;
    z-index: 1;
}

.form-date-input-field-premium::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.form-date-input-field-premium::-webkit-inner-spin-button,
.form-date-input-field-premium::-webkit-outer-spin-button {
    display: none;
}

.form-actions-premium {
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), transparent);
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.btn-submit-offer-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(62, 143, 106, 0.3);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-submit-offer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-submit-offer-premium:hover::before {
    left: 100%;
}

.btn-submit-offer-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(62, 143, 106, 0.4);
}

.btn-submit-offer-premium:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(62, 143, 106, 0.3);
}

.btn-submit-offer-premium svg {
    flex-shrink: 0;
}

.form-footer-note-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--muted);
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

.form-footer-note-premium svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.request-action-section-premium {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--border);
    text-align: center;
}

.btn-mark-completed-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--success), #16a34a);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-mark-completed-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .request-details-premium {
        padding: var(--spacing-md);
    }
    
    .request-details-clean {
        padding: var(--spacing-md);
    }
    
    .request-hero-section {
        flex-direction: column;
        padding: var(--spacing-lg);
    }
    
    .request-hero-title {
        font-size: 1.75rem;
    }
    
    .request-info-grid-premium {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .request-title-section-detail {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .request-info-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-header-premium,
    .offer-header-clean {
        flex-direction: column;
    }
    
    .offer-price-section-premium {
        align-items: flex-start;
        width: 100%;
        margin-top: var(--spacing-sm);
    }
    
    .offer-footer-premium {
        flex-direction: column;
        align-items: stretch;
    }
    
    .offer-actions-premium {
        width: 100%;
    }
    
    .btn-offer-accept-premium {
        flex: 1;
    }
    
    .offer-price-clean {
        text-align: left;
        width: 100%;
    }
    
    .requester-info-premium {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header-premium {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-section-premium {
        padding: var(--spacing-lg);
    }
    
    .form-input-premium {
        padding-left: 44px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .form-date-input-field-premium {
        padding-right: 44px;
    }
    
    .form-textarea-premium {
        min-height: 120px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .btn-submit-offer-premium {
        padding: 14px 24px;
        font-size: 0.9375rem;
    }
}

/* ============================================
   NEW REQUEST FORM - CLEAN DESIGN
   ============================================ */

.new-request-page-clean {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.new-request-header {
    margin-bottom: var(--spacing-xl);
}

.new-request-title {
    font-size: 2rem;
    font-weight: 800;
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
    color: var(--text);
}

.new-request-subtitle {
    font-size: 1rem;
    color: var(--muted);
    margin: 0;
}

.new-request-form-card {
    background: var(--bg);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.new-request-form {
    padding: var(--spacing-xl);
}

.form-section-new {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--border);
}

.form-section-new:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.form-section-header {
    margin-bottom: var(--spacing-lg);
}

.form-section-title-new {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text);
}

.form-section-desc {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

.form-fields-new {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-row-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.tips-card-new {
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.08), rgba(62, 143, 106, 0.03));
    border: 1px solid rgba(62, 143, 106, 0.2);
    border-radius: 12px;
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.tips-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.tips-header svg {
    color: var(--primary);
    flex-shrink: 0;
}

.tips-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text);
}

.tips-list {
    margin: 0;
    padding-left: var(--spacing-lg);
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.8;
}

.tips-list li {
    margin-bottom: var(--spacing-xs);
}

.form-actions-new {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border);
}

.btn-cancel-new {
    padding: 12px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel-new:hover {
    background: var(--surface);
    border-color: var(--muted);
}

.btn-submit-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.3);
}

.btn-submit-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(62, 143, 106, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .new-request-page-clean {
        padding: var(--spacing-md);
    }
    
    .new-request-form {
        padding: var(--spacing-lg);
    }
    
    .form-row-new {
        grid-template-columns: 1fr;
    }
    
    .form-actions-new {
        flex-direction: column-reverse;
    }
    
    .btn-cancel-new,
    .btn-submit-new {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   REQUEST NEW PAGE - CUSTOM DESIGN
   ============================================ */

.request-new-page {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.request-new-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.request-new-header__left {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.request-new-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
}

.request-new-subtitle {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.request-new-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
    align-items: start;
}

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.card--soft {
    background: color-mix(in srgb, var(--surface) 95%, transparent);
    border-color: color-mix(in srgb, var(--border) 80%, transparent);
}

.section {
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

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

.section__head {
    margin-bottom: 20px;
}

.section__head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
}

.section__head p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.row-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.field-wrap {
    margin-top: 20px;
}

.field-wrap:first-child {
    margin-top: 0;
}

.field-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.badge {
    display: inline-flex;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}

.side {
    display: grid;
    gap: 14px;
}

.preview {
    margin-top: 16px;
    padding: 20px;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.preview__pill {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
    background: var(--surface);
    font-weight: 600;
}

.preview__title {
    margin-top: 16px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.preview__desc {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.preview__meta {
    margin-top: 16px;
    display: grid;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.preview__meta div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview__meta span {
    font-weight: 600;
    color: var(--text);
}

.tips {
    margin: 16px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

.tips li {
    margin-bottom: 8px;
    position: relative;
}

.tips li::marker {
    color: var(--primary);
}

.flex-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border: 1.5px dashed var(--border);
    border-radius: 12px;
    margin-top: 20px;
    align-items: center;
    background: color-mix(in srgb, var(--surface) 50%, transparent);
    transition: all 0.2s ease;
}

.flex-row:hover {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 5%, transparent);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 24px;
}

.form-actions button {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.btn-cancel-new {
    background: var(--bg);
    border: 1.5px solid var(--border);
    color: var(--text);
}

.btn-cancel-new:hover {
    background: var(--surface);
    border-color: var(--muted);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-submit-new {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    box-shadow: 0 4px 16px rgba(62, 143, 106, 0.25);
}

.btn-submit-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(62, 143, 106, 0.35);
}

.btn-submit-new:active {
    transform: translateY(0);
}

/* Location & Schedule Container Styles - Modern Redesign */
.location-schedule-wrapper {
    margin-top: 8px;
}

.location-schedule-card {
    background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 98%, transparent), color-mix(in srgb, var(--primary) 2%, transparent));
    border: 2px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.location-schedule-card:hover {
    border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
    box-shadow: 0 4px 20px rgba(62, 143, 106, 0.08);
    transform: translateY(-1px);
}

.location-block,
.schedule-block {
    margin-bottom: 32px;
}

.schedule-block {
    margin-bottom: 0;
    padding-top: 32px;
    border-top: 2px solid var(--border);
}

.input-group-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.input-group-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.input-group-icon--location {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 15%, transparent), color-mix(in srgb, var(--primary) 8%, transparent));
    color: var(--primary);
}

.input-group-icon--schedule {
    background: linear-gradient(135deg, color-mix(in srgb, #6366f1 15%, transparent), color-mix(in srgb, #6366f1 8%, transparent));
    color: #6366f1;
}

.input-group-info {
    flex: 1;
    min-width: 0;
}

.input-group-label {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.input-group-hint {
    display: block;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
}

.input-group-field {
    margin-left: 62px;
}

.modern-input {
    width: 100%;
    padding: 16px 18px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.modern-input:hover {
    border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
    box-shadow: 0 2px 8px rgba(62, 143, 106, 0.06);
}

.modern-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(62, 143, 106, 0.12), 0 2px 12px rgba(62, 143, 106, 0.15);
    background: var(--bg);
    transform: translateY(-1px);
}

.modern-input::placeholder {
    color: var(--muted);
    opacity: 0.7;
}

.modern-input.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.modern-input.error:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12), 0 2px 12px rgba(220, 38, 38, 0.15);
}

.date-range-group {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.date-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.date-input-label {
    position: absolute;
    top: -22px;
    left: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-input--date {
    padding: 16px 18px;
    font-weight: 500;
}

.date-connector {
    display: flex;
    align-items: center;
    padding-bottom: 16px;
    color: var(--muted);
    flex-shrink: 0;
    opacity: 0.6;
}

.flexible-toggle-wrapper {
    margin-top: 8px;
}

.flexible-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    padding: 12px 16px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface) 50%, transparent);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.flexible-toggle:hover {
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
    background: color-mix(in srgb, var(--primary) 5%, var(--surface));
}

.flexible-toggle__input {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}

.flexible-toggle__slider {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: var(--border);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.flexible-toggle__slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.flexible-toggle__input:checked + .flexible-toggle__slider {
    background: var(--primary);
}

.flexible-toggle__input:checked + .flexible-toggle__slider::before {
    transform: translateX(20px);
}

.flexible-toggle__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    flex: 1;
}

.flexible-toggle__label svg {
    color: var(--muted);
    transition: color 0.3s ease;
}

.flexible-toggle__input:checked ~ .flexible-toggle__slider ~ .flexible-toggle__label svg {
    color: var(--primary);
}

.flexible-toggle__input:checked ~ .flexible-toggle__label svg {
    color: var(--primary);
}

.flexible-toggle__input:checked ~ .flexible-toggle__label {
    color: var(--primary);
}

.location-schedule-card .error-message {
    font-size: 13px;
    color: var(--danger);
    font-weight: 500;
    margin-top: 8px;
    display: block;
    padding-left: 2px;
}

@media (max-width: 900px) {
    .location-schedule-card {
        padding: 20px;
    }

    .input-group-field {
        margin-left: 0;
    }

    .date-range-group {
        flex-direction: column;
        gap: 24px;
    }

    .date-input-label {
        position: static;
        margin-bottom: 8px;
    }

    .date-connector {
        padding: 0;
        transform: rotate(90deg);
        width: 100%;
        justify-content: center;
    }

    .flexible-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Budget Container Styles */
.budget-container {
    margin-top: 8px;
}

.budget-inputs {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 20px;
    background: color-mix(in srgb, var(--surface) 60%, transparent);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    transition: all 0.2s ease;
}

.budget-inputs:hover {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 5%, var(--surface));
    box-shadow: 0 2px 8px rgba(62, 143, 106, 0.1);
}

.budget-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.budget-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.budget-label__text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.budget-label__currency {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    padding: 4px 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.budget-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: all 0.2s ease;
}

.budget-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(62, 143, 106, 0.1);
    background: var(--bg);
}

.budget-input::placeholder {
    color: var(--muted);
    font-weight: 400;
}

.budget-input.error {
    border-color: var(--danger);
}

.budget-input.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.budget-separator {
    display: flex;
    align-items: center;
    padding-bottom: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    min-width: 40px;
    justify-content: center;
}

@media (max-width: 900px) {
    .request-new-grid {
        grid-template-columns: 1fr;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .budget-inputs {
        flex-direction: column;
        align-items: stretch;
    }

    .budget-separator {
        padding: 8px 0;
        width: 100%;
        justify-content: center;
    }
}

/* Browse Page - Premium Design */
.browse-page-premium {
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.browse-hero-section {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, transparent), color-mix(in srgb, var(--primary) 3%, transparent));
    border-bottom: 1px solid var(--border);
    padding: 24px 24px;
    margin-bottom: 20px;
}

.browse-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.browse-hero-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.browse-hero-title-wrapper > div {
    flex: 1;
    min-width: 200px;
}

.btn-new-request-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.25);
    white-space: nowrap;
}

.btn-new-request-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 143, 106, 0.35);
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.btn-new-request-hero:active {
    transform: translateY(0);
}

.btn-new-request-hero svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.browse-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: color-mix(in srgb, var(--primary) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.browse-hero-badge svg {
    width: 14px;
    height: 14px;
}

.browse-hero-title {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.browse-hero-subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.browse-stats-preview {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 20px;
}

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

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.browse-controls-premium {
    padding: 0 24px;
    margin-bottom: 24px;
}

.browse-controls-card {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.browse-controls-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.browse-search-premium {
    flex: 1;
    margin-bottom: 0;
}

.btn-new-request-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(62, 143, 106, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-new-request-controls:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.35);
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    color: #000000;
}

.btn-new-request-controls:hover svg {
    color: #000000;
}

.btn-new-request-controls:active {
    transform: translateY(0);
}

.btn-new-request-controls svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.search-premium-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-premium-icon {
    position: absolute;
    left: 14px;
    color: var(--muted);
    pointer-events: none;
    z-index: 1;
    width: 18px;
    height: 18px;
}

.search-premium-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    font-size: 14px;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.search-premium-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(62, 143, 106, 0.1), 0 2px 8px rgba(62, 143, 106, 0.1);
}

.search-premium-input::placeholder {
    color: var(--muted);
    font-weight: 400;
}

.search-premium-clear {
    position: absolute;
    right: 12px;
    padding: 6px;
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    width: 20px;
    height: 20px;
}

.search-premium-clear svg {
    width: 14px;
    height: 14px;
}

.search-premium-clear:hover {
    background: var(--surface);
    color: var(--text);
}

.browse-filters-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.filters-premium-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.filters-premium-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-premium-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.filter-premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.filter-premium-btn:hover::before {
    left: 100%;
}

.filter-premium-btn:hover {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, var(--bg));
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.15);
}

.filter-premium-btn:hover .filter-premium-icon,
.filter-premium-btn:hover .filter-premium-label,
.filter-premium-btn:hover .filter-premium-count {
    color: #000000;
}

.filter-premium-btn.is-active {
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 90%, var(--primary-2)));
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(62, 143, 106, 0.3);
    transform: translateY(-2px);
}

.filter-premium-icon {
    display: flex;
    align-items: center;
    opacity: 0.8;
    width: 14px;
    height: 14px;
}

.filter-premium-icon svg {
    width: 14px;
    height: 14px;
}

.filter-premium-label {
    font-weight: 600;
}

.filter-premium-count {
    padding: 2px 8px;
    border-radius: 10px;
    background: color-mix(in srgb, currentColor 20%, transparent);
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.filter-premium-btn.is-active .filter-premium-count {
    background: color-mix(in srgb, white 30%, transparent);
}

.browse-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--border);
}

.results-info-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.results-info-content svg {
    color: var(--primary);
    width: 16px;
    height: 16px;
}

.results-count-text {
    font-size: 13px;
    font-weight: 600;
}

.results-count-text strong {
    color: var(--primary);
    font-weight: 700;
}

.clear-all-filters {
    padding: 6px 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.clear-all-filters:hover {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 5%, var(--bg));
    color: #000000;
}

.browse-content-premium {
    padding: 0 24px 32px;
    min-height: 300px;
}

.browse-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .browse-grid-premium {
        grid-template-columns: repeat(3, minmax(320px, 1fr));
    }
}

@media (max-width: 900px) {
    .browse-grid-premium {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .project-card-simple {
        max-width: 100%;
    }
}

.browse-card-premium {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.browse-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.browse-card-premium:hover::before {
    transform: scaleX(1);
}

.browse-card-premium:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(62, 143, 106, 0.15);
    transform: translateY(-4px);
}

.card-premium-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.card-premium-category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
}

.card-category-icon {
    color: var(--primary);
    display: flex;
    align-items: center;
    width: 16px;
    height: 16px;
}

.card-category-icon svg {
    width: 16px;
    height: 16px;
}

.card-category-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-status-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.card-status-badge--primary {
    background: color-mix(in srgb, var(--primary) 15%, transparent);
    color: var(--primary);
    border: 1.5px solid color-mix(in srgb, var(--primary) 40%, transparent);
}

.card-status-badge--warning {
    background: color-mix(in srgb, var(--warning) 15%, transparent);
    color: var(--warning);
    border: 1.5px solid color-mix(in srgb, var(--warning) 40%, transparent);
}

.card-status-badge--success {
    background: color-mix(in srgb, var(--success) 15%, transparent);
    color: var(--success);
    border: 1.5px solid color-mix(in srgb, var(--success) 40%, transparent);
}

.card-premium-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card-premium-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.card-premium-description {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.card-premium-highlight {
    padding: 14px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, transparent), color-mix(in srgb, var(--primary) 4%, transparent));
    border: 1.5px solid color-mix(in srgb, var(--primary) 20%, transparent);
    border-radius: 12px;
}

.card-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-highlight-item svg {
    color: var(--primary);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.card-highlight-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.card-highlight-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-highlight-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.card-premium-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.card-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text);
    font-weight: 500;
}

.card-detail-item svg {
    color: var(--muted);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.card-premium-footer {
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-actions-group {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.card-edit-btn,
.card-delete-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.card-edit-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(62, 143, 106, 0.2);
}

.card-delete-btn:hover {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.card-edit-btn:active,
.card-delete-btn:active {
    transform: translateY(0);
}

.card-edit-btn svg,
.card-delete-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.card-premium-action {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(62, 143, 106, 0.2);
}

.card-premium-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.3);
}

.card-premium-action:active {
    transform: translateY(0);
}

.card-premium-action svg {
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
}

.browse-card-premium:hover .card-premium-action svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .browse-hero-section {
        padding: 32px 20px;
    }

    .browse-hero-title-wrapper {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .browse-hero-title-wrapper > div {
        width: 100%;
    }

    .btn-new-request-hero {
        width: 100%;
        justify-content: center;
        margin-top: 16px;
    }

    .browse-hero-title {
        font-size: 32px;
    }

    .browse-hero-subtitle {
        font-size: 16px;
    }

    .browse-stats-preview {
        gap: 32px;
        margin-top: 32px;
    }

    .stat-value {
        font-size: 28px;
    }

    .browse-controls-premium {
        padding: 0 20px;
    }

    .browse-controls-card {
        padding: 20px;
    }

    .browse-controls-header {
        flex-direction: column;
        gap: 12px;
    }

    .browse-search-premium {
        width: 100%;
    }

    .btn-new-request-controls {
        width: 100%;
        justify-content: center;
    }

    .browse-filters-premium {
        flex-direction: column;
        align-items: flex-start;
    }

    .filters-premium-group {
        width: 100%;
    }

    .filter-premium-btn {
        flex: 1;
        justify-content: center;
    }

    .browse-content-premium {
        padding: 0 20px 32px;
    }

    .browse-grid-premium {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

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

.browse-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.browse-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.browse-subtitle {
    margin: 8px 0 0;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.5;
}

.browse-filters-section {
    margin-bottom: 32px;
}

.browse-filters-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.browse-filters-top {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.browse-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.browse-filter-btn:hover {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 5%, var(--bg));
    color: var(--primary);
}

.browse-filter-btn.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.filter-label {
    font-weight: 600;
}

.filter-count {
    padding: 2px 8px;
    border-radius: 12px;
    background: color-mix(in srgb, currentColor 15%, transparent);
    font-size: 12px;
    font-weight: 700;
}

.browse-filter-btn.is-active .filter-count {
    background: color-mix(in srgb, white 25%, transparent);
}

.browse-search-wrapper {
    flex: 1;
    min-width: 0;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 16px;
    color: var(--muted);
    pointer-events: none;
    z-index: 1;
}

.browse-search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: all 0.2s ease;
}

.browse-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(62, 143, 106, 0.1);
}

.browse-search-input::placeholder {
    color: var(--muted);
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    padding: 6px;
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-clear-btn:hover {
    background: var(--surface);
    color: var(--text);
}

.browse-active-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 16px;
    flex-wrap: wrap;
}

.filter-results-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
    border-radius: 8px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

.active-filter-tag button {
    padding: 0;
    border: none;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.active-filter-tag button:hover {
    background: color-mix(in srgb, var(--primary) 20%, transparent);
}

.browse-content {
    min-height: 400px;
}

.browse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}

.browse-card {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.browse-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(62, 143, 106, 0.12);
    transform: translateY(-2px);
}

.browse-card__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.browse-card__title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.browse-card__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    letter-spacing: -0.3px;
    flex: 1;
}

.browse-status-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.browse-status-badge--primary {
    background: color-mix(in srgb, var(--primary) 15%, transparent);
    color: var(--primary);
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
}

.browse-status-badge--warning {
    background: color-mix(in srgb, var(--warning) 15%, transparent);
    color: var(--warning);
    border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent);
}

.browse-status-badge--success {
    background: color-mix(in srgb, var(--success) 15%, transparent);
    color: var(--success);
    border: 1px solid color-mix(in srgb, var(--success) 30%, transparent);
}

.browse-card__description {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.browse-card__body {
    flex: 1;
}

.browse-card__info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.browse-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.browse-info-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.browse-info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.browse-info-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.browse-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    word-break: break-word;
}

.browse-info-value--highlight {
    color: var(--primary);
    font-size: 15px;
}

.browse-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.browse-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.browse-card__date {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.browse-card__action {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.2s ease;
}

.browse-card:hover .browse-card__action {
    gap: 10px;
}

.browse-card__action-text {
    font-weight: 600;
}

@media (max-width: 768px) {
    .browse-page {
        padding: 16px;
    }

    .browse-title {
        font-size: 24px;
    }

    .browse-filters-top {
        gap: 16px;
    }

    .status-filter-group {
        gap: 6px;
    }

    .browse-filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .browse-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .browse-card__info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Message Card Premium Styles */
.message-card-premium {
    position: relative;
}

.message-card-premium.is-unread {
    border-color: var(--primary);
    background: linear-gradient(to right, var(--primary-50) 0%, var(--bg) 3%);
}

.message-card-premium.is-unread::before {
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    transform: scaleX(1);
}

.message-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.message-card-avatar {
    position: relative;
    flex-shrink: 0;
}

.message-card-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.avatar-initials {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid var(--border);
}

.unread-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid var(--bg);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.message-card-info {
    flex: 1;
    min-width: 0;
}

.message-card-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.message-card-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unread-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.message-card-time {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.message-card-body {
    margin: 12px 0;
    padding: 12px;
    background: var(--bg-2);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.message-card-preview {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.message-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-card-delete-btn {
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.message-card-delete-btn:hover {
    background: var(--danger);
    color: white;
    opacity: 1;
    transform: scale(1.1);
}

.message-card-delete-btn:active {
    transform: scale(0.95);
}

.message-card-delete-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.message-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.message-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.message-card-meta svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.message-card-arrow {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform 0.2s ease;
}

.message-card-premium:hover .message-card-arrow {
    transform: translateX(4px);
}

.message-card-premium:hover .message-card-name {
    color: var(--primary);
}

@media (max-width: 768px) {
    .message-card-header {
        gap: 12px;
    }

    .message-card-avatar img,
    .avatar-initials {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .message-card-name {
        font-size: 16px;
    }

    .message-card-body {
        padding: 10px;
    }

    .message-card-preview {
        font-size: 13px;
    }
}

/* Notification Card Premium Styles */
.notification-card-premium {
    position: relative;
}

.notification-card-premium.is-read {
    opacity: 0.7;
}

.notification-card-premium.is-read::before {
    transform: scaleX(0);
}

.notification-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.notification-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    transition: all 0.2s ease;
}

.notification-card-premium:hover .notification-card-icon {
    transform: scale(1.05);
}

.notification-card-info {
    flex: 1;
    min-width: 0;
}

.notification-card-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.notification-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.notification-card-time {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    margin-top: 4px;
}

.notification-card-delete {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-card-premium:hover .notification-card-delete {
    opacity: 1;
}

.notification-card-delete:hover {
    background: var(--surface);
    color: var(--danger);
}

.notification-card-body {
    margin: 12px 0;
    padding: 12px;
    background: var(--bg-2);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.notification-card-text {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.notification-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.notification-card-type {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .notification-card-header {
        gap: 10px;
    }

    .notification-card-icon {
        width: 40px;
        height: 40px;
    }

    .notification-card-title {
        font-size: 15px;
    }

    .notification-card-body {
        padding: 10px;
    }

    .notification-card-text {
        font-size: 13px;
    }
}

/* Settings Page Styles - Modern Redesign */
.settings-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    min-height: calc(100vh - 140px);
}

.settings-header {
    margin-bottom: var(--spacing-2xl);
    text-align: left;
    position: relative;
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border);
}

.settings-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 var(--spacing-sm) 0;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.settings-subtitle {
    font-size: 1.0625rem;
    color: var(--muted);
    margin: 0;
    font-weight: 500;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--spacing-2xl);
    align-items: start;
}

.settings-main {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.settings-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    position: sticky;
    top: calc(60px + var(--spacing-lg));
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.settings-sidebar::-webkit-scrollbar {
    width: 6px;
}

.settings-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.settings-sidebar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.settings-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

.settings-section {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.section-card-clean {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: var(--spacing-xl);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.section-card-clean::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-card-clean:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.section-card-clean:hover::before {
    opacity: 1;
}

.section-title-bar {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border);
}

.section-title-bar h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    letter-spacing: -0.3px;
}

.section-title-bar h2::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 2px;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.settings-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary), transparent);
    transition: width 0.3s ease;
    opacity: 0.1;
}

.settings-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(62, 143, 106, 0.12);
    border-color: var(--primary);
    background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 5%, transparent), var(--surface));
}

.settings-item:hover::before {
    width: 4px;
}

[dir="rtl"] .settings-item:hover {
    transform: translateX(-4px);
}

.settings-item-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex: 1;
    min-width: 0;
}

.settings-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 15%, transparent), color-mix(in srgb, var(--primary) 8%, transparent));
    color: var(--primary);
    flex-shrink: 0;
    border: 1.5px solid color-mix(in srgb, var(--primary) 20%, transparent);
    transition: all 0.3s ease;
}

.settings-item:hover .settings-item-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 20%, transparent), color-mix(in srgb, var(--primary) 12%, transparent));
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.2);
}

.settings-item-info {
    flex: 1;
    min-width: 0;
}

.settings-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.settings-item-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.5;
}

.btn-settings-action {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(62, 143, 106, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-settings-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-settings-action:hover::before {
    left: 100%;
}

.btn-settings-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 143, 106, 0.35);
}

.btn-settings-action:active {
    transform: translateY(0);
}

.btn-settings-action.btn-danger {
    background: linear-gradient(135deg, var(--danger), color-mix(in srgb, var(--danger) 90%, black));
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.btn-settings-action.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}

/* Toggle Switch - Modern Design */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    cursor: pointer;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 28px;
    border: 2px solid transparent;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, white, #f5f5f5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
    box-shadow: 0 2px 8px rgba(62, 143, 106, 0.3), 0 1px 3px rgba(62, 143, 106, 0.2);
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 0 4px rgba(62, 143, 106, 0.15);
}

.toggle-switch:hover .toggle-slider {
    border-color: var(--primary);
}

.toggle-switch:hover input:checked + .toggle-slider {
    box-shadow: 0 0 0 4px rgba(62, 143, 106, 0.15);
}

/* Language Selector - Modern Design */
.language-selector {
    display: flex;
    gap: 6px;
    background: var(--surface);
    padding: 6px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    width: 240px;
    position: relative;
    overflow: hidden;
}

.language-selector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 5%, transparent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.language-selector:hover::before {
    opacity: 1;
}

.lang-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 18px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.lang-btn:hover {
    color: var(--text);
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.3);
    transform: translateY(-1px);
}

/* Theme Selector - Modern Design */
.theme-selector {
    display: flex;
    gap: 6px;
    background: var(--surface);
    padding: 6px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    width: 240px;
    position: relative;
    overflow: hidden;
}

.theme-selector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 5%, transparent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-selector:hover::before {
    opacity: 1;
}

.theme-btn {
    flex: 1;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.theme-btn:hover {
    color: var(--text);
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    transform: translateY(-1px);
}

.theme-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.3);
    transform: translateY(-1px);
}

.theme-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.theme-btn.active svg {
    transform: scale(1.1);
}

/* Platform Links - Modern Design */
.platform-links {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.platform-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1.5px solid transparent;
    background: var(--surface);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.platform-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary), transparent);
    transition: width 0.3s ease;
    opacity: 0.1;
}

.platform-link:hover {
    background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 8%, transparent), var(--surface));
    border-color: var(--primary);
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.1);
}

.platform-link:hover::before {
    width: 4px;
}

.platform-link svg {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.platform-link:hover svg {
    transform: scale(1.1);
}

[dir="rtl"] .platform-link:hover {
    transform: translateX(-6px);
}

/* Contact Info - Modern Design */
.contact-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--text);
    font-size: 0.9375rem;
    background: var(--surface);
    border-radius: 12px;
    border: 1.5px solid var(--border);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary);
    background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 5%, transparent), var(--surface));
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(62, 143, 106, 0.1);
}

[dir="rtl"] .contact-item:hover {
    transform: translateX(-4px);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--primary);
    width: 20px;
    height: 20px;
}

/* Modal Variants - Enhanced for Settings */
.modal-content {
    background: var(--bg);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 300ms cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid var(--border);
    display: flex;
    flex-direction: column;
}

.modal-content.modal-small {
    max-width: 400px;
}

.modal-content.modal-medium {
    max-width: 600px;
}

.modal-content.modal-large {
    max-width: 800px;
}

.modal-header {
    padding: var(--spacing-xl);
    border-bottom: 1.5px solid var(--border);
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 5%, transparent), transparent);
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.modal-header h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    letter-spacing: -0.3px;
}

.modal-close {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.modal-close:hover {
    background: var(--surface);
    transform: rotate(90deg);
}

.modal-body {
    padding: var(--spacing-xl);
    overflow-y: auto;
    flex: 1;
}

.modal-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-top: 1.5px solid var(--border);
    background: var(--surface);
}

[dir="rtl"] .modal-actions {
    justify-content: flex-start;
}

.modal-text-content {
    color: var(--text);
    line-height: 1.7;
    font-size: 0.9375rem;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive - Modern Settings */
@media (max-width: 1200px) {
    .settings-grid {
        grid-template-columns: 1fr 340px;
        gap: var(--spacing-xl);
    }
}

@media (max-width: 1024px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .settings-sidebar {
        order: -1;
        position: static;
        max-height: none;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--spacing-lg);
    }

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

    .settings-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .settings-page {
        padding: var(--spacing-md);
    }

    .settings-header {
        margin-bottom: var(--spacing-xl);
        padding-bottom: var(--spacing-md);
    }

    .settings-title {
        font-size: 1.75rem;
    }

    .settings-subtitle {
        font-size: 0.9375rem;
    }

    .settings-main {
        gap: var(--spacing-lg);
    }

    .section-card-clean {
        padding: var(--spacing-lg);
        border-radius: 16px;
    }

    .section-title-bar h2 {
        font-size: 1.125rem;
    }

    .settings-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .settings-item:hover {
        transform: translateY(-2px);
    }

    [dir="rtl"] .settings-item:hover {
        transform: translateY(-2px);
    }

    .settings-item-content {
        width: 100%;
    }

    .settings-item-icon {
        width: 44px;
        height: 44px;
    }

    .btn-settings-action {
        width: 100%;
        justify-content: center;
    }

    .language-selector,
    .theme-selector {
        width: 100%;
        max-width: 100%;
    }

    .lang-btn,
    .theme-btn {
        flex: 1;
        justify-content: center;
    }

    .settings-sidebar {
        grid-template-columns: 1fr;
    }

    .platform-link:hover {
        transform: translateX(0);
    }

    [dir="rtl"] .platform-link:hover {
        transform: translateX(0);
    }

    .contact-item:hover {
        transform: translateX(0);
    }

    [dir="rtl"] .contact-item:hover {
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .settings-page {
        padding: var(--spacing-sm);
    }

    .settings-title {
        font-size: 1.5rem;
    }

    .section-card-clean {
        padding: var(--spacing-md);
        border-radius: 14px;
    }

    .settings-item {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .settings-item-icon {
        width: 40px;
        height: 40px;
    }

    .settings-item-title {
        font-size: 0.9375rem;
    }

    .settings-item-desc {
        font-size: 0.8125rem;
    }

    .modal-content {
        margin: var(--spacing-sm);
        border-radius: 16px;
    }

    .modal-header {
        padding: var(--spacing-lg);
    }

    .modal-body {
        padding: var(--spacing-lg);
    }

    .modal-actions {
        padding: var(--spacing-md) var(--spacing-lg);
        flex-direction: column-reverse;
    }

    .modal-actions .btn {
        width: 100%;
    }
}

/* About Page Styles - Modern Redesign */
.about-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    min-height: calc(100vh - 140px);
}

/* Hero Section - Enhanced */
.about-hero {
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary) 12%, transparent), 
        color-mix(in srgb, var(--primary) 5%, transparent));
    border-radius: 24px;
    padding: var(--spacing-2xl) var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
    border: 1.5px solid var(--border);
    box-shadow: 0 8px 32px rgba(62, 143, 106, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--primary));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.about-hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-logo-container {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
}

.about-logo {
    max-width: 280px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.15));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.about-logo:hover {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

[data-theme="dark"] .about-logo {
    max-width: 280px;
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.2));
}

[data-theme="dark"] .about-logo:hover {
    filter: drop-shadow(0 8px 24px rgba(255, 255, 255, 0.3));
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text);
    margin: var(--spacing-sm) 0 var(--spacing-md) 0;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.about-hero-tagline {
    font-size: 1.25rem;
    color: var(--muted);
    margin: 0 0 var(--spacing-lg) 0;
    font-weight: 500;
    line-height: 1.6;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(62, 143, 106, 0.1), transparent);
    transition: left 0.5s ease;
}

.about-hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.about-hero-badge:hover::before {
    left: 100%;
}

.about-hero-badge svg {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.about-hero-badge:hover svg {
    transform: scale(1.1);
}

/* Container */
.about-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

/* Section - Enhanced */
.about-section {
    background: var(--bg);
    border-radius: 24px;
    border: 1.5px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.about-section:hover::before {
    opacity: 1;
}

.about-section-header {
    padding: var(--spacing-xl) var(--spacing-xl);
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary) 8%, transparent), 
        color-mix(in srgb, var(--primary) 3%, transparent));
    border-bottom: 1.5px solid var(--border);
    position: relative;
}

.about-section-header .about-section-icon {
    margin-bottom: var(--spacing-md);
}

.about-section-header .about-section-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.about-section-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary) 20%, transparent), 
        color-mix(in srgb, var(--primary) 12%, transparent));
    color: var(--primary);
    flex-shrink: 0;
    border: 1.5px solid color-mix(in srgb, var(--primary) 25%, transparent);
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.15);
    transition: all 0.3s ease;
}

.about-section:hover .about-section-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(62, 143, 106, 0.25);
}

.about-section-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.3px;
}

.about-section-subtitle {
    font-size: 1.0625rem;
    color: var(--muted);
    margin: var(--spacing-sm) 0 0 0;
    line-height: 1.7;
    font-weight: 500;
}

.about-section-content {
    padding: var(--spacing-xl);
}

.about-intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text);
    margin: 0 0 var(--spacing-lg) 0;
    font-weight: 500;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--muted);
    margin: 0 0 var(--spacing-lg) 0;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* Features Grid - Enhanced */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.about-feature-card {
    padding: var(--spacing-xl);
    background: var(--surface);
    border-radius: 18px;
    border: 1.5px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary) 10%, transparent), 
        transparent);
    transition: height 0.4s ease;
}

.about-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(62, 143, 106, 0.15);
    border-color: var(--primary);
}

.about-feature-card:hover::before {
    height: 4px;
}

.about-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary) 18%, transparent), 
        color-mix(in srgb, var(--primary) 10%, transparent));
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    border: 1.5px solid color-mix(in srgb, var(--primary) 20%, transparent);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.about-feature-card:hover .about-feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(62, 143, 106, 0.25);
    border-color: var(--primary);
}

.about-feature-title {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 var(--spacing-sm) 0;
    letter-spacing: -0.2px;
}

.about-feature-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

/* Mission List - Enhanced */
.about-mission-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.about-mission-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--surface);
    border-radius: 14px;
    border: 1.5px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-mission-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary), transparent);
    transition: width 0.3s ease;
    opacity: 0.1;
}

.about-mission-item:hover {
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(62, 143, 106, 0.12);
    border-color: var(--primary);
    background: linear-gradient(90deg, 
        color-mix(in srgb, var(--primary) 5%, transparent), 
        var(--surface));
}

.about-mission-item:hover::before {
    width: 4px;
}

[dir="rtl"] .about-mission-item:hover {
    transform: translateX(-6px);
}

.about-mission-item svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.about-mission-item:hover svg {
    transform: scale(1.15);
}

.about-mission-item span {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    font-weight: 500;
}

/* Workflow Sections */
.about-workflow-section {
    margin-bottom: var(--spacing-2xl);
}

.about-workflow-section:last-of-type {
    margin-bottom: 0;
}

.about-workflow-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border);
}

.about-workflow-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.15), rgba(62, 143, 106, 0.08));
    color: var(--primary);
    flex-shrink: 0;
}

.about-workflow-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

/* Steps - Enhanced */
.about-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    position: relative;
}

.about-steps::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        var(--primary) 0%, 
        color-mix(in srgb, var(--primary) 50%, transparent) 100%);
    opacity: 0.3;
}

[dir="rtl"] .about-steps::before {
    left: auto;
    right: 24px;
}

.about-step {
    display: flex;
    gap: var(--spacing-xl);
    align-items: flex-start;
    position: relative;
    transition: all 0.3s ease;
}

.about-step:hover {
    transform: translateX(4px);
}

[dir="rtl"] .about-step:hover {
    transform: translateX(-4px);
}

.about-step-number {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    font-size: 1.375rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(62, 143, 106, 0.35);
    border: 3px solid var(--bg);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.about-step:hover .about-step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(62, 143, 106, 0.45);
}

.about-step-content {
    flex: 1;
    padding-top: 6px;
}

.about-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 var(--spacing-sm) 0;
    letter-spacing: -0.2px;
}

.about-step-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--muted);
    margin: 0;
}

.about-step-content h4.about-step-title {
    font-size: 1.1875rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.about-workflow-note {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary) 12%, transparent), 
        color-mix(in srgb, var(--primary) 5%, transparent));
    border-radius: 16px;
    border: 1.5px solid color-mix(in srgb, var(--primary) 20%, transparent);
    box-shadow: 0 4px 16px rgba(62, 143, 106, 0.1);
    transition: all 0.3s ease;
}

.about-workflow-note:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(62, 143, 106, 0.15);
    border-color: var(--primary);
}

.about-workflow-note svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
    width: 24px;
    height: 24px;
}

.about-workflow-note p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
    font-weight: 500;
}

.about-divider {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin: var(--spacing-2xl) 0;
    width: 100%;
}

.about-divider-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.about-divider-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted);
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Grid - Enhanced */
.about-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.about-contact-card {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--surface);
    border-radius: 18px;
    border: 1.5px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary) 10%, transparent), 
        transparent);
    transition: height 0.4s ease;
}

.about-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(62, 143, 106, 0.15);
    border-color: var(--primary);
}

.about-contact-card:hover::before {
    height: 4px;
}

.about-contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary) 18%, transparent), 
        color-mix(in srgb, var(--primary) 10%, transparent));
    color: var(--primary);
    flex-shrink: 0;
    border: 1.5px solid color-mix(in srgb, var(--primary) 20%, transparent);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.about-contact-card:hover .about-contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(62, 143, 106, 0.25);
    border-color: var(--primary);
}

.about-contact-info {
    flex: 1;
}

.about-contact-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--muted);
    margin: 0 0 var(--spacing-xs) 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.about-contact-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    letter-spacing: -0.2px;
}

.about-contact-value:hover {
    color: var(--primary);
    transform: translateX(4px);
}

[dir="rtl"] .about-contact-value:hover {
    transform: translateX(-4px);
}

/* Legal Section - Enhanced */
.about-legal {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.about-legal-item {
    border: 1.5px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    transition: all 0.3s ease;
}

.about-legal-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(62, 143, 106, 0.1);
}

.about-legal-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
}

.about-legal-toggle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary), transparent);
    transition: width 0.3s ease;
    opacity: 0.1;
}

.about-legal-toggle:hover {
    background: linear-gradient(90deg, 
        color-mix(in srgb, var(--primary) 5%, transparent), 
        transparent);
}

.about-legal-toggle:hover::before {
    width: 4px;
}

.about-legal-toggle span {
    flex: 1;
    position: relative;
    z-index: 1;
}

.about-legal-arrow {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.about-legal-item:has(.about-legal-content:not(.hidden)) .about-legal-arrow {
    transform: rotate(180deg);
}

.about-legal-content {
    padding: 0 var(--spacing-xl) var(--spacing-xl) var(--spacing-xl);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--muted);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-legal-content:not(.hidden) {
    max-height: 80vh;
    padding-top: var(--spacing-md);
    overflow-y: auto;
}

.about-legal-content:not(.hidden)::-webkit-scrollbar {
    width: 8px;
}

.about-legal-content:not(.hidden)::-webkit-scrollbar-track {
    background: var(--surface);
    border-radius: 4px;
}

.about-legal-content:not(.hidden)::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.about-legal-content:not(.hidden)::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

.about-legal-text {
    width: 100%;
}

.about-legal-content p {
    margin: 0 0 var(--spacing-md) 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.8;
}

.about-legal-content p:last-child {
    margin-bottom: 0;
}

.about-legal-content br {
    display: block;
    content: "";
    margin: var(--spacing-sm) 0;
}

.about-legal-content.hidden {
    display: block;
    max-height: 0;
    padding: 0 var(--spacing-xl);
    overflow: hidden;
}

/* Responsive - About Page */
@media (max-width: 1024px) {
    .about-page {
        padding: var(--spacing-lg);
    }

    .about-hero-title {
        font-size: 2.5rem;
    }

    .about-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-page {
        padding: var(--spacing-md);
    }

    .about-hero {
        padding: var(--spacing-xl) var(--spacing-lg);
        border-radius: 20px;
    }

    .about-hero-title {
        font-size: 2rem;
        margin: var(--spacing-sm) 0 var(--spacing-md) 0;
    }

    .about-logo {
        max-width: 200px;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    }

    [data-theme="dark"] .about-logo {
        max-width: 200px;
        filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
    }

    .about-hero-tagline {
        font-size: 1.0625rem;
        margin: 0 0 var(--spacing-md) 0;
    }

    .about-hero-badge {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .about-section {
        border-radius: 20px;
    }

    .about-section-header {
        padding: var(--spacing-lg);
    }

    .about-section-title {
        font-size: 1.5rem;
    }

    .about-section-icon {
        width: 48px;
        height: 48px;
    }

    .about-section-content {
        padding: var(--spacing-lg);
    }

    .about-features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-feature-card {
        padding: var(--spacing-lg);
    }

    .about-feature-icon {
        width: 48px;
        height: 48px;
    }

    .about-mission-item {
        padding: var(--spacing-md);
    }

    .about-mission-item:hover {
        transform: translateX(0);
    }

    [dir="rtl"] .about-mission-item:hover {
        transform: translateX(0);
    }

    .about-steps {
        gap: var(--spacing-lg);
    }

    .about-steps::before {
        left: 20px;
    }

    [dir="rtl"] .about-steps::before {
        right: 20px;
    }

    .about-step {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .about-step:hover {
        transform: translateX(0);
    }

    [dir="rtl"] .about-step:hover {
        transform: translateX(0);
    }

    .about-step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .about-step-content {
        padding-top: 0;
    }

    .about-step-title {
        font-size: 1.125rem;
    }

    .about-step-desc {
        font-size: 0.9375rem;
    }

    .about-workflow-note {
        padding: var(--spacing-lg);
    }

    .about-contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-contact-card {
        padding: var(--spacing-lg);
    }

    .about-contact-card:hover {
        transform: translateY(-2px);
    }

    .about-contact-icon {
        width: 48px;
        height: 48px;
    }

    .about-contact-value:hover {
        transform: translateX(0);
    }

    [dir="rtl"] .about-contact-value:hover {
        transform: translateX(0);
    }

    .about-legal-toggle {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
    }

    .about-legal-content {
        padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
    }

    .about-legal-content:not(.hidden) {
        padding-top: var(--spacing-sm);
    }

    .about-workflow-header {
        margin-bottom: var(--spacing-lg);
    }

    .about-workflow-title {
        font-size: 1.25rem;
    }

    .about-divider {
        margin: var(--spacing-xl) 0;
    }

    .about-divider-text {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .about-page {
        padding: var(--spacing-sm);
    }

    .about-hero {
        padding: var(--spacing-lg) var(--spacing-md);
        border-radius: 16px;
    }

    .about-hero-title {
        font-size: 1.75rem;
    }

    .about-logo {
        max-width: 160px;
    }

    [data-theme="dark"] .about-logo {
        max-width: 160px;
    }

    .about-hero-tagline {
        font-size: 1rem;
    }

    .about-hero-badge {
        padding: 8px 16px;
        font-size: 0.8125rem;
    }

    .about-section {
        border-radius: 16px;
    }

    .about-section-header {
        padding: var(--spacing-md);
    }

    .about-section-title {
        font-size: 1.375rem;
    }

    .about-section-icon {
        width: 44px;
        height: 44px;
    }

    .about-section-content {
        padding: var(--spacing-md);
    }

    .about-intro-text {
        font-size: 1rem;
    }

    .about-text {
        font-size: 0.9375rem;
    }

    .about-feature-card {
        padding: var(--spacing-md);
    }

    .about-feature-icon {
        width: 44px;
        height: 44px;
    }

    .about-feature-title {
        font-size: 1.0625rem;
    }

    .about-feature-desc {
        font-size: 0.875rem;
    }

    .about-mission-item {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .about-mission-item span {
        font-size: 0.9375rem;
    }

    .about-steps::before {
        left: 18px;
    }

    [dir="rtl"] .about-steps::before {
        right: 18px;
    }

    .about-step-number {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }

    .about-step-title {
        font-size: 1.0625rem;
    }

    .about-step-desc {
        font-size: 0.875rem;
    }

    .about-workflow-note {
        padding: var(--spacing-md);
    }

    .about-workflow-note p {
        font-size: 0.9375rem;
    }

    .about-contact-card {
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: center;
    }

    .about-contact-icon {
        width: 44px;
        height: 44px;
        margin: 0 auto;
    }

    .about-contact-value {
        font-size: 1rem;
    }

    .about-legal-toggle {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9375rem;
    }

    .about-legal-content {
        padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
        font-size: 0.9375rem;
    }

    .about-legal-content:not(.hidden) {
        max-height: 70vh;
    }
}

/* Help/FAQ Page Styles */
.help-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl);
}

/* Hero Section */
.help-hero {
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.1), rgba(62, 143, 106, 0.05));
    border-radius: 24px;
    padding: var(--spacing-2xl) var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
    border: 1px solid var(--border);
}

.help-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.help-hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.15), rgba(62, 143, 106, 0.08));
    border-radius: 20px;
    color: var(--primary);
}

.help-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 var(--spacing-md) 0;
}

.help-hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    margin: 0 0 var(--spacing-xl) 0;
}

/* Search Bar */
.help-search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.help-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.help-search-input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: all 0.2s ease;
}

.help-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(62, 143, 106, 0.1);
}

.help-search-input::placeholder {
    color: var(--muted);
}

/* Container */
.help-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

/* Section */
.help-section {
    background: var(--bg);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.help-section-header {
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.05), transparent);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.help-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 var(--spacing-sm) 0;
}

.help-section-desc {
    font-size: 1rem;
    color: var(--muted);
    margin: 0;
}

/* FAQ List */
.faq-list {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question-text {
    flex: 1;
    padding-right: var(--spacing-md);
}

.faq-arrow {
    flex-shrink: 0;
    color: var(--muted);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
    animation: slideDown 0.3s ease;
}

.faq-answer.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer-content {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border);
}

.faq-answer-content p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

/* Empty State */
.help-empty-state {
    padding: var(--spacing-2xl);
    text-align: center;
    color: var(--muted);
}

.help-empty-state svg {
    margin: 0 auto var(--spacing-lg);
    color: var(--muted);
    opacity: 0.5;
}

.help-empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 var(--spacing-sm) 0;
}

.help-empty-state p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Help Categories */
.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
}

.help-category-card {
    padding: var(--spacing-xl);
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.help-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.help-category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.15), rgba(62, 143, 106, 0.08));
    border-radius: 16px;
    color: var(--primary);
}

.help-category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 var(--spacing-sm) 0;
}

.help-category-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 var(--spacing-md) 0;
}

.help-category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.help-category-link:hover {
    gap: 10px;
    color: var(--primary-2);
}

/* Contact Section */
.help-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
}

.help-contact-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.help-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.help-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.15), rgba(62, 143, 106, 0.08));
    color: var(--primary);
    flex-shrink: 0;
}

.help-contact-info {
    flex: 1;
}

.help-contact-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted);
    margin: 0 0 var(--spacing-xs) 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.help-contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
    margin: 0;
}

.help-contact-value:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .help-page {
        padding: var(--spacing-md);
    }

    .help-hero {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .help-hero-title {
        font-size: 2rem;
    }

    .help-hero-icon {
        width: 64px;
        height: 64px;
    }

    .help-section-header {
        padding: var(--spacing-lg);
    }

    .help-categories {
        grid-template-columns: 1fr;
        padding: var(--spacing-lg);
    }

    .help-contact {
        grid-template-columns: 1fr;
        padding: var(--spacing-lg);
    }

    .faq-list {
        padding: var(--spacing-md);
    }

    .faq-question {
        padding: var(--spacing-md);
        font-size: 1rem;
    }
}

/* Auth Pages - Full Screen Split Layout */
.auth-page {
    margin-left: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    min-height: 100vh;
    overflow: hidden;
}

[dir="rtl"] .auth-page {
    margin-right: 0 !important;
}

/* Full Screen Container */
.auth-fullscreen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* 3D Perspective Container for Form Section */
.auth-form-section {
    perspective: 1500px;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.auth-form-container {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    backface-visibility: hidden;
}

/* Professional 3D Card Flip Animation */
.auth-flip-3d-out {
    animation: flip3DOut 0.6s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
    transform-origin: center center;
}

@keyframes flip3DOut {
    0% {
        opacity: 1;
        transform: rotateY(0deg) translateZ(0);
    }
    50% {
        opacity: 0.5;
        transform: rotateY(90deg) translateZ(-200px) scale(0.95);
    }
    100% {
        opacity: 0;
        transform: rotateY(180deg) translateZ(-400px) scale(0.9);
    }
}

/* Visual side parallax effect during flip */
.auth-flipping .auth-visual,
.auth-visual-parallax-out {
    animation: visualParallaxOut 0.6s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

@keyframes visualParallaxOut {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-30px) scale(1.05);
        opacity: 0.8;
    }
}

/* Enter animation - 3D flip in */
.auth-page-enter .auth-form-section {
    animation: flip3DIn 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
    transform-origin: center center;
}

@keyframes flip3DIn {
    0% {
        opacity: 0;
        transform: rotateY(-180deg) translateZ(-400px) scale(0.9);
    }
    50% {
        opacity: 0.5;
        transform: rotateY(-90deg) translateZ(-200px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: rotateY(0deg) translateZ(0) scale(1);
    }
}

/* Visual side parallax effect during enter */
.auth-page-enter .auth-visual {
    animation: visualParallaxIn 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

@keyframes visualParallaxIn {
    0% {
        transform: translateX(30px) scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Staggered form content animation */
.auth-page-enter .auth-form-container > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpStagger 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.auth-page-enter .auth-form-header {
    animation-delay: 0.3s;
}

.auth-page-enter .auth-form-fullscreen {
    animation-delay: 0.4s;
}

.auth-page-enter .auth-divider-fullscreen {
    animation-delay: 0.6s;
}

.auth-page-enter .auth-social-fullscreen {
    animation-delay: 0.7s;
}

.auth-page-enter .auth-footer-fullscreen {
    animation-delay: 0.8s;
}

@keyframes fadeInUpStagger {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Visual content stagger */
.auth-page-enter .auth-visual-content > * {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpVisual 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.auth-page-enter .auth-visual-logo {
    animation-delay: 0.1s;
}

.auth-page-enter .auth-visual-title {
    animation-delay: 0.2s;
}

.auth-page-enter .auth-visual-subtitle {
    animation-delay: 0.3s;
}

.auth-page-enter .auth-visual-features {
    animation-delay: 0.4s;
}

.auth-page-enter .auth-visual-features .auth-feature-item {
    animation-delay: calc(0.5s + var(--item-index, 0) * 0.1s);
}

@keyframes fadeInUpVisual {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth transition state */
.auth-transitioning {
    overflow: hidden;
}

/* Prevent layout shift */
.auth-visual,
.auth-form-section {
    will-change: transform, opacity;
}

/* RTL Support for 3D flip */
[dir="rtl"] .auth-flip-3d-out {
    animation: flip3DOutRTL 0.6s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

@keyframes flip3DOutRTL {
    0% {
        opacity: 1;
        transform: rotateY(0deg) translateZ(0);
    }
    50% {
        opacity: 0.5;
        transform: rotateY(-90deg) translateZ(-200px) scale(0.95);
    }
    100% {
        opacity: 0;
        transform: rotateY(-180deg) translateZ(-400px) scale(0.9);
    }
}

[dir="rtl"] .auth-page-enter .auth-form-section {
    animation: flip3DInRTL 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

@keyframes flip3DInRTL {
    0% {
        opacity: 0;
        transform: rotateY(180deg) translateZ(-400px) scale(0.9);
    }
    50% {
        opacity: 0.5;
        transform: rotateY(90deg) translateZ(-200px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: rotateY(0deg) translateZ(0) scale(1);
    }
}

[dir="rtl"] .auth-flipping .auth-visual,
[dir="rtl"] .auth-visual-parallax-out {
    animation: visualParallaxOutRTL 0.6s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

@keyframes visualParallaxOutRTL {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(30px) scale(1.05);
        opacity: 0.8;
    }
}

[dir="rtl"] .auth-page-enter .auth-visual {
    animation: visualParallaxInRTL 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

@keyframes visualParallaxInRTL {
    0% {
        transform: translateX(-30px) scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* ============================================
   My Projects Page - Premium Design
   ============================================ */

.projects-section-premium {
    margin-bottom: 40px;
}

.projects-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.projects-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
}

.projects-section-title svg {
    color: var(--primary);
    flex-shrink: 0;
}

.projects-section-badge {
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(62, 143, 106, 0.25);
}

.projects-section-header .section-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.projects-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg);
    border: 1.5px dashed var(--border);
    border-radius: 16px;
}

.projects-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, transparent), color-mix(in srgb, var(--primary) 5%, transparent));
    border-radius: 50%;
    color: var(--primary);
}

.projects-empty-icon svg {
    width: 40px;
    height: 40px;
}

.projects-empty-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.projects-empty-text {
    margin: 0 0 24px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.projects-empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(62, 143, 106, 0.25);
}

.projects-empty-state .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.35);
}

.card-detail-highlight {
    color: var(--primary);
    font-weight: 600;
}

.card-detail-highlight svg {
    color: var(--primary);
}

.card-status-badge--danger {
    background: color-mix(in srgb, var(--danger) 15%, transparent);
    color: var(--danger);
    border: 1.5px solid color-mix(in srgb, var(--danger) 40%, transparent);
}

/* ================================
   PROJECT CARD (Simple Premium)
   ================================ */

.project-card-simple {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 450px;
    width: 100%;
}

.project-card-simple::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-simple::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 3%, transparent), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.project-card-simple:hover {
    border-color: color-mix(in srgb, var(--primary) 60%, var(--border));
    box-shadow: 0 8px 24px rgba(62, 143, 106, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
    transform: translateY(-3px);
}

.project-card-simple:hover::before {
    transform: scaleX(1);
}

.project-card-simple:hover::after {
    opacity: 1;
}

.project-card-simple:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent), 
                0 8px 24px rgba(62, 143, 106, 0.12);
    border-color: color-mix(in srgb, var(--primary) 60%, var(--border));
}

.project-card-simple:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.1), 0 2px 4px rgba(0, 0, 0, 0.04);
}

.project-card-simple-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.project-card-simple-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.3px;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}

.project-card-simple-title::first-letter {
    text-transform: uppercase;
}

/* optional meta row */
.project-card-simple-meta {
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
    position: relative;
    z-index: 1;
}

.project-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--primary) 8%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--border));
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.project-card-simple:hover .project-chip {
    background: color-mix(in srgb, var(--primary) 12%, var(--surface));
    border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
    transform: scale(1.02);
}

.project-card-simple-meta > span:last-child {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-card-simple-meta > span:last-child::before {
    content: "•";
    color: color-mix(in srgb, var(--muted) 50%, transparent);
    margin-right: 2px;
}

/* action button */
.project-card-simple-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.25), 0 2px 4px rgba(62, 143, 106, 0.15);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.project-card-simple-action:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(62, 143, 106, 0.3), 0 4px 8px rgba(62, 143, 106, 0.2);
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.project-card-simple-action:active {
    transform: translateY(0) scale(0.98);
}

.project-card-simple-action svg {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.project-card-simple:hover .project-card-simple-action svg {
    transform: translateX(3px);
}

/* Status-specific chip colors */
.project-chip.status-open,
.project-chip[data-status="open"] {
    background: color-mix(in srgb, #3b82f6 8%, var(--surface));
    border-color: color-mix(in srgb, #3b82f6 20%, var(--border));
    color: #3b82f6;
}

.project-chip.status-in_progress,
.project-chip[data-status="in_progress"] {
    background: color-mix(in srgb, #f59e0b 8%, var(--surface));
    border-color: color-mix(in srgb, #f59e0b 20%, var(--border));
    color: #f59e0b;
}

.project-chip.status-completed,
.project-chip[data-status="completed"] {
    background: color-mix(in srgb, #10b981 8%, var(--surface));
    border-color: color-mix(in srgb, #10b981 20%, var(--border));
    color: #10b981;
}

.project-chip.status-cancelled,
.project-chip[data-status="cancelled"] {
    background: color-mix(in srgb, #ef4444 8%, var(--surface));
    border-color: color-mix(in srgb, #ef4444 20%, var(--border));
    color: #ef4444;
}

@media (max-width: 768px) {
    .project-card-simple {
        padding: 18px 20px;
        gap: 12px;
    }
    
    .project-card-simple-title {
        font-size: 16px;
    }
    
    .project-card-simple-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    
    .project-card-simple-action {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .project-card-simple-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 10px;
    }
    
    .project-card-simple-meta > span:last-child::before {
        display: none;
    }
}

/* Enhanced animations for projects page */
@keyframes statPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.stat-item {
    animation: statPulse 2s ease-in-out infinite;
    animation-delay: calc(var(--stat-index, 0) * 0.2s);
}

/* Responsive styles for projects page */
@media (max-width: 768px) {
    .projects-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .projects-section-title {
        font-size: 20px;
    }
    
    .projects-section-header .section-filters {
        width: 100%;
    }
    
    .projects-section-header .section-filters .filter-premium-btn {
        flex: 1;
        justify-content: center;
    }
    
    .projects-empty-state {
        padding: 40px 20px;
    }
    
    .projects-empty-icon {
        width: 60px;
        height: 60px;
    }
    
    .projects-empty-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* ============================================
   MOBILE MY PROJECTS - ORGANIZED & CLEAN
   (NO HEADER CHANGES)
   ============================================ */

@media (max-width: 768px) {
    .mobile-my-projects{
        padding: 16px;
        padding-bottom: calc(110px + env(safe-area-inset-bottom));
        background: var(--bg);
        min-height: 100vh;
    }

    .mobile-header {
        margin-bottom: 28px;
    }

    .mobile-header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0 16px 0;
        margin-bottom: 20px;
    }

    .mobile-menu-btn,
    .mobile-notification-btn {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: var(--surface);
        border: 1.5px solid var(--border);
        color: var(--text);
        cursor: pointer;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    }

    .mobile-menu-btn:active,
    .mobile-notification-btn:active {
        transform: scale(0.95);
    }

    .mobile-menu-btn:hover,
    .mobile-notification-btn:hover {
        background: color-mix(in srgb, var(--primary) 10%, var(--surface));
        border-color: color-mix(in srgb, var(--primary) 25%, var(--border));
        box-shadow: 0 4px 8px rgba(62, 143, 106, 0.12);
    }

    .mobile-logo-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-logo {
        height: 40px;
        width: auto;
    }

    .mobile-notification-btn {
        position: relative;
    }

    .mobile-badge {
        position: absolute;
        top: 4px;
        right: 4px;
        background: linear-gradient(135deg, var(--primary), var(--primary-2));
        color: white;
        font-size: 10px;
        font-weight: 800;
        padding: 3px 7px;
        border-radius: 12px;
        min-width: 20px;
        text-align: center;
        box-shadow: 0 2px 6px rgba(62, 143, 106, 0.4);
        border: 2px solid var(--bg);
    }

    .mobile-header-main{
        padding: 6px 0 2px;
        text-align: center;
    }

    .mobile-page-title{
        font-size: 26px;
        margin-bottom: 6px;
    }

    .mobile-page-subtitle{
        font-size: 13.5px;
        line-height: 1.55;
        max-width: 320px;
        margin: 0 auto;
    }

    /* Stats: cleaner + consistent */
    .mobile-stats-grid{
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin: 18px 0 18px;
    }

    .mobile-stat-card{
        background: color-mix(in srgb, var(--bg) 92%, var(--surface));
        border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
        border-radius: 16px;
        padding: 14px 10px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.04);
    }

    .mobile-stat-value{
        font-size: 22px;
        margin-bottom: 3px;
    }

    .mobile-stat-label{
        font-size: 11px;
        letter-spacing: 0.6px;
    }

    /* Tabs (add HTML for these - I'll give it below) */
    .mobile-projects-tabs{
        display: inline-flex;
        width: 100%;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 6px;
        gap: 6px;
        margin: 6px 0 18px;
        box-shadow: var(--shadow-sm);
    }

    .mobile-projects-tab{
        flex: 1;
        border: 0;
        background: transparent;
        color: var(--muted);
        font-weight: 800;
        font-size: 13px;
        padding: 10px 8px;
        border-radius: 12px;
        cursor: pointer;
        transition: 0.2s ease;
        letter-spacing: -0.2px;
    }

    .mobile-projects-tab.is-active{
        background: var(--bg);
        color: var(--text);
        border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
        box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    }

    /* Section as a card container */
    .mobile-section{
        margin-bottom: 18px;
    }

    .mobile-section-card{
        background: color-mix(in srgb, var(--bg) 92%, var(--surface));
        border: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
        border-radius: 18px;
        padding: 14px;
        box-shadow: 0 12px 28px rgba(0,0,0,0.04);
    }

    .mobile-section-head{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
    }

    .mobile-section-title{
        margin: 0;
        font-size: 16px;
        font-weight: 900;
        letter-spacing: -0.3px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-section-title::before{
        content: "";
        width: 6px;
        height: 18px;
        border-radius: 6px;
        background: var(--primary);
        display: inline-block;
    }

    .mobile-section-action{
        border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border));
        background: color-mix(in srgb, var(--primary) 10%, var(--surface));
        color: var(--text);
        border-radius: 12px;
        padding: 8px 10px;
        font-weight: 800;
        font-size: 12px;
        cursor: pointer;
        transition: 0.2s ease;
        white-space: nowrap;
    }

    .mobile-section-action:active{
        transform: translateY(1px);
    }

    /* Lists */
    .mobile-projects-list,
    .mobile-offers-list{
        display: grid;
        gap: 12px;
    }

    /* Project / offer cards (more compact, better hierarchy) */
    .mobile-project-card,
    .mobile-offer-card{
        background: var(--bg);
        border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
        border-radius: 16px;
        padding: 14px;
        margin: 0;
        box-shadow: 0 10px 22px rgba(0,0,0,0.04);
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
        overflow: hidden;
    }

    .mobile-project-card::before,
    .mobile-offer-card::before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--primary-2));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
        opacity: 0.9;
    }

    /* Touch-friendly interactions */
    .mobile-project-card:hover,
    .mobile-offer-card:hover{
        transform: none;
        box-shadow: 0 10px 22px rgba(0,0,0,0.04);
    }

    .mobile-project-card:active,
    .mobile-offer-card:active{
        transform: translateY(1px);
        border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
        box-shadow: 0 8px 18px rgba(0,0,0,0.06);
    }

    /* Clamp text so cards don't become huge */
    .mobile-project-card h3,
    .mobile-offer-card h3{
        font-size: 15px;
        margin: 0 0 8px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mobile-project-card p{
        font-size: 13px;
        margin: 0 0 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mobile-project-meta,
    .mobile-offer-meta{
        padding-top: 10px;
        border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }

    .mobile-project-meta .status-badge,
    .mobile-offer-meta .status-badge {
        padding: 5px 10px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mobile-project-meta > span:last-child {
        font-size: 12px;
        color: var(--muted);
        font-weight: 600;
    }

    .mobile-offer-meta > span:last-child {
        font-size: 13px;
        color: var(--text);
        font-weight: 700;
    }

    /* Empty state: smaller + nicer */
    .mobile-empty{
        background: var(--bg);
        border: 1px dashed color-mix(in srgb, var(--border) 70%, transparent);
        border-radius: 16px;
        padding: 18px 14px;
        font-size: 13px;
        color: var(--muted);
        box-shadow: 0 10px 22px rgba(0,0,0,0.03);
        text-align: center;
    }

    .mobile-empty .empty-cta{
        margin-top: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 9px 12px;
        border-radius: 12px;
        border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--border));
        background: color-mix(in srgb, var(--primary) 10%, var(--surface));
        color: var(--text);
        font-weight: 900;
        font-size: 12px;
        text-decoration: none;
    }

    /* Optional: hide sections when tab switching */
    .mobile-tab-panel[hidden]{
        display: none !important;
    }
}

/* ============================================
   Profile Page Styles - Modern Design
   ============================================ */

.profile-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Profile Header - Premium Design */
.profile-header {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 48px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2), #8b5cf6);
    opacity: 0.8;
}

.profile-header:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.profile-header-avatar {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid var(--bg);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-header-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-header-avatar-fallback {
    font-size: 56px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.profile-header-avatar-edit {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: 4px solid var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.4);
    z-index: 10;
}

.profile-header-avatar-edit:hover {
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 6px 16px rgba(62, 143, 106, 0.5);
}

.profile-header-avatar-edit:active {
    transform: scale(1.05) rotate(90deg);
}

.profile-header-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-header-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-header-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
}

.profile-header-location svg {
    flex-shrink: 0;
    color: var(--primary);
}

.profile-header-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.1), rgba(62, 143, 106, 0.05));
    border: 1px solid rgba(62, 143, 106, 0.2);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}

.profile-header-name {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text), var(--muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-header-rating {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(251, 191, 36, 0.2);
    width: fit-content;
}

.profile-header-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-header-stars svg {
    width: 20px;
    height: 20px;
}

.profile-header-stars .star-filled {
    fill: #fbbf24;
    color: #fbbf24;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.profile-header-stars .star-empty {
    fill: none;
    stroke: #d1d5db;
    color: #d1d5db;
}

.profile-header-rating-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
}

.profile-header-rating-count {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

/* Bio Section */
.profile-bio-section {
    margin-bottom: 32px;
    order: 0; /* Default order for desktop */
}

.profile-bio-card {
    background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.profile-bio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    opacity: 0.6;
}

.profile-bio-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.profile-bio-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.profile-bio-header svg {
    color: var(--primary);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.15), rgba(62, 143, 106, 0.08));
    border-radius: 10px;
}

.profile-bio-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.3px;
}

.profile-bio-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
    white-space: pre-wrap;
}

/* Content Grid */
.profile-content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
}

.profile-header {
    order: 0; /* Default order for desktop */
}

.profile-left-section {
    order: 0; /* Default order for desktop */
}

.profile-right-section {
    order: 0; /* Default order for desktop */
}

/* Section Cards - Modern Card Design */
.profile-section-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.profile-section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-section-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.profile-section-card:hover::before {
    opacity: 1;
}

.profile-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 28px 0;
    letter-spacing: -0.3px;
}

.profile-section-title svg {
    color: var(--primary);
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    padding: 8px;
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.15), rgba(62, 143, 106, 0.08));
    border-radius: 12px;
}

/* Left Section: Edit Profile */
.profile-left-section {
    display: flex;
    flex-direction: column;
}

.profile-edit-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.profile-form-input {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.profile-form-input:hover {
    border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
    background: var(--bg);
}

.profile-form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(62, 143, 106, 0.12);
    background: var(--bg);
    transform: translateY(-1px);
}

.profile-form-input::placeholder {
    color: var(--muted);
}

.profile-form-hint {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

/* Password Field Header */
.profile-password-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.profile-change-password-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.profile-change-password-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(62, 143, 106, 0.2);
}

.profile-change-password-btn:active {
    transform: translateY(0);
}

.profile-change-password-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

/* Password Field Wrapper */
.profile-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-password-wrapper .profile-form-input {
    padding-right: 50px;
}

.profile-password-toggle {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1;
}

.profile-password-toggle:hover {
    background: var(--surface);
    color: var(--text);
}

.profile-password-toggle:active {
    transform: scale(0.95);
}

.profile-password-toggle svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Skills Input Wrapper */
.profile-skill-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.profile-skill-add-btn {
    display: none; /* Hidden by default on larger screens */
    position: absolute;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(62, 143, 106, 0.25);
    flex-shrink: 0;
    z-index: 1;
    align-items: center;
    justify-content: center;
}

.profile-skill-add-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.35);
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.profile-skill-add-btn:active {
    transform: translateY(0) scale(0.98);
}

.profile-skill-add-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

/* Skills - Modern Chip Design */
.profile-skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.03), rgba(62, 143, 106, 0.01));
    border-radius: 16px;
    border: 1px dashed var(--border);
    min-height: 60px;
}

.profile-skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
    color: #3b82f6;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.1);
}

.profile-skill-chip:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
    border-color: #3b82f6;
}

.profile-skill-remove {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.profile-skill-remove:hover {
    opacity: 1;
}

/* Projects - Enhanced Modern Design */
.profile-project-item {
    padding: 28px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 18px;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.profile-project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--primary-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-project-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(62, 143, 106, 0.18);
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
}

.profile-project-item:hover::before {
    opacity: 1;
}

.profile-project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.profile-project-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-project-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.15), rgba(62, 143, 106, 0.08));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-project-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.3px;
}

.profile-project-remove {
    background: var(--surface);
    border: 2px solid var(--border);
    color: var(--muted);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 36px;
    height: 36px;
}

.profile-project-remove:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.profile-project-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-project-field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-project-field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-project-field-label svg {
    color: var(--primary);
    flex-shrink: 0;
}

.profile-project-input,
.profile-project-textarea {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    width: 100%;
}

.profile-project-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.profile-project-input:hover,
.profile-project-textarea:hover {
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
    background: var(--bg);
}

.profile-project-input:focus,
.profile-project-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(62, 143, 106, 0.12);
    background: var(--bg);
    transform: translateY(-1px);
}

.profile-project-input::placeholder,
.profile-project-textarea::placeholder {
    color: var(--muted);
    opacity: 0.7;
}

.profile-project-field {
    margin-bottom: 12px;
}

.profile-project-field:last-child {
    margin-bottom: 0;
}

.profile-add-project-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--surface);
    border: 2px dashed var(--border);
    border-radius: 14px;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.profile-add-project-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(62, 143, 106, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.profile-add-project-btn:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.08), rgba(62, 143, 106, 0.03));
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.2);
}

.profile-add-project-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Profile Project View Mode */
.profile-project-item--view {
    padding: 20px 24px;
}

.profile-project-view-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.profile-project-view-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.profile-project-view-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.2px;
}

.profile-project-view-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.profile-project-edit-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(62, 143, 106, 0.2);
}

.profile-project-edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.3);
}

.profile-project-edit-btn:active {
    transform: translateY(0);
}

.profile-project-edit-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.profile-project-item--view .profile-project-remove {
    width: 32px;
    height: 32px;
    padding: 6px;
}

/* Responsive for view mode */
@media (max-width: 768px) {
    .profile-project-view-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .profile-project-view-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .profile-project-edit-btn {
        flex: 1;
        justify-content: center;
    }
}

/* Form Actions */
.profile-form-actions {
    margin-top: 8px;
}

.profile-save-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(62, 143, 106, 0.3);
    position: relative;
    overflow: hidden;
}

.profile-save-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.profile-save-btn:hover {
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(62, 143, 106, 0.4);
}

.profile-save-btn:hover::before {
    width: 300px;
    height: 300px;
}

.profile-save-btn:active {
    transform: translateY(-1px);
}

/* Quick Actions */
.profile-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-quick-action-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
    border: 2px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.profile-quick-action-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--primary-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-quick-action-item:hover {
    border-color: var(--primary);
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(62, 143, 106, 0.15);
}

.profile-quick-action-item:hover::before {
    opacity: 1;
}

.profile-quick-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.profile-quick-action-item:hover .profile-quick-action-icon {
    transform: scale(1.1);
}

.profile-quick-action-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
    color: #3b82f6;
}

.profile-quick-action-green {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.15), rgba(22, 163, 74, 0.08));
    color: var(--success);
}

.profile-quick-action-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.08));
    color: #8b5cf6;
}

.profile-quick-action-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.08));
    color: var(--warning);
}

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

.profile-quick-action-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.profile-quick-action-desc {
    font-size: 13px;
    color: var(--muted);
}

.profile-quick-action-arrow {
    flex-shrink: 0;
    color: var(--muted);
    transition: all 0.3s ease;
}

.profile-quick-action-item:hover .profile-quick-action-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* Recent Activity */
.profile-activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.profile-activity-item:hover {
    background: var(--bg);
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(62, 143, 106, 0.1);
}

.profile-activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-activity-primary {
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.15), rgba(62, 143, 106, 0.08));
    color: var(--primary);
}

.profile-activity-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.08));
    color: var(--warning);
}

.profile-activity-success {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.15), rgba(22, 163, 74, 0.08));
    color: var(--success);
}

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

.profile-activity-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-activity-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-activity-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
}

.profile-status-primary {
    background: rgba(62, 143, 106, 0.1);
    color: var(--primary);
}

.profile-status-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.profile-status-success {
    background: rgba(22, 163, 74, 0.1);
    color: var(--success);
}

.profile-activity-time {
    font-size: 12px;
    color: var(--muted);
}

.profile-activity-arrow {
    flex-shrink: 0;
    color: var(--muted);
    transition: all 0.3s ease;
}

.profile-activity-item:hover .profile-activity-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

.profile-view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.profile-view-all-link:hover {
    background: rgba(62, 143, 106, 0.1);
    transform: translateY(-2px);
}

.profile-view-all-link svg {
    transition: transform 0.3s ease;
}

.profile-view-all-link:hover svg {
    transform: translateX(4px);
}

/* Right Section: Profile Completion & Danger Zone */
.profile-right-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Profile Completion - Premium Design */
.profile-completion-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.profile-completion-progress {
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-completion-circle {
    position: relative;
    width: 180px;
    height: 180px;
    filter: drop-shadow(0 4px 12px rgba(62, 143, 106, 0.2));
}

.profile-completion-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.profile-completion-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 10;
    opacity: 0.3;
}

.profile-completion-fill {
    fill: none;
    stroke: url(#profileCompletionGradient);
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(62, 143, 106, 0.3));
}

/* Add gradient definition */
.profile-completion-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.1), rgba(62, 143, 106, 0.05));
    z-index: -1;
}

.profile-completion-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text), var(--muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-completion-tips {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-completion-tip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--surface);
    border-radius: 12px;
    font-size: 14px;
    color: var(--muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: default;
}

.profile-completion-tip:hover {
    background: var(--bg);
    transform: translateX(4px);
}

.profile-completion-tip.completed {
    color: var(--text);
    background: linear-gradient(135deg, rgba(62, 143, 106, 0.12), rgba(62, 143, 106, 0.06));
    border-color: rgba(62, 143, 106, 0.2);
    font-weight: 500;
}

.profile-completion-tip svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    padding: 4px;
    background: rgba(62, 143, 106, 0.1);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
}

.profile-completion-tip.completed svg {
    background: rgba(22, 163, 74, 0.15);
    color: var(--success);
    transform: scale(1.1);
}

/* Danger Zone - Enhanced Design */
.profile-danger-zone {
    border: 2px solid var(--danger);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.03));
    position: relative;
    overflow: hidden;
}

.profile-danger-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--danger), #dc2626);
    opacity: 0.8;
}

.profile-danger-title {
    color: var(--danger);
}

.profile-danger-title svg {
    color: var(--danger);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.08));
}

.profile-danger-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-danger-description {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.profile-danger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border: 2px solid var(--border);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg);
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.profile-logout-btn {
    border-color: var(--warning);
    color: var(--warning);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(245, 158, 11, 0.02));
}

.profile-logout-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.profile-logout-btn:hover {
    background: linear-gradient(135deg, var(--warning), #f59e0b);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    border-color: var(--warning);
}

.profile-logout-btn:hover::before {
    width: 300px;
    height: 300px;
}

.profile-delete-btn {
    border-color: var(--danger);
    color: var(--danger);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(239, 68, 68, 0.02));
}

.profile-delete-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.profile-delete-btn:hover {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    border-color: var(--danger);
}

.profile-delete-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Help & Support Section */
.profile-help-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.02));
    border-color: rgba(59, 130, 246, 0.2);
}

.profile-help-section::before {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    opacity: 0.6;
}

.profile-help-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-help-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.profile-help-item:hover {
    background: var(--bg);
    border-color: #3b82f6;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.profile-help-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.profile-help-item:hover .profile-help-icon {
    transform: scale(1.1);
}

.profile-help-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
    color: #3b82f6;
}

.profile-help-green {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.15), rgba(22, 163, 74, 0.08));
    color: var(--success);
}

.profile-help-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.08));
    color: #8b5cf6;
}

.profile-help-text {
    flex: 1;
    min-width: 0;
}

.profile-help-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.profile-help-desc {
    font-size: 13px;
    color: var(--muted);
}

.profile-help-arrow {
    flex-shrink: 0;
    color: var(--muted);
    transition: all 0.3s ease;
}

.profile-help-item:hover .profile-help-arrow {
    color: #3b82f6;
    transform: translateX(4px);
}

.profile-help-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.profile-help-contact {
    padding: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.03));
    border: 2px dashed rgba(59, 130, 246, 0.3);
    border-radius: 14px;
    text-align: center;
}

.profile-help-contact-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.profile-help-contact-desc {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
}

.profile-help-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.profile-help-contact-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.profile-help-contact-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .profile-content-grid {
        grid-template-columns: 1fr;
    }

    .profile-right-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    /* Mobile Layout Reordering */
    .profile-page-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Order sections for mobile - lower number = appears first */
    .profile-header.profile-mobile-order-1 {
        order: -100 !important; /* Header first - users see this first */
    }

    .profile-bio-section.profile-mobile-order-2 {
        order: -99; /* About section second */
    }

    .profile-section-card.profile-mobile-order-3 {
        order: -98; /* Edit Profile third */
    }

    .profile-section-card.profile-mobile-order-4 {
        order: -97; /* Profile Completion fourth */
    }

    .profile-section-card.profile-mobile-order-5 {
        order: -96; /* Danger Zone last */
    }

    /* Hide sections on mobile */
    .profile-mobile-hide {
        display: none !important;
    }

    /* Reset content grid for mobile - flatten structure */
    .profile-content-grid {
        display: contents; /* Remove grid wrapper, let items be direct children */
        order: 0; /* Default order for grid container - won't interfere with header */
    }
    
    /* Ensure header is always first by making it a direct child with highest priority */
    .profile-page-container > .profile-header {
        order: -100 !important;
    }

    .profile-left-section,
    .profile-right-section {
        display: contents; /* Remove wrapper, let cards be direct children for ordering */
    }

    /* Ensure cards maintain their styling when unwrapped */
    .profile-left-section > .profile-section-card,
    .profile-right-section > .profile-section-card {
        display: block;
        margin-bottom: 20px;
    }

    /* Make sure header appears before content grid */
    .profile-header {
        margin-bottom: 20px;
    }
    .profile-page-container {
        padding: 16px 12px;
    }

    /* Profile Header - Mobile */
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 20px;
        gap: 20px;
        border-radius: 20px;
    }

    .profile-header-avatar {
        width: 120px;
        height: 120px;
        border-width: 4px;
    }

    .profile-header-avatar-edit {
        width: 38px;
        height: 38px;
        bottom: 4px;
        right: 4px;
        border-width: 3px;
    }

    .profile-header-avatar-fallback {
        font-size: 42px;
    }

    .profile-header-info {
        width: 100%;
        align-items: center;
    }

    .profile-header-top {
        width: 100%;
        align-items: center;
    }

    .profile-header-name {
        font-size: 26px;
        text-align: center;
    }

    .profile-header-location {
        justify-content: center;
    }

    .profile-header-rating {
        justify-content: center;
        width: 100%;
    }

    .profile-header-meta {
        justify-content: center;
        width: 100%;
    }

    /* Bio Section - Mobile */
    .profile-bio-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .profile-bio-title {
        font-size: 18px;
    }

    .profile-bio-text {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Section Cards - Mobile */
    .profile-section-card {
        padding: 24px 20px;
        border-radius: 20px;
        margin-bottom: 20px;
    }

    .profile-section-title {
        font-size: 20px;
        margin-bottom: 20px;
        gap: 10px;
    }

    .profile-section-title svg {
        width: 22px;
        height: 22px;
        padding: 6px;
    }

    /* Form Fields - Mobile */
    .profile-edit-form {
        gap: 20px;
    }

    .profile-form-field {
        gap: 8px;
    }

    .profile-form-label {
        font-size: 13px;
    }

    .profile-form-input {
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 12px;
    }

    .profile-form-hint {
        font-size: 12px;
    }

    /* Hide hint text for skills on mobile */
    .profile-skill-hint {
        display: none;
    }

    /* Skills - Mobile */
    .profile-skills-container {
        padding: 12px;
        gap: 10px;
        min-height: 50px;
    }

    .profile-skill-chip {
        padding: 8px 14px;
        font-size: 13px;
    }

    /* Show add button on mobile */
    .profile-skill-add-btn {
        display: flex;
    }

    .profile-skill-input-wrapper .profile-form-input {
        padding-right: 60px; /* Make room for the button */
    }

    /* Projects - Mobile */
    .profile-project-item {
        padding: 20px 16px;
        border-radius: 16px;
        margin-bottom: 16px;
    }

    .profile-project-header {
        margin-bottom: 20px;
        padding-bottom: 14px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .profile-project-header-left {
        flex: 1;
        min-width: 0;
    }

    .profile-project-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .profile-project-icon svg {
        width: 18px;
        height: 18px;
    }

    .profile-project-title {
        font-size: 16px;
    }

    .profile-project-remove {
        width: 32px;
        height: 32px;
        padding: 6px;
    }

    .profile-project-remove svg {
        width: 16px;
        height: 16px;
    }

    .profile-project-fields {
        gap: 16px;
    }

    .profile-project-field-wrapper {
        gap: 8px;
    }

    .profile-project-field-label {
        font-size: 12px;
        gap: 6px;
    }

    .profile-project-field-label svg {
        width: 14px;
        height: 14px;
    }

    .profile-project-input,
    .profile-project-textarea {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 10px;
    }

    .profile-project-textarea {
        min-height: 90px;
    }

    /* Quick Actions - Mobile */
    .profile-quick-actions {
        gap: 10px;
    }

    .profile-quick-action-item {
        padding: 14px;
        gap: 12px;
        border-radius: 14px;
    }

    .profile-quick-action-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .profile-quick-action-icon svg {
        width: 18px;
        height: 18px;
    }

    .profile-quick-action-title {
        font-size: 14px;
    }

    .profile-quick-action-desc {
        font-size: 12px;
    }

    .profile-quick-action-arrow {
        width: 16px;
        height: 16px;
    }

    /* Recent Activity - Mobile */
    .profile-activity-list {
        gap: 8px;
    }

    .profile-activity-item {
        padding: 14px;
        gap: 12px;
        border-radius: 12px;
    }

    .profile-activity-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .profile-activity-icon svg {
        width: 16px;
        height: 16px;
    }

    .profile-activity-title {
        font-size: 13px;
    }

    .profile-activity-meta {
        gap: 8px;
        flex-wrap: wrap;
    }

    .profile-activity-status {
        font-size: 11px;
        padding: 3px 8px;
    }

    .profile-activity-time {
        font-size: 11px;
    }

    .profile-view-all-link {
        padding: 10px;
        font-size: 13px;
    }

    /* Stats Grid - Mobile */
    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .profile-stat-item {
        padding: 16px 12px;
        gap: 12px;
        border-radius: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-stat-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .profile-stat-icon svg {
        width: 20px;
        height: 20px;
    }

    .profile-stat-value {
        font-size: 20px;
    }

    .profile-stat-label {
        font-size: 12px;
    }

    /* Verification - Mobile */
    .profile-verification-content {
        gap: 10px;
    }

    .profile-verification-item {
        padding: 14px;
        gap: 12px;
        border-radius: 12px;
    }

    .profile-verification-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .profile-verification-icon svg {
        width: 18px;
        height: 18px;
    }

    .profile-verification-label {
        font-size: 13px;
    }

    .profile-verification-status {
        font-size: 12px;
    }

    /* Profile Completion - Mobile */
    .profile-completion-content {
        gap: 24px;
    }

    .profile-completion-circle {
        width: 140px;
        height: 140px;
    }

    .profile-completion-percentage {
        font-size: 28px;
    }

    .profile-completion-tips {
        gap: 10px;
    }

    .profile-completion-tip {
        padding: 12px 14px;
        gap: 12px;
        border-radius: 10px;
        font-size: 13px;
    }

    .profile-completion-tip svg {
        width: 16px;
        height: 16px;
        padding: 3px;
    }

    /* Help & Support - Mobile */
    .profile-help-content {
        gap: 10px;
    }

    .profile-help-item {
        padding: 14px;
        gap: 12px;
        border-radius: 12px;
    }

    .profile-help-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .profile-help-icon svg {
        width: 18px;
        height: 18px;
    }

    .profile-help-title {
        font-size: 14px;
    }

    .profile-help-desc {
        font-size: 12px;
    }

    .profile-help-arrow {
        width: 16px;
        height: 16px;
    }

    .profile-help-contact {
        padding: 18px 16px;
        border-radius: 12px;
    }

    .profile-help-contact-title {
        font-size: 15px;
    }

    .profile-help-contact-desc {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .profile-help-contact-btn {
        padding: 12px 18px;
        font-size: 13px;
        border-radius: 10px;
        width: 100%;
    }

    /* Danger Zone - Mobile */
    .profile-danger-content {
        gap: 12px;
    }

    .profile-danger-description {
        font-size: 13px;
    }

    .profile-danger-btn {
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 12px;
        width: 100%;
        justify-content: center;
    }

    /* Form Actions - Mobile */
    .profile-form-actions {
        margin-top: 4px;
    }

    .profile-save-btn {
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 12px;
        width: 100%;
    }

    /* Add Project Button - Mobile */
    .profile-add-project-btn {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 12px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .profile-page-container {
        padding: 12px 8px;
    }

    .profile-header {
        padding: 24px 16px;
        gap: 16px;
    }

    .profile-header-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-header-avatar-fallback {
        font-size: 36px;
    }

    .profile-header-name {
        font-size: 22px;
    }

    .profile-section-card {
        padding: 20px 16px;
    }

    .profile-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .profile-stat-item {
        flex-direction: row;
        align-items: center;
    }

    .profile-completion-circle {
        width: 120px;
        height: 120px;
    }

    .profile-completion-percentage {
        font-size: 24px;
    }
}

/* Statistics Grid */
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.profile-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
    border: 2px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.profile-stat-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 143, 106, 0.15);
}

.profile-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.profile-stat-icon svg {
    width: 24px;
    height: 24px;
}

.profile-stat-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
    color: #3b82f6;
}

.profile-stat-green {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.15), rgba(22, 163, 74, 0.08));
    color: var(--success);
}

.profile-stat-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.08));
    color: #8b5cf6;
}

.profile-stat-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.08));
    color: var(--warning);
}

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

.profile-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.profile-stat-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

/* Verification Section */
.profile-verification-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-verification-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-verification-item.verified {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(22, 163, 74, 0.03));
    border-color: rgba(22, 163, 74, 0.2);
}

.profile-verification-item:hover {
    background: var(--bg);
    transform: translateX(4px);
    border-color: var(--primary);
}

.profile-verification-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--surface);
    transition: all 0.3s ease;
}

.profile-verification-item.verified .profile-verification-icon {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.15), rgba(22, 163, 74, 0.08));
    color: var(--success);
}

.profile-verification-item:not(.verified) .profile-verification-icon {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(107, 114, 128, 0.08));
    color: var(--muted);
}

.profile-verification-text {
    flex: 1;
    min-width: 0;
}

.profile-verification-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.profile-verification-status {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.profile-verification-item.verified .profile-verification-status {
    color: var(--success);
    font-weight: 600;
}

@media (max-width: 768px) {
    .profile-page-container {
        padding: 16px;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }

    .profile-header-avatar {
        width: 140px;
        height: 140px;
    }

    .profile-header-name {
        font-size: 28px;
    }

    .profile-section-card {
        padding: 24px;
        border-radius: 20px;
    }

    .profile-section-title {
        font-size: 22px;
    }

    .profile-completion-circle {
        width: 160px;
        height: 160px;
    }

    .profile-completion-percentage {
        font-size: 32px;
    }

    .profile-stats-grid {
        grid-template-columns: 1fr;
    }
}