/**
 * Career Pathway - Intelligent Editorial Matching
 * Premium magazine aesthetic with smart learning
 * 
 * @package SkillFarm
 * @since 1.0.0
 */

/* Premium Editorial Palette */
:root {
    --editorial-cream: #FAF7F2;
    --editorial-ivory: #FFFEF9;
    --editorial-sophisticate-green: #275947;
    --editorial-black: #0A0A0A;
    --editorial-gold: #C9A961;
    --editorial-grey: #6B6B6B;
    --editorial-light-grey: #E8E6E1;
    --editorial-border: rgba(10, 10, 10, 0.08);
    --editorial-success: #275947;
    --editorial-reject: #8B2C2C;
}

/* Premium Typography */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Bebas+Neue&family=DM+Sans:wght@400;500;700&display=swap');

/* ========================================
   INTELLIGENT CONTAINER
   ======================================== */

.sffc-intelligent-pathway {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--editorial-ivory);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.sffc-intelligent-pathway.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   MASTHEAD WITH INTELLIGENCE INDICATOR
   ======================================== */

.sffc-intelligent-masthead {
    background: var(--editorial-ivory);
    border-bottom: 1px solid var(--editorial-black);
    padding: 24px 0;
    position: relative;
    z-index: 100;
}

.sffc-masthead-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sffc-masthead-brand {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.sffc-masthead-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    letter-spacing: 2px;
    color: var(--editorial-black);
}

.sffc-masthead-ai {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--editorial-cream);
    border: 1px solid var(--editorial-sophisticate-green);
    border-radius: 20px;
}

.sffc-ai-indicator {
    width: 8px;
    height: 8px;
    background: var(--editorial-sophisticate-green);
    border-radius: 50%;
    animation: aiPulse 2s infinite;
}

@keyframes aiPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.sffc-ai-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--editorial-sophisticate-green);
    font-weight: 500;
}

.sffc-masthead-close {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--editorial-black);
    color: var(--editorial-black);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sffc-masthead-close:hover {
    background: var(--editorial-black);
    color: var(--editorial-ivory);
}

/* ========================================
   SENNA INTELLIGENCE BAR - COMPACT
   ======================================== */

.sffc-senna-intelligence {
    background: linear-gradient(to right, var(--editorial-cream), rgba(250, 247, 242, 0.95));
    border-bottom: 1px solid var(--editorial-border);
    padding: 12px 0;
}

.sffc-senna-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sffc-senna-insight {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.sffc-senna-avatar {
    width: 32px;
    height: 32px;
    background: var(--editorial-sophisticate-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--editorial-ivory);
    font-family: 'Crimson Text', serif;
    font-size: 18px;
    font-weight: 600;
}

.sffc-senna-message {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 1.3;
    color: var(--editorial-black);
}

.sffc-senna-message strong {
    color: var(--editorial-sophisticate-green);
    font-weight: 600;
}

.sffc-match-stats {
    display: flex;
    gap: 20px;
}

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

.sffc-stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    color: var(--editorial-sophisticate-green);
    line-height: 1;
}

.sffc-stat-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--editorial-grey);
}

/* ========================================
   SMART FILTERS
   ======================================== */

.sffc-smart-filters {
    background: var(--editorial-ivory);
    padding: 20px 0;
    border-bottom: 3px double var(--editorial-black);
}

.sffc-filters-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.sffc-filter-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--editorial-grey);
}

.sffc-filter-pills {
    display: flex;
    gap: 12px;
    flex: 1;
}

.sffc-filter-pill {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--editorial-border);
    border-radius: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--editorial-black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sffc-filter-pill:hover {
    border-color: var(--editorial-sophisticate-green);
    color: var(--editorial-sophisticate-green);
}

.sffc-filter-pill.active {
    background: var(--editorial-sophisticate-green);
    border-color: var(--editorial-sophisticate-green);
    color: var(--editorial-ivory);
}

/* ========================================
   THREE CARD LAYOUT
   ======================================== */

.sffc-cards-container {
    width: 100%;
    margin: 30px auto;
    padding: 0 60px 40px;
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
    min-height: 500px;
    position: relative;
    overflow: visible;
    flex: 1;
    transition: all 0.3s ease;
}

/* Individual Card - Responsive Size */
.sffc-match-card {
    flex: 0 0 360px;
    width: 360px;
    max-width: 360px;
    background: var(--editorial-ivory);
    border: 1px solid var(--editorial-border);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    height: fit-content;
    max-height: 580px;
    opacity: 1;
    visibility: visible;
}

/* When shortlist is open, make cards smaller */
.sffc-intelligent-pathway.shortlist-open .sffc-match-card {
    flex: 0 0 320px;
    width: 320px;
    max-width: 320px;
}

.sffc-match-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

/* Match Score Badge */
.sffc-match-indicator {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--editorial-sophisticate-green);
    color: var(--editorial-ivory);
    padding: 8px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Card Header */
.sffc-card-header {
    padding: 24px;
    border-bottom: 1px solid var(--editorial-border);
}

.sffc-company-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.sffc-company-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 1.5px;
    color: var(--editorial-black);
}

.sffc-company-type {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--editorial-gold);
}

/* Card Content */
.sffc-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 350px;
}

.sffc-role-title {
    font-family: 'Crimson Text', serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--editorial-black);
    margin-bottom: 10px;
}

.sffc-role-location {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--editorial-grey);
    margin-bottom: 20px;
}

