@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@600;700;800&display=swap');

/* ============================================================
   UEC DESIGN SYSTEM — BLUE GRADIENT EDITION
   ============================================================ */

:root {
    /* Blue Gradient Palette */
    --uec-blue-50:  #eff6ff;
    --uec-blue-100: #dbeafe;
    --uec-blue-200: #bfdbfe;
    --uec-blue-300: #93c5fd;
    --uec-blue-400: #60a5fa;
    --uec-blue-500: #3b82f6;
    --uec-blue-600: #2563eb;
    --uec-blue-700: #1d4ed8;
    --uec-blue-800: #1e40af;
    --uec-blue-900: #1e3a8a;
    --uec-indigo:   #4f46e5;
    --uec-cyan:     #06b6d4;

    /* Semantic roles */
    --uec-bg-app:         #f0f5ff;
    --uec-bg-card:        #ffffff;
    --uec-primary:        #1e3a8a;
    --uec-primary-light:  #1d4ed8;
    --uec-accent:         #3b82f6;
    --uec-accent-hover:   #2563eb;
    --uec-text-main:      #1e293b;
    --uec-text-muted:     #64748b;
    --uec-text-inverse:   #ffffff;

    /* Status */
    --uec-success: #10b981;
    --uec-warning: #f59e0b;
    --uec-danger:  #ef4444;
    --uec-info:    #0ea5e9;

    /* Gradients — all blue-family */
    --uec-gradient-page:    linear-gradient(135deg, #e0eaff 0%, #c7d9ff 40%, #dbeafe 100%);
    --uec-gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #06b6d4 100%);
    --uec-gradient-accent:  linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --uec-gradient-hero:    linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #0ea5e9 100%);
    --uec-gradient-card:    linear-gradient(160deg, rgba(255,255,255,0.95) 0%, rgba(239,246,255,0.9) 100%);
    --uec-gradient-glass:   linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(219,234,254,0.5) 100%);
    --uec-gradient-sidebar: linear-gradient(180deg, #1e3a8a 0%, #1d4ed8 100%);
    --uec-gradient-stat:    linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);

    /* Shadows */
    --uec-shadow-sm:   0 1px 3px 0 rgba(37,99,235,.08);
    --uec-shadow-md:   0 4px 16px -1px rgba(37,99,235,.12), 0 2px 8px -2px rgba(37,99,235,.08);
    --uec-shadow-lg:   0 10px 30px -3px rgba(37,99,235,.18), 0 4px 12px -4px rgba(37,99,235,.12);
    --uec-shadow-glow: 0 0 24px rgba(59,130,246,.35);
    --uec-shadow-btn:  0 4px 14px 0 rgba(59,130,246,.45);

    /* Misc */
    --uec-radius:  14px;
    --uec-radius-sm: 8px;
    --uec-border:  rgba(147,197,253,.4);
    --uec-font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --uec-font-head: 'Outfit', sans-serif;
}

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