.sffc-salary-box {
    background: var(--editorial-cream);
    border-left: 3px solid var(--editorial-sophisticate-green);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.sffc-salary-amount {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    color: var(--editorial-black);
}

.sffc-key-points {
    flex: 1;
    margin-bottom: 16px;
}

.sffc-point {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: var(--editorial-black);
}

.sffc-point-bullet {
    color: var(--editorial-sophisticate-green);
    margin-right: 10px;
    font-size: 10px;
}

/* Card Actions - Premium Design */
.sffc-card-actions {
    padding: 20px 24px;
    background: linear-gradient(to bottom, transparent, var(--editorial-cream));
    border-top: 1px solid var(--editorial-border);
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.sffc-action-btn {
    flex: 1;
    height: 48px;
    border-radius: 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
}

/* Not Interested Button */
.sffc-action-no {
    background: #FFFFFF;
    color: var(--editorial-grey);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sffc-action-no::before {
    content: '✕';
    font-size: 18px;
    margin-right: 4px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.sffc-action-no:hover {
    background: #FFF5F5;
    color: #C53030;
    box-shadow: 0 4px 16px rgba(197, 48, 48, 0.15);
    transform: translateY(-2px);
}

.sffc-action-no:hover::before {
    opacity: 1;
    transform: rotate(90deg);
}

/* Interested Button */
.sffc-action-yes {
    background: linear-gradient(135deg, var(--editorial-sophisticate-green), #1A4A3A);
    color: white;
    box-shadow: 0 4px 12px rgba(39, 89, 71, 0.25);
    position: relative;
}

.sffc-action-yes::before {
    content: '✓';
    font-size: 18px;
    margin-right: 4px;
    font-weight: 700;
}

.sffc-action-yes::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.sffc-action-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(39, 89, 71, 0.35);
}

.sffc-action-yes:hover::after {
    transform: translate(-50%, -50%) scale(2);
}

/* Quick Action Icons */
.sffc-quick-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.sffc-quick-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--editorial-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.sffc-quick-action:hover {
    background: white;
    transform: scale(1.1);
}

.sffc-quick-save:hover {
    color: var(--editorial-gold);
    border-color: var(--editorial-gold);
}

.sffc-quick-share:hover {
    color: var(--editorial-sophisticate-green);
    border-color: var(--editorial-sophisticate-green);
}

/* ========================================
   LEARNING PROGRESS
   ======================================== */

/* Subtle Progress Indicator - Replaced Learning Bar */
.sffc-progress-indicator-subtle {
    position: fixed;
    top: 180px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 100;
    transition: all 0.3s ease;
}

.sffc-progress-dots {
    display: flex;
    gap: 8px;
}

.sffc-progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--editorial-light-grey);
    transition: all 0.3s ease;
}

.sffc-progress-dot.active {
    background: var(--editorial-sophisticate-green);
    transform: scale(1.3);
}

.sffc-progress-dot.completed {
    background: var(--editorial-sophisticate-green);
    opacity: 0.6;
}

.sffc-progress-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--editorial-text);
    font-weight: 500;
    opacity: 0.8;
}

/* Remove old learning content styles - deprecated */
.sffc-learning-bar,
.sffc-learning-content,
.sffc-learning-text,
.sffc-progress-track,
.sffc-progress-fill,
.sffc-skip-learning {
    display: none !important;
}

/* ========================================
   PREMIUM LOADING - SKILL FARM
   ======================================== */

.sffc-intelligent-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--editorial-ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.sffc-loading-content {
    text-align: center;
    padding: 60px;
}

/* Skill Farm Brand */
.sffc-loading-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    letter-spacing: 4px;
    color: var(--editorial-sophisticate-green);
    margin-bottom: 8px;
}

.sffc-loading-tagline {
    font-family: 'Crimson Text', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--editorial-grey);
    margin-bottom: 40px;
}

/* Premium Spinner */
.sffc-loading-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 30px;
    position: relative;
}

.sffc-spinner-ring {
    width: 100%;
    height: 100%;
    border: 2px solid var(--editorial-light-grey);
    border-top: 2px solid var(--editorial-sophisticate-green);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

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

.sffc-loading-message {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--editorial-grey);
    opacity: 0;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* ========================================
   CARD ANIMATIONS
   ======================================== */

@keyframes slideInCard {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    to {
        opacity: 0;
        transform: translateX(-100%) rotate(-5deg);
    }
}

@keyframes slideOutRight {
    to {
        opacity: 0;
        transform: translateX(100%) rotate(5deg);
    }
}

.sffc-match-card.entering {
    animation: slideInCard 0.5s ease forwards;
    opacity: 1 !important;
    transform: translateX(0) !important;
    visibility: visible !important;
}

.sffc-match-card.rejecting {
    animation: slideOutLeft 0.4s ease forwards;
}

.sffc-match-card.accepting {
    animation: slideOutRight 0.4s ease forwards;
}

/* Container for proper scrolling */
.sffc-intelligent-pathway {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: var(--editorial-ivory);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#sffc-intelligent-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
    flex: 1;
    transition: margin-right 0.3s ease;
}

/* When shortlist is open, adjust content */
.sffc-intelligent-pathway.shortlist-open #sffc-intelligent-content {
    margin-left: 320px;
}

/* ========================================
   SHORTLIST SIDEBAR - LEFT FLOATING
   ======================================== */

.sffc-shortlist-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, var(--editorial-sophisticate-green), #1A4A3A);
    display: flex;
    flex-direction: column;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.sffc-shortlist-sidebar.active {
    left: 0;
}

.sffc-shortlist-header {
    padding: 30px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sffc-shortlist-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    color: white;
    margin-bottom: 4px;
    opacity: 0.9;
}