@keyframes uecFadeIn    { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes uecSlideIn   { from { opacity:0; transform:translateX(-12px); } to { opacity:1; transform:translateX(0); } }
@keyframes uecPulse     { 0%,100% { transform:scale(1); box-shadow:0 0 0 0 rgba(59,130,246,.4); } 70% { transform:scale(1.04); box-shadow:0 0 0 10px rgba(59,130,246,0); } }
@keyframes uecGlow      { 0%,100% { box-shadow:var(--uec-shadow-btn); } 50% { box-shadow:0 8px 30px rgba(59,130,246,.65); } }
@keyframes uecShimmer   { 0% { background-position:200% 0; } 100% { background-position:-200% 0; } }
@keyframes uecFloat     { 0%,100% { transform:translateY(0px); } 50% { transform:translateY(-6px); } }
@keyframes uecBlobMove  { 0%,100%{border-radius:60% 40% 30% 70%/60% 30% 70% 40%; transform:translate(0,0) rotate(0deg);} 33%{border-radius:30% 60% 70% 40%/50% 60% 30% 60%; transform:translate(12px,-8px) rotate(45deg);} 66%{border-radius:20% 60% 60% 40%/70% 30% 60% 40%; transform:translate(-8px,10px) rotate(-30deg);} }

/* ============================================================
   PAGE WRAPPER — BLUE GRADIENT BACKGROUND
   ============================================================ */

.uec-plugin-wrapper,
.fc-dashboard-container,
.fc-auth-container,
.fc-profile-container,
.fc-wizard-container,
.fc-messages-container {
    font-family: var(--uec-font-main);
    color: var(--uec-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: var(--uec-gradient-page);
    min-height: 60vh;
    padding: 32px 20px;
    position: relative;
}

/* Animated floating orbs behind all pages */
.uec-plugin-wrapper::before,
.fc-dashboard-container::before,
.fc-auth-container::before,
.fc-profile-container::before {
    content: '';
    position: fixed;
    top: -15%;
    left: -10%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(59,130,246,.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: uecFloat 8s ease-in-out infinite;
    z-index: 0;
}

.uec-plugin-wrapper::after,
.fc-dashboard-container::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -8%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(6,182,212,.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: uecFloat 10s ease-in-out infinite reverse;
    z-index: 0;
}

/* Make children sit above decorative pseudo-elements */
.uec-plugin-wrapper > *,
.fc-dashboard-container > * {
    position: relative;
    z-index: 1;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.uec-plugin-wrapper h1, .uec-plugin-wrapper h2, .uec-plugin-wrapper h3,
.fc-dashboard-container h1, .fc-dashboard-container h2, .fc-dashboard-container h3,
.fc-profile-container h1, .fc-profile-container h2,
.fc-wizard-container h1, .fc-wizard-container h2 {
    font-family: var(--uec-font-head);
    font-weight: 700;
    color: var(--uec-primary);
    letter-spacing: -0.02em;
}

/* ============================================================
   GLASS-MORPHISM CARD
   ============================================================ */

.uec-card, .fc-card {
    background: var(--uec-gradient-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(147,197,253,.45);
    border-radius: var(--uec-radius);
    padding: 28px;
    box-shadow: var(--uec-shadow-md);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    animation: uecFadeIn .5s ease-out;
    position: relative;
    overflow: hidden;
}

/* Subtle blue shimmer on top edge */
.uec-card::before, .fc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--uec-gradient-accent);
    opacity: 0;
    transition: opacity .3s;
}

.uec-card:hover, .fc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--uec-shadow-lg);
    border-color: rgba(96,165,250,.6);
}

.uec-card:hover::before, .fc-card:hover::before {
    opacity: 1;
}

/* Text safety inside cards */
.uec-plugin-wrapper .uec-card,
.fc-profile-container .uec-card {
    color: var(--uec-text-main) !important;
}

.uec-plugin-wrapper .uec-card.uec-hero-banner,
.fc-profile-container .uec-card.uec-hero-banner {
    color: #fff !important;
}

/* ============================================================
   HERO BANNER
   ============================================================ */

.uec-hero-banner {
    background: var(--uec-gradient-hero);
    border-radius: var(--uec-radius);
    padding: 48px 40px;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--uec-shadow-lg), var(--uec-shadow-glow);
    border: none;
}

/* Decorative blobs inside hero */
.uec-hero-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: uecFloat 7s ease-in-out infinite;
}

.uec-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(6,182,212,.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: uecFloat 9s ease-in-out infinite reverse;
}

.uec-hero-banner h1 {
    color: #fff !important;
    margin: 0 0 10px;
    font-size: 34px;
    text-shadow: 0 2px 8px rgba(0,0,0,.15);
    position: relative;
    z-index: 1;
}

.uec-hero-banner p,
.uec-hero-banner .uec-hero-subtitle {
    color: rgba(255,255,255,.85);
    font-size: 16px;
    position: relative;
    z-index: 1;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.uec-btn, .fc-btn,
.fc-btn-primary, .fc-btn-secondary, .fc-btn-text,
.uec-btn-primary, .uec-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--uec-radius-sm);
    cursor: pointer;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    border: none;
    gap: 8px;
    text-decoration: none !important;
    font-family: var(--uec-font-main);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* Shimmer on hover for primary buttons */
.uec-btn-primary::after,
.fc-btn-primary::after,
.fc-btn-hire::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    transition: left .5s ease;
}

.uec-btn-primary:hover::after,
.fc-btn-primary:hover::after,
.fc-btn-hire:hover::after {
    left: 150%;
}

.uec-btn-primary, .fc-btn-primary, .fc-btn-hire {
    background: var(--uec-gradient-accent);
    color: #fff !important;
    box-shadow: var(--uec-shadow-btn);
}

.uec-btn-primary:hover, .fc-btn-primary:hover, .fc-btn-hire:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59,130,246,.5);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.uec-btn-secondary, .fc-btn-secondary, .fc-btn-message {
    background: rgba(255,255,255,.9);
    color: var(--uec-primary) !important;
    border: 1.5px solid var(--uec-blue-200);
    backdrop-filter: blur(8px);
}

.uec-btn-secondary:hover, .fc-btn-secondary:hover, .fc-btn-message:hover {
    background: var(--uec-blue-50);
    border-color: var(--uec-blue-400);
    box-shadow: var(--uec-shadow-sm);
    transform: translateY(-1px);
}

.fc-btn-text {
    background: none;
    color: var(--uec-text-muted) !important;
    padding: 11px 8px;
}
.fc-btn-text:hover { color: var(--uec-accent) !important; }

/* Danger/ghost variants */
.uec-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(239,68,68,.4);
}

/* ============================================================
   BADGE & TAG SYSTEM
   ============================================================ */

.fc-badge, .uec-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    gap: 6px;
    letter-spacing: .02em;
}