.sffc-shortlist-count {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    color: white;
    font-weight: 600;
}

.sffc-shortlist-count span {
    font-size: 12px;
    opacity: 0.7;
    font-weight: 400;
}

.sffc-shortlist-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
}

/* Mini Card Design */
.sffc-shortlist-item {
    background: white;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    animation: slideInFromLeft 0.4s ease;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sffc-shortlist-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.sffc-shortlist-item.removing {
    animation: slideOutToLeft 0.3s ease forwards;
}

@keyframes slideOutToLeft {
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.sffc-shortlist-match {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--editorial-sophisticate-green);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
}

.sffc-shortlist-company {
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--editorial-grey);
    margin-bottom: 2px;
}

.sffc-shortlist-role {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--editorial-black);
    margin-bottom: 4px;
    line-height: 1.2;
    padding-right: 40px;
}

.sffc-shortlist-location {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    color: var(--editorial-grey);
    margin-bottom: 6px;
}

.sffc-shortlist-salary {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--editorial-sophisticate-green);
    font-weight: 500;
}

.sffc-shortlist-remove {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    color: var(--editorial-grey);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
}

.sffc-shortlist-item:hover .sffc-shortlist-remove {
    opacity: 1;
}

.sffc-shortlist-remove:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #C53030;
    transform: scale(1.1);
}