.fc-badge-blue   { background: linear-gradient(135deg,#dbeafe,#eff6ff); color: #1d4ed8; border:1px solid #bfdbfe; }
.fc-badge-green  { background: #ecfdf5; color: #047857; border:1px solid #a7f3d0; }
.fc-badge-purple { background: linear-gradient(135deg,#ede9fe,#f5f3ff); color: #6d28d9; border:1px solid #ddd6fe; }
.fc-badge-orange { background: #fff7ed; color: #c2410c; border:1px solid #fed7aa; }
.fc-badge-cyan   { background: linear-gradient(135deg,#cffafe,#e0f2fe); color: #0369a1; border:1px solid #a5f3fc; }

.fc-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* ============================================================
   STAT CARDS
   ============================================================ */

.fc-stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.fc-stat-card {
    background: var(--uec-gradient-card);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: var(--uec-radius);
    border: 1px solid rgba(147,197,253,.4);
    display: flex;
    flex-direction: column;
    box-shadow: var(--uec-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
    animation: uecFadeIn .5s ease-out;
}

.fc-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--uec-shadow-lg);
}

.fc-stat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    background: var(--uec-gradient-accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59,130,246,.3);
}

.fc-stat-label {
    color: var(--uec-text-muted);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.fc-stat-value {
    font-size: 30px;
    font-weight: 800;
    background: var(--uec-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--uec-font-head);
}

/* ============================================================
   JOB BOARD
   ============================================================ */

.uec-job-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
    gap: 24px;
}

.uec-job-card {
    background: var(--uec-gradient-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(147,197,253,.4);
    border-radius: var(--uec-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

/* Left blue accent bar */
.uec-job-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--uec-gradient-accent);
    transition: width .3s ease;
}

.uec-job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--uec-shadow-lg), var(--uec-shadow-glow);
    border-color: rgba(96,165,250,.6);
}

.uec-job-card:hover::before { width: 6px; }

.uec-job-card h3 a {
    color: var(--uec-primary);
    text-decoration: none;
    font-family: var(--uec-font-head);
    font-size: 18px;
    transition: color .2s;
}

.uec-job-card h3 a:hover { color: var(--uec-accent); }

.uec-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================================================
   AUTH PAGE
   ============================================================ */

.fc-auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.fc-auth-card {
    display: flex;
    max-width: 940px;
    width: 100%;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(147,197,253,.4);
    box-shadow: var(--uec-shadow-lg), 0 0 60px rgba(59,130,246,.1);
}

.fc-auth-hero {
    flex: 1;
    background: var(--uec-gradient-hero);
    padding: 60px 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.fc-auth-hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -20%;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
    border-radius: 50%;
}

.fc-auth-hero::after {
    content: '';
    position: absolute;
    bottom: -15%; left: -10%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(6,182,212,.2) 0%, transparent 70%);
    border-radius: 50%;
}

.fc-auth-content {
    flex: 1;
    padding: 60px 40px;
    background: linear-gradient(160deg, #fff 0%, #f0f7ff 100%);
}

.fc-auth-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--uec-blue-100);
}

.fc-auth-tab {
    padding: 10px 0;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-weight: 600;
    color: var(--uec-text-muted);
    cursor: pointer;
    font-size: 15px;
    transition: color .2s, border-color .2s;
}

.fc-auth-tab.active {
    color: var(--uec-accent);
    border-bottom-color: var(--uec-accent);
}

/* ============================================================
   FORMS
   ============================================================ */

.fc-form-group { margin-bottom: 20px; }

.fc-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--uec-primary);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.fc-form-group input,
.fc-form-group textarea,
.fc-form-group select,
.fc-wizard-container input[type="text"],
.fc-wizard-container textarea,
.fc-wizard-container select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--uec-blue-200);
    border-radius: var(--uec-radius-sm);
    background: rgba(255,255,255,.9);
    font-family: var(--uec-font-main);
    font-size: 14px;
    color: var(--uec-text-main);
    transition: border-color .2s, box-shadow .2s, background .2s;
    box-sizing: border-box;
}

.fc-form-group input:focus,
.fc-form-group textarea:focus,
.fc-form-group select:focus,
.fc-wizard-container input[type="text"]:focus,
.fc-wizard-container textarea:focus {
    outline: none;
    border-color: var(--uec-accent);
    box-shadow: 0 0 0 4px rgba(59,130,246,.15);
    background: #fff;
}

.uec-field-error {
    border-color: var(--uec-danger) !important;
    box-shadow: 0 0 0 4px rgba(239,68,68,.1) !important;
}

.fc-required { color: var(--uec-danger); }

/* ============================================================
   DATA TABLE
   ============================================================ */

.fc-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.fc-data-table th {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 14px 20px;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 700;
    color: var(--uec-blue-700);
    border-bottom: 2px solid var(--uec-blue-200);
}

.fc-data-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(147,197,253,.2);
    font-size: 14px;
}

.fc-data-table tr:hover td {
    background: rgba(239,246,255,.6);
}

/* ============================================================
   WIZARD / POST-JOB
   ============================================================ */

.fc-wizard-container {
    max-width: 800px;
    margin: 0 auto;
}

.fc-progress-bar {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 10px;
}

.fc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.fc-step-circle {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    background: rgba(219,234,254,.6);
    color: var(--uec-text-muted);
    border: 2px solid var(--uec-blue-200);
    transition: all .3s ease;
}

.fc-step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--uec-text-muted);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: color .3s;
}

.fc-step-active .fc-step-circle {
    background: var(--uec-gradient-accent);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(59,130,246,.45);
    animation: uecGlow 2s ease-in-out infinite;
}

.fc-step-active .fc-step-label { color: var(--uec-accent); }

.fc-step-done .fc-step-circle {
    background: var(--uec-gradient-accent);
    color: #fff;
    border-color: transparent;
}

.fc-step-done .fc-step-circle::before { content: '✓'; }

.fc-step-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--uec-blue-300), var(--uec-blue-100));
    margin: 0 8px;
    margin-bottom: 22px;
    border-radius: 2px;
}

/* Wizard card padding */
.fc-wizard-container .fc-card { margin-bottom: 24px; }

.fc-wizard-container label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 16px;
    color: var(--uec-primary);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.fc-wizard-container label:first-child { margin-top: 0; }

.fc-wizard-step { animation: uecFadeIn .35s ease-out; }
.fc-wizard-step h2 { margin: 0 0 4px; font-size: 24px; }

.fc-subtitle { color: var(--uec-text-muted); margin: 0 0 24px; font-size: 15px; }

/* Form Row */
.fc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Radio Card */
.fc-radio-group { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 4px; }

.fc-radio-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid var(--uec-blue-200);
    border-radius: var(--uec-radius-sm);
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all .2s;
    background: rgba(255,255,255,.8);
}

.fc-radio-card input[type="radio"] { display: none; }

.fc-radio-card:has(input:checked),
.fc-radio-card.fc-radio-active {
    border-color: var(--uec-accent);
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--uec-blue-700);
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

/* Toggle Group */
.fc-toggle-group {
    display: flex;
    border: 1.5px solid var(--uec-blue-200);
    border-radius: var(--uec-radius-sm);
    overflow: hidden;
    background: rgba(255,255,255,.8);
}

.fc-toggle-group label {
    flex: 1;
    text-align: center;
    padding: 10px;
    margin: 0;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    border-right: 1px solid var(--uec-blue-200);
    transition: background .2s, color .2s;
    text-transform: none;
    letter-spacing: 0;
}

.fc-toggle-group label:last-child { border-right: none; }
.fc-toggle-group input[type="radio"] { display: none; }

.fc-toggle-group label:has(input:checked) {
    background: var(--uec-gradient-accent);
    color: #fff;
}

/* Wizard Actions */
.fc-wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    gap: 12px;
}

.fc-actions-right { display: flex; gap: 12px; margin-left: auto; }

/* ============================================================
   PROFILE PROGRESS BAR
   ============================================================ */

.uec-progress-container {
    background: rgba(147,197,253,.25);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.uec-progress-bar {
    background: var(--uec-gradient-accent);
    height: 100%;
    width: 0%;
    transition: width 1.2s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 0 8px rgba(59,130,246,.5);
}

/* ============================================================
   TAG INPUT CHIPS
   ============================================================ */

.uec-tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 1.5px solid var(--uec-blue-200);
    border-radius: var(--uec-radius-sm);
    background: rgba(255,255,255,.9);
    min-height: 50px;
}

.uec-tag-chip {
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    border: 1px solid var(--uec-blue-300);
    color: var(--uec-blue-800);
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.uec-tag-chip .remove { cursor: pointer; color: var(--uec-danger); font-weight: bold; }

/* ============================================================
   REVIEW CARD
   ============================================================ */

.fc-review-card { margin-bottom: 16px; }

.fc-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(147,197,253,.3);
}

.fc-review-header h3 { margin: 0; font-size: 16px; }
.fc-edit-link { font-size: 13px; color: var(--uec-accent); text-decoration: none; font-weight: 600; }

.fc-review-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--uec-blue-500);
    margin-bottom: 4px;
}

.fc-review-val { font-weight: 600; color: var(--uec-primary); font-size: 15px; }
.fc-review-desc { font-size: 14px; color: var(--uec-text-main); line-height: 1.6; margin-top: 6px; }

/* ============================================================
   TAGS
   ============================================================ */

.fc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.fc-tag {
    display: inline-block;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: var(--uec-blue-700);
    border: 1px solid var(--uec-blue-300);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
}

/* ============================================================
   SUCCESS CARD
   ============================================================ */