.sffc-shortlist-actions {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sffc-proceed-analysis {
    width: 100%;
    padding: 16px;
    background: white;
    color: var(--editorial-sophisticate-green);
    border: none;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sffc-proceed-analysis:hover:not(:disabled) {
    background: var(--editorial-ivory);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.sffc-proceed-analysis:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Shortlist Toggle Tab - Left Side */
.sffc-shortlist-toggle {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 48px;
    height: 120px;
    background: var(--editorial-sophisticate-green);
    border-radius: 0 8px 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 100;
}

.sffc-shortlist-toggle:hover {
    width: 56px;
    box-shadow: 6px 0 20px rgba(0, 0, 0, 0.15);
}

.sffc-shortlist-toggle-icon {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sffc-shortlist-badge {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--editorial-sophisticate-green);
}

/* When sidebar is open, hide the toggle */
.sffc-intelligent-pathway.shortlist-open .sffc-shortlist-toggle {
    opacity: 0;
    pointer-events: none;
}

/* Pulse animation for shortlist notification */
@keyframes pulseLeft {
    0% { width: 48px; }
    50% { width: 64px; }
    100% { width: 48px; }
}

.sffc-shortlist-toggle.pulse {
    animation: pulseLeft 0.6s ease;
}

/* Close button for sidebar */
.sffc-shortlist-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sffc-shortlist-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ========================================
   ANALYSIS CHAT VIEW - SENNA CONVERSATION
   ======================================== */

.sffc-analysis-view {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--editorial-cream, #FAF8F3);
    z-index: 100000;
    display: none;
    flex-direction: column;
}

.sffc-analysis-view.active {
    display: flex;
}

/* Chat Header - Minimal Elegance */
.sffc-analysis-header {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 24px;
}

.sffc-analysis-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(250, 248, 243, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(27, 59, 47, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--editorial-text-light, #7A8B85);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.sffc-analysis-close:hover {
    opacity: 1;
    background: var(--editorial-navy, #1B3B2F);
    color: var(--editorial-cream-light, #FDFCF8);
    transform: scale(1.05);
}

/* Messages Container - Clean Center Alignment */
.sffc-analysis-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 80px 20px 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sffc-analysis-content::-webkit-scrollbar {
    display: none;
}

.sffc-analysis-chat {
    width: 100%;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Senna Welcome Message - Centered */
.sffc-analysis-welcome {
    width: 100%;
    max-width: 680px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    animation: messageElegance 0.6s ease;
}

@keyframes messageElegance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sffc-analysis-welcome-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 16px;
    background: url('../images/senna.jpeg') center/cover;
    border: 2px solid var(--editorial-gold-light, #E4D4A8);
    box-shadow: 0 6px 20px rgba(27, 59, 47, 0.08);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.sffc-analysis-welcome-avatar:hover {
    transform: scale(1.05);
    border-color: var(--editorial-gold, #C9A961);
    box-shadow: 0 8px 24px rgba(27, 59, 47, 0.12);
}

.sffc-analysis-welcome-content {
    flex: 1;
    max-width: 640px;
}

.sffc-analysis-welcome-text {
    font-family: 'Playfair Display', serif;
    color: var(--editorial-navy, #1B3B2F);
    font-size: 20px;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-align: left;
    word-wrap: break-word;
    white-space: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sffc-analysis-welcome-text p {
    margin: 0 0 16px 0;
}

.sffc-analysis-welcome-text p:last-child {
    margin-bottom: 0;
}

.sffc-analysis-welcome-text strong {
    color: var(--editorial-sophisticate-green, #2A6B5D);
    font-weight: 600;
}

/* Individual Role Analysis Messages - Centered */
.sffc-analysis-role-message {
    width: 100%;
    max-width: 680px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    animation: messageElegance 0.6s ease;
}

.sffc-analysis-role-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 16px;
    background: url('../images/senna.jpeg') center/cover;
    border: 2px solid var(--editorial-gold-light, #E4D4A8);
    box-shadow: 0 6px 20px rgba(27, 59, 47, 0.08);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.sffc-analysis-role-avatar:hover {
    transform: scale(1.05);
    border-color: var(--editorial-gold, #C9A961);
    box-shadow: 0 8px 24px rgba(27, 59, 47, 0.12);
}

.sffc-analysis-role-content {
    flex: 1;
    max-width: 640px;
}

.sffc-analysis-role-header {
    margin-bottom: var(--editorial-space-md, 32px);
}

.sffc-analysis-role-info {
    background: var(--editorial-cream-warm, #F7F3EC);
    border-radius: 16px;
    padding: var(--editorial-space-md, 32px);
    margin-bottom: var(--editorial-space-sm, 16px);
    border: 1px solid var(--editorial-gold-light, #E4D4A8);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sffc-analysis-role-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--editorial-navy, #1B3B2F);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.sffc-analysis-role-details .company {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--editorial-gold, #C9A961);
    font-weight: 500;
    margin-bottom: 4px;
}

.sffc-analysis-role-details .meta {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--editorial-text-secondary, #4A5D57);
}

.sffc-analysis-match-badge {
    background: var(--editorial-sophisticate-green, #2A6B5D);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.sffc-analysis-match-badge.medium {
    background: var(--editorial-gold, #C9A961);
    color: var(--editorial-navy, #1B3B2F);
}

.sffc-analysis-match-badge.stretch {
    background: var(--editorial-text-light, #7A8B85);
    color: white;
}

.sffc-analysis-strategy {
    font-family: 'Playfair Display', serif;
    color: var(--editorial-navy, #1B3B2F);
    font-size: 20px;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin-bottom: 24px;
    text-align: left;
    word-wrap: break-word;
    white-space: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sffc-analysis-strategy p {
    margin: 0 0 16px 0;
}

.sffc-analysis-strategy p:last-child {
    margin-bottom: 0;
}

.sffc-analysis-strategy strong {
    color: var(--editorial-sophisticate-green, #2A6B5D);
    font-weight: 600;
}

/* Action Buttons */
.sffc-analysis-role-actions {
    display: flex;
    gap: 12px;
    margin-top: var(--editorial-space-sm, 16px);
    flex-wrap: wrap;
    align-items: center;
}

.sffc-analysis-status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid transparent;
}

.sffc-analysis-status-badge.not-started {
    background: var(--editorial-cream-depth, #F2EDE4);
    color: var(--editorial-text-secondary, #4A5D57);
    border-color: var(--editorial-gold-light, #E4D4A8);
}

.sffc-analysis-status-badge.viewed {
    background: rgba(201, 169, 97, 0.1);
    color: var(--editorial-gold, #C9A961);
    border-color: var(--editorial-gold, #C9A961);
}

.sffc-analysis-status-badge.applied {
    background: rgba(42, 107, 93, 0.1);
    color: var(--editorial-sophisticate-green, #2A6B5D);
    border-color: var(--editorial-sophisticate-green, #2A6B5D);
}

.sffc-analysis-apply-btn {
    padding: 12px 24px;
    background: var(--editorial-navy, #1B3B2F);
    color: white;
    border: none;
    border-radius: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--editorial-shadow-subtle, 0 2px 20px rgba(27, 59, 47, 0.03));
}

.sffc-analysis-apply-btn:hover {
    background: var(--editorial-sophisticate-green, #2A6B5D);
    transform: translateY(-2px);
    box-shadow: var(--editorial-shadow-elegant, 0 10px 40px rgba(27, 59, 47, 0.06));
}

.sffc-analysis-mark-applied,
.sffc-analysis-remove-forever {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--editorial-gold-light, #E4D4A8);
    border-radius: 20px;
    color: var(--editorial-text-secondary, #4A5D57);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sffc-analysis-mark-applied:hover {
    background: var(--editorial-sophisticate-green, #2A6B5D);
    border-color: var(--editorial-sophisticate-green, #2A6B5D);
    color: white;
}

.sffc-analysis-remove-forever:hover {
    background: rgba(220, 50, 50, 0.1);
    border-color: #dc3232;
    color: #dc3232;
}

/* Floating Input - Ultra Premium - Matches Real Chat */
.sffc-analysis-input-area {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 680px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(27, 59, 47, 0.06);
    border-radius: 32px;
    padding: 8px;
    box-shadow: var(--editorial-shadow-luxury, 0 20px 60px rgba(27, 59, 47, 0.08));
    z-index: 100;
}

.sffc-analysis-input-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sffc-analysis-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 20px 28px;
    font-size: 16px;
    font-weight: 300;
    color: var(--editorial-navy, #1B3B2F);
    font-family: 'Inter', sans-serif;
}

.sffc-analysis-input::placeholder {
    color: var(--editorial-text-light, #7A8B85);
}

.sffc-analysis-send-btn {
    background: var(--editorial-navy, #1B3B2F);
    color: var(--editorial-cream-light, #FDFCF8);
    border: none;
    padding: 16px 36px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.sffc-analysis-send-btn:hover:not(:disabled) {
    background: var(--editorial-gold, #C9A961);
    color: var(--editorial-navy, #1B3B2F);
    transform: scale(1.05);
}

.sffc-analysis-send-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* User Messages - Centered */
.sffc-analysis-user-message {
    width: 100%;
    max-width: 680px;
    display: flex;
    justify-content: flex-end;
    animation: messageElegance 0.6s ease;
}

.sffc-analysis-user-bubble {
    background: var(--editorial-cream-warm, #F7F3EC);
    border: 1px solid var(--editorial-gold-light, #E4D4A8);
    border-radius: 20px 4px 20px 20px;
    padding: 16px 24px;
    color: var(--editorial-navy, #1B3B2F);
    max-width: 480px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    box-shadow: var(--editorial-shadow-subtle, 0 2px 20px rgba(27, 59, 47, 0.03));
}

/* ========================================
   FLOATING SIDEBAR - JOB APPLICATION TOOLS
   ======================================== */

.sffc-analysis-sidebar {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    max-height: 80vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: var(--editorial-shadow-luxury, 0 20px 60px rgba(27, 59, 47, 0.08));
    overflow-y: auto;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sffc-analysis-sidebar.active {
    opacity: 1;
    visibility: visible;
}

.sffc-analysis-sidebar::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.sffc-analysis-sidebar-header {
    margin-bottom: var(--editorial-space-lg, 48px);
}

.sffc-analysis-sidebar-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--editorial-navy, #1B3B2F);
    margin-bottom: 8px;
}

.sffc-analysis-sidebar-subtitle {
    font-size: 14px;
    font-weight: 300;
    color: var(--editorial-text-secondary, #4A5D57);
}

/* Tool Sections */
.sffc-tool-section {
    margin-bottom: var(--editorial-space-lg, 48px);
}

.sffc-tool-section:last-child {
    margin-bottom: 0;
}

.sffc-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--editorial-text-light, #7A8B85);
    margin-bottom: 16px;
}

/* Tool Items */
.sffc-tool-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sffc-tool-item:hover {
    background: var(--editorial-cream, #FAF8F3);
    transform: translateX(4px);
    border-color: var(--editorial-gold-light, #E4D4A8);
}

.sffc-tool-item.active {
    background: var(--editorial-cream, #FAF8F3);
    border-color: var(--editorial-gold, #C9A961);
}

.sffc-tool-icon {
    width: 36px;
    height: 36px;
    background: var(--editorial-navy, #1B3B2F);
    color: var(--editorial-cream-light, #FDFCF8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sffc-tool-item:hover .sffc-tool-icon {
    background: var(--editorial-sophisticate-green, #2A6B5D);
}

.sffc-tool-item.active .sffc-tool-icon {
    background: var(--editorial-gold, #C9A961);
    color: var(--editorial-navy, #1B3B2F);
}

.sffc-tool-text {
    font-size: 14px;
    color: var(--editorial-text-primary, #1B3B2F);
    font-weight: 400;
}

/* Sidebar Toggle Button */
.sffc-sidebar-toggle {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--editorial-navy, #1B3B2F);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--editorial-shadow-elegant, 0 10px 40px rgba(27, 59, 47, 0.06));
    transition: all 0.3s ease;
    z-index: 49;
}

.sffc-sidebar-toggle:hover {
    background: var(--editorial-sophisticate-green, #2A6B5D);
    transform: translateY(-50%) scale(1.1);
}

.sffc-sidebar-toggle.active {
    background: var(--editorial-gold, #C9A961);
    color: var(--editorial-navy, #1B3B2F);
}

/* ========================================
   USER PROFILE SECTION
   ======================================== */

/* Profile Access Points - Premium Styling */

/* Header Profile Button */
.sffc-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sffc-profile-header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 20px;
    color: var(--editorial-cream, #FAF8F3);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.sffc-profile-header-btn:hover {
    background: rgba(201, 169, 97, 0.2);
    border-color: var(--skill-gold, #C9A961);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.sffc-profile-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--skill-gold, #C9A961), #B59754);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.sffc-profile-initials {
    font-family: 'Playfair Display', serif;
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.sffc-profile-label {
    color: var(--editorial-cream, #FAF8F3);
    font-weight: 500;
}

.sffc-profile-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    display: none;
}

.sffc-profile-indicator.incomplete {
    display: block;
    background: #FFA726;
}

.sffc-profile-indicator.complete {
    display: block;
    background: #4CAF50;
}

/* Sidebar Profile Section */
.sffc-sidebar-profile-section {
    padding: 20px;
    border-bottom: 1px solid rgba(27, 59, 47, 0.1);
}

.sffc-sidebar-profile-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #FAF8F3 0%, #F5F0E8 100%);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sffc-sidebar-profile-btn:hover {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAF8F3 100%);
    border-color: var(--skill-gold, #C9A961);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.2);
    transform: translateX(4px);
}

.sffc-sidebar-profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--skill-gold, #C9A961), #B59754);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.sffc-sidebar-profile-content {
    flex: 1;
    text-align: left;
}

.sffc-sidebar-profile-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--skill-navy, #1B3B2F);
    margin-bottom: 4px;
}

.sffc-sidebar-profile-status {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #666;
}

.sffc-profile-completion {
    font-weight: 600;
    color: var(--skill-gold, #C9A961);
}

.sffc-sidebar-profile-arrow {
    color: var(--skill-gold, #C9A961);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.sffc-sidebar-profile-btn:hover .sffc-sidebar-profile-arrow {
    transform: translateX(4px);
}

/* Floating Profile Button - Modern & Elegant */
.sffc-floating-profile-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B3B2F 0%, #0D1F18 100%);
    border: 2px solid rgba(201, 169, 97, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 8px 32px rgba(201, 169, 97, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 8px 32px rgba(201, 169, 97, 0.15);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 8px 40px rgba(201, 169, 97, 0.25);
    }
}

.sffc-floating-profile-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
}

.sffc-floating-profile-btn:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

.sffc-floating-profile-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 12px 40px rgba(201, 169, 97, 0.25);
    border-color: var(--skill-gold, #C9A961);
}

.sffc-floating-profile-icon {
    color: var(--skill-gold, #C9A961);
    font-size: 20px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.sffc-floating-profile-tooltip {
    position: absolute;
    bottom: 58px;
    right: 0;
    background: rgba(27, 59, 47, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sffc-floating-profile-btn:hover .sffc-floating-profile-tooltip {
    opacity: 1;
}

/* Profile completion badge on floating button */
.sffc-floating-profile-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--skill-gold, #C9A961);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ========================================
   ULTRA-PREMIUM PROFILE - VOGUE MEETS LINKEDIN
   ======================================== */

.sffc-profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: none;
    background: linear-gradient(180deg, #FAFAFA 0%, #F5F3F0 100%);
    overflow: hidden;
}

.sffc-profile-modal.active {
    display: block;
    animation: luxuryFadeIn 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes luxuryFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.sffc-profile-overlay {
    display: none; /* No overlay needed for full-screen */
}

.sffc-profile-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #FFFFFF;
    overflow-y: auto;
    overflow-x: hidden;
}

.sffc-profile-container::-webkit-scrollbar {
    width: 8px;
}

.sffc-profile-container::-webkit-scrollbar-track {
    background: #F8F7F5;
}

.sffc-profile-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #C9A961, #B59754);
    border-radius: 4px;
}

.sffc-profile-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #B59754, #A38647);
}

/* Luxury Navigation Header */
.sffc-profile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 97, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    box-shadow: 0 1px 0 rgba(201, 169, 97, 0.1);
}

.sffc-profile-nav-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sffc-profile-nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sffc-profile-nav-logo {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1B3B2F, #0D1F18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #C9A961;
    box-shadow: 0 4px 12px rgba(27, 59, 47, 0.15);
}

.sffc-profile-nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 300;
    color: #1B3B2F;
    letter-spacing: -0.5px;
}

.sffc-profile-nav-tabs {
    display: flex;
    gap: 48px;
    margin-left: 80px;
}

.sffc-profile-nav-tab {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.sffc-profile-nav-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #C9A961, #E5C980);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sffc-profile-nav-tab:hover {
    color: #1B3B2F;
}

.sffc-profile-nav-tab:hover::after {
    width: 100%;
}

.sffc-profile-nav-tab.active {
    color: #C9A961;
    font-weight: 600;
}

.sffc-profile-nav-tab.active::after {
    width: 100%;
}

.sffc-profile-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sffc-profile-save-btn {
    padding: 14px 36px;
    background: #1B3B2F;
    border: none;
    border-radius: 0;
    color: #FAF8F3;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sffc-profile-save-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.3), transparent);
    transition: left 0.6s ease;
}

.sffc-profile-save-btn:hover {
    background: #0D1F18;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(27, 59, 47, 0.25);
}

.sffc-profile-save-btn:hover::before {
    left: 100%;
}

.sffc-profile-close-btn {
    width: 48px;
    height: 48px;
    border-radius: 0;
    background: transparent;
    border: 1px solid rgba(27, 59, 47, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.sffc-profile-close-icon {
    width: 16px;
    height: 16px;
    position: relative;
}

.sffc-profile-close-icon::before,
.sffc-profile-close-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1px;
    background: #1B3B2F;
    transition: all 0.3s ease;
}

.sffc-profile-close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.sffc-profile-close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.sffc-profile-close-btn:hover {
    background: #1B3B2F;
    border-color: #1B3B2F;
}

.sffc-profile-close-btn:hover .sffc-profile-close-icon::before,
.sffc-profile-close-btn:hover .sffc-profile-close-icon::after {
    background: #FAF8F3;
}

/* Main Profile Content */
.sffc-profile-main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F3 100%);
}

/* Luxury Profile Cover */
.sffc-profile-cover {
    position: relative;
    height: 360px;
    background: linear-gradient(135deg, #0D1F18 0%, #1B3B2F 50%, #2A4A3F 100%);
    overflow: hidden;
}

.sffc-profile-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(201, 169, 97, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.05) 0%, transparent 70%);
}

.sffc-profile-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
}

.sffc-profile-cover-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    opacity: 0.03;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 5 L90 25 L90 75 L50 95 L10 75 L10 25 Z" stroke="white" stroke-width="0.5" fill="none"/></svg>');
    background-size: 100px 100px;
    animation: floatPattern 20s ease-in-out infinite;
}

@keyframes floatPattern {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.1); }
}

.sffc-profile-cover-edit {
    position: absolute;
    bottom: 30px;
    right: 30px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1B3B2F;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sffc-profile-cover-edit:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Luxury Profile Info Card */
.sffc-profile-info-card {
    position: relative;
    max-width: 1400px;
    margin: -120px auto 0;
    background: white;
    border: 1px solid rgba(201, 169, 97, 0.1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08),
                0 8px 24px rgba(201, 169, 97, 0.06);
    padding: 48px;
    z-index: 10;
}

.sffc-profile-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid #E8E8E8;
}

.sffc-profile-info-left {
    display: flex;
    gap: 24px;
}

.sffc-profile-avatar-container {
    position: relative;
    margin-top: -60px;
}

.sffc-profile-avatar-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B3B2F 0%, #0D1F18 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 8px solid white;
    box-shadow: 0 0 0 1px rgba(201, 169, 97, 0.2),
                0 16px 48px rgba(0, 0, 0, 0.15);
    position: relative;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.sffc-profile-avatar-large::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(201, 169, 97, 0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.sffc-profile-avatar-large:hover {
    transform: scale(1.03);
    box-shadow: 0 0 0 1px rgba(201, 169, 97, 0.3),
                0 24px 64px rgba(0, 0, 0, 0.2);
}

.sffc-profile-avatar-initials {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 300;
    color: #C9A961;
    text-transform: uppercase;
    letter-spacing: -2px;
    position: relative;
    z-index: 2;
}

.sffc-profile-avatar-edit {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 2px solid #C9A961;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    color: #C9A961;
}

.sffc-profile-avatar-edit:hover {
    background: #C9A961;
    color: white;
    transform: scale(1.1);
}

.sffc-profile-info-details {
    padding-top: 20px;
}

.sffc-profile-name {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    color: #1B3B2F;
    margin-bottom: 12px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.sffc-profile-headline {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.sffc-profile-location-line {
    display: flex;
    align-items: center;
    gap: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #999;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sffc-profile-location-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>');
    background-size: contain;
}

.sffc-profile-separator {
    width: 4px;
    height: 4px;
    background: #C9A961;
    border-radius: 50%;
    display: inline-block;
}

.sffc-profile-connections {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #C9A961;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sffc-profile-connections:hover {
    color: #B59754;
    text-decoration: underline;
}

.sffc-profile-info-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sffc-profile-completeness {
    padding: 16px 20px;
    background: linear-gradient(135deg, #FAF8F3, white);
    border-radius: 12px;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.sffc-completeness-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sffc-completeness-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1B3B2F;
}

.sffc-completeness-percentage {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #C9A961;
}

.sffc-completeness-bar {
    height: 8px;
    background: #E8E8E8;
    border-radius: 4px;
    overflow: hidden;
}

.sffc-completeness-fill {
    height: 100%;
    background: linear-gradient(90deg, #C9A961, #E5C980);
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sffc-completeness-tip {
    margin-top: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
}

/* Luxury Action Buttons */
.sffc-profile-actions-row {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.sffc-profile-action-btn {
    padding: 14px 32px;
    border: 1px solid #1B3B2F;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sffc-profile-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1B3B2F;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.sffc-profile-action-btn:hover::before {
    left: 0;
}

.sffc-profile-action-btn.primary {
    background: #1B3B2F;
    color: #FAF8F3;
    border-color: #1B3B2F;
}

.sffc-profile-action-btn.primary:hover {
    background: transparent;
    color: #1B3B2F;
}

.sffc-profile-action-btn.secondary {
    color: #1B3B2F;
}

.sffc-profile-action-btn.secondary:hover {
    color: #FAF8F3;
    border-color: #1B3B2F;
}

/* Luxury Content Layout */
.sffc-profile-content-wrapper {
    max-width: 1400px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 0 48px;
}

/* Main Content Column */
.sffc-profile-main-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Luxury Section Cards */
.sffc-profile-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.sffc-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #C9A961, #B59754);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sffc-profile-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.sffc-profile-card:hover::before {
    height: 100%;
}

.sffc-profile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}

.sffc-profile-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 400;
    color: #1B3B2F;
    letter-spacing: -0.5px;
}

.sffc-profile-card-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(201, 169, 97, 0.3);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #C9A961;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sffc-profile-card-action:hover {
    background: linear-gradient(135deg, #C9A961, #B59754);
    border-color: #C9A961;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.25);
}

.sffc-profile-edit-icon {
    width: 14px;
    height: 14px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"/></svg>');
    background-size: contain;
}

.sffc-profile-add-icon {
    width: 14px;
    height: 14px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>');
    background-size: contain;
}

/* About Section */
.sffc-about-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
}

.sffc-about-content {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #1B3B2F;
    white-space: pre-wrap;
}

.sffc-about-placeholder {
    color: #999;
    font-style: italic;
}

/* Experience Section */
.sffc-experience-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sffc-experience-item {
    display: flex;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E8E8E8;
}

.sffc-experience-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sffc-experience-logo {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: linear-gradient(135deg, #FAF8F3, #E8E8E8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #C9A961;
}

.sffc-experience-details {
    flex: 1;
}

.sffc-experience-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1B3B2F;
    margin-bottom: 4px;
}

.sffc-experience-company {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1B3B2F;
    margin-bottom: 4px;
}

.sffc-experience-duration {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.sffc-experience-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #1B3B2F;
}

/* Skills Section */
.sffc-skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sffc-skill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 2px solid #C9A961;
    border-radius: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1B3B2F;
    transition: all 0.2s ease;
}

.sffc-skill-badge:hover {
    background: linear-gradient(135deg, #C9A961, #B59754);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.sffc-add-skill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 2px dashed #C9A961;
    border-radius: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #C9A961;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sffc-add-skill-btn:hover {
    background: #FAF8F3;
    border-style: solid;
}

/* Education Section */
.sffc-education-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sffc-education-item {
    display: flex;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E8E8E8;
}

.sffc-education-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sffc-education-logo {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1B3B2F, #0D1F18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 24px;
}

.sffc-education-details {
    flex: 1;
}

.sffc-education-school {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1B3B2F;
    margin-bottom: 4px;
}

.sffc-education-degree {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1B3B2F;
    margin-bottom: 4px;
}

.sffc-education-years {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
}

/* Sidebar Column */
.sffc-profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Market Intelligence Card */
.sffc-market-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.sffc-market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C9A961, #E5C980, #C9A961);
    background-size: 200% 100%;
    animation: goldShimmer 3s linear infinite;
}

@keyframes goldShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.sffc-market-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: #1B3B2F;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.sffc-market-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sffc-market-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #FAF8F3 0%, white 100%);
    border-left: 3px solid #C9A961;
    transition: all 0.3s ease;
}

.sffc-market-stat:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(201, 169, 97, 0.1);
}

.sffc-market-icon {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid rgba(201, 169, 97, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sffc-market-icon svg {
    width: 24px;
    height: 24px;
    stroke: #C9A961;
    fill: none;
    stroke-width: 1.5;
}

.sffc-market-details {
    flex: 1;
}

.sffc-market-value {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 400;
    color: #1B3B2F;
    margin-bottom: 4px;
}

.sffc-market-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.sffc-market-trend {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.sffc-market-trend.down {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

/* Hot Jobs Card */
.sffc-hotjobs-card {
    background: linear-gradient(180deg, white 0%, #FAF8F3 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 36px;
    position: relative;
}

.sffc-hotjobs-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #C9A961, #B59754);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.sffc-hotjobs-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: #1B3B2F;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

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

.sffc-hotjob-item {
    padding: 20px;
    background: white;
    border: 1px solid rgba(201, 169, 97, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.sffc-hotjob-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.05), transparent);
    transition: left 0.6s ease;
}

.sffc-hotjob-item:hover::before {
    left: 100%;
}

.sffc-hotjob-item:hover {
    border-color: #C9A961;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.15);
}

.sffc-hotjob-firm {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #C9A961;
    margin-bottom: 8px;
}

.sffc-hotjob-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 400;
    color: #1B3B2F;
    margin-bottom: 8px;
    line-height: 1.3;
}

.sffc-hotjob-meta {
    display: flex;
    gap: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #999;
}

.sffc-hotjob-salary {
    font-weight: 600;
    color: #1B3B2F;
}

.sffc-hotjob-location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sffc-location-icon {
    width: 12px;
    height: 12px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>');
    background-size: contain;
}

/* Career Insights Card */
.sffc-insights-card {
    background: linear-gradient(135deg, #0D1F18 0%, #1B3B2F 100%);
    padding: 36px;
    color: white;
    position: relative;
    overflow: hidden;
}

.sffc-insights-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.sffc-insights-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: #FAF8F3;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.sffc-insights-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.sffc-insight-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.sffc-insight-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #C9A961;
    transform: translateX(4px);
}

.sffc-insight-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #C9A961;
    margin-bottom: 8px;
}

.sffc-insight-value {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    color: #FAF8F3;
    margin-bottom: 4px;
}

.sffc-insight-detail {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(250, 248, 243, 0.7);
}

/* Premium Features Card */
.sffc-premium-card {
    background: linear-gradient(135deg, #C9A961, #B59754);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
    color: white;
    text-align: center;
}

.sffc-premium-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.sffc-premium-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.sffc-premium-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.5;
}

.sffc-premium-cta {
    padding: 12px 24px;
    background: white;
    border: none;
    border-radius: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #C9A961;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sffc-premium-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Location Preferences - Premium Checkboxes */
.sffc-preference-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.sffc-preference-tags label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: white;
    border: 2px solid #E8E8E8;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1B3B2F;
}

.sffc-preference-tags label:hover {
    border-color: #C9A961;
    background: linear-gradient(135deg, white, #FAF8F3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.15);
}

.sffc-preference-tags input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: #C9A961;
    cursor: pointer;
}

.sffc-preference-tags input[type="checkbox"]:checked + span {
    color: #C9A961;
    font-weight: 600;
}

.sffc-preference-tags label.checked {
    background: linear-gradient(135deg, #FAF8F3, white);
    border-color: #C9A961;
    box-shadow: 0 4px 16px rgba(201, 169, 97, 0.1);
}

/* Profile Actions Footer - Premium Design */
.sffc-profile-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 60px;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.sffc-profile-progress {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sffc-profile-progress-bar {
    width: 200px;
    height: 8px;
    background: #E8E8E8;
    border-radius: 4px;
    overflow: hidden;
}

.sffc-profile-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #C9A961, #E5C980);
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sffc-profile-progress-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
}

.sffc-profile-progress-text strong {
    color: #C9A961;
    font-weight: 700;
}

.sffc-profile-buttons {
    display: flex;
    gap: 20px;
}

.sffc-profile-cancel,
.sffc-profile-save {
    padding: 18px 48px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.sffc-profile-cancel {
    background: transparent;
    border: 2px solid #E8E8E8;
    color: #666;
}

.sffc-profile-cancel:hover {
    background: #F5F5F5;
    border-color: #999;
    transform: translateY(-2px);
}

.sffc-profile-save {
    background: linear-gradient(135deg, #C9A961, #B59754);
    border: none;
    color: white;
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.3);
    position: relative;
    overflow: hidden;
}

.sffc-profile-save::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;
}

.sffc-profile-save:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
}

.sffc-profile-save:hover::before {
    left: 100%;
}

/* Profile Button to Open Modal */
.sffc-profile-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    padding: 12px 24px;
    background: var(--editorial-navy, #1B3B2F);
    color: white;
    border: none;
    border-radius: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--editorial-shadow-elegant, 0 10px 40px rgba(27, 59, 47, 0.06));
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sffc-profile-button:hover {
    background: var(--editorial-sophisticate-green, #2A6B5D);
    transform: translateY(-2px);
    box-shadow: var(--editorial-shadow-luxury, 0 20px 60px rgba(27, 59, 47, 0.08));
}

.sffc-profile-icon {
    font-size: 16px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1400px) {
    .sffc-cards-container {
        padding: 0 40px;
    }
    
    .sffc-match-card {
        flex: 0 0 320px;
        width: 320px;
    }
}

@media (max-width: 1200px) {
    .sffc-cards-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .sffc-match-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
    }
}