.fc-success-icon { font-size: 56px; margin-bottom: 12px; animation: uecFloat 3s ease-in-out infinite; }

.fc-success-card {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-color: #86efac;
}

.fc-briefcase-icon { font-size: 28px; flex-shrink: 0; }

.fc-status-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--uec-success);
}

/* ============================================================
   SECTION HEADERS WITH GRADIENT UNDERLINE
   ============================================================ */

.uec-section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.uec-section-title::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 40px; height: 3px;
    background: var(--uec-gradient-accent);
    border-radius: 2px;
    transition: width .3s ease;
}

.uec-section-title:hover::after { width: 100%; }

/* ============================================================
   SIDEBAR / NAV TABS (dashboards)
   ============================================================ */

.fc-sidebar-nav,
.uec-tab-nav {
    background: var(--uec-gradient-sidebar);
    border-radius: var(--uec-radius);
    padding: 12px;
    box-shadow: var(--uec-shadow-md);
}

.fc-sidebar-nav a,
.uec-tab-nav a,
.uec-tab-nav button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--uec-radius-sm);
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background .2s, color .2s;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
}

.fc-sidebar-nav a:hover,
.uec-tab-nav a:hover,
.uec-tab-nav button:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
}

.fc-sidebar-nav a.active,
.uec-tab-nav a.active,
.uec-tab-nav button.active,
.uec-tab-nav .active {
    background: rgba(255,255,255,.2);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* ============================================================
   MESSAGES / CHAT
   ============================================================ */

.uec-message-bubble {
    padding: 12px 18px;
    border-radius: 18px 18px 18px 4px;
    max-width: 70%;
    font-size: 14px;
    line-height: 1.5;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--uec-text-main);
    border: 1px solid var(--uec-blue-200);
    animation: uecSlideIn .3s ease-out;
}

.uec-message-bubble.sent {
    background: var(--uec-gradient-accent);
    color: #fff;
    border-color: transparent;
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 4px 12px rgba(59,130,246,.3);
}

/* ============================================================
   ALERTS / NOTICES
   ============================================================ */

.uec-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--uec-radius-sm);
    font-size: 14px;
    animation: uecFadeIn .4s ease-out;
}

.uec-notice-info {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 4px solid var(--uec-accent);
    color: var(--uec-blue-800);
}

.uec-notice-success {
    background: #f0fdf4;
    border-left: 4px solid var(--uec-success);
    color: #065f46;
}

.uec-notice-error {
    background: #fef2f2;
    border-left: 4px solid var(--uec-danger);
    color: #991b1b;
}

/* ============================================================
   DIVIDERS & SPACING
   ============================================================ */

.uec-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(147,197,253,.5), transparent);
    margin: 24px 0;
}

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

@media (max-width: 768px) {
    .fc-auth-card { flex-direction: column; }
    .fc-auth-hero { display: none; }
    .fc-stat-cards { grid-template-columns: 1fr 1fr; }
    .fc-profile-container { flex-direction: column; }
    .uec-hero-banner { padding: 32px 24px; }
    .uec-hero-banner h1 { font-size: 26px; }
}

@media (max-width: 600px) {
    .fc-form-row { grid-template-columns: 1fr; }
    .fc-stat-cards { grid-template-columns: 1fr; }
    .uec-plugin-wrapper,
    .fc-dashboard-container,
    .fc-auth-container,
    .fc-profile-container,
    .fc-wizard-container { padding: 20px 16px; }
}

/* ============================================================
   SCROLLBARS (Webkit)
   ============================================================ */

.uec-plugin-wrapper ::-webkit-scrollbar { width: 6px; height: 6px; }
.uec-plugin-wrapper ::-webkit-scrollbar-track { background: #f0f5ff; }
.uec-plugin-wrapper ::-webkit-scrollbar-thumb { background: var(--uec-blue-300); border-radius: 3px; }
.uec-plugin-wrapper ::-webkit-scrollbar-thumb:hover { background: var(--uec-accent); }