/* Modern Sleek Professional Theme for Skill Gap Analysis */

/* ========================================
   MODERN PROFESSIONAL LOADING ANIMATION
   ======================================== */

/* Page Loader Container */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
    overflow: hidden;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Animated Background Particles */
.loader-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatParticle 20s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.particle:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 30s;
}

.particle:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 90%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 15%;
    animation-delay: 1s;
    animation-duration: 28s;
}

.particle:nth-child(5) {
    width: 70px;
    height: 70px;
    top: 20%;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 24s;
}

.particle:nth-child(6) {
    width: 90px;
    height: 90px;
    top: 60%;
    left: 40%;
    animation-delay: 5s;
    animation-duration: 26s;
}

.particle:nth-child(7) {
    width: 110px;
    height: 110px;
    top: 30%;
    left: 30%;
    animation-delay: 2.5s;
    animation-duration: 29s;
}

.particle:nth-child(8) {
    width: 85px;
    height: 85px;
    top: 50%;
    left: 60%;
    animation-delay: 4.5s;
    animation-duration: 27s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg);
        opacity: 0.6;
    }
}

/* Main Loader Content */
.loader-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

/* Modern Circular Loader */
.modern-loader {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 40px;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ring-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
}

.segment-1 {
    border-top-color: #60a5fa;
    border-right-color: #60a5fa;
    animation: rotateRing 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.segment-2 {
    border-bottom-color: #34d399;
    border-left-color: #34d399;
    animation: rotateRing 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    animation-delay: 0.3s;
}

.segment-3 {
    border-top-color: #a78bfa;
    border-left-color: #a78bfa;
    animation: rotateRing 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    animation-delay: 0.6s;
}

@keyframes rotateRing {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

/* Center Icon */
.loader-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(96, 165, 250, 0.6);
    animation: iconPulse 2s ease-in-out infinite;
}

.loader-icon i {
    font-size: 2.5rem;
    color: white;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 0 40px rgba(96, 165, 250, 0.6);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 0 0 60px rgba(96, 165, 250, 0.8);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Loader Text */
.loader-text {
    margin-bottom: 40px;
}

.loader-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
    animation: titleShimmer 3s ease-in-out infinite;
}

.title-plus {
    color: #34d399;
    -webkit-text-fill-color: #34d399;
    font-weight: 900;
    animation: plusGlow 2s ease-in-out infinite;
}

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

@keyframes plusGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(52, 211, 153, 0.8);
    }
    50% {
        text-shadow: 0 0 40px rgba(52, 211, 153, 1);
    }
}

.loader-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

/* Loading Dots Animation */
.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.loading-dots .dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    border-radius: 50%;
    animation: dotBounce 1.4s infinite ease-in-out;
}

.loading-dots .dot:nth-child(1) {
    animation-delay: 0s;
}

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

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

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Modern Progress Bar */
.modern-progress-bar {
    width: 400px;
    margin: 0 auto;
}

.progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        #60a5fa 0%, 
        #34d399 25%, 
        #a78bfa 50%, 
        #34d399 75%, 
        #60a5fa 100%
    );
    background-size: 200% 100%;
    border-radius: 10px;
    animation: progressSlide 2s linear infinite;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

@keyframes progressSlide {
    0% {
        background-position: -200% 0;
        width: 20%;
    }
    50% {
        width: 80%;
    }
    100% {
        background-position: 200% 0;
        width: 20%;
    }
}

.progress-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    animation: textFade 2s ease-in-out infinite;
}

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

/* Responsive Design for Loader */
@media (max-width: 768px) {
    .modern-loader {
        width: 140px;
        height: 140px;
    }
    
    .loader-icon {
        width: 60px;
        height: 60px;
    }
    
    .loader-icon i {
        font-size: 2rem;
    }
    
    .loader-title {
        font-size: 2.5rem;
    }
    
    .loader-subtitle {
        font-size: 1rem;
    }
    
    .modern-progress-bar {
        width: 300px;
    }
    
    .particle {
        opacity: 0.3;
    }
}

/* ========================================
   MODERN PROFESSIONAL HEADER
   ======================================== */

/* Header Container */
.modern-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.modern-header.header-scrolled {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.modern-header.header-scrolled .navbar {
    padding: 0.5rem 0;
}

.header-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(96, 165, 250, 0.5) 25%, 
        rgba(52, 211, 153, 0.5) 50%, 
        rgba(167, 139, 250, 0.5) 75%, 
        transparent 100%
    );
}

.modern-header .navbar {
    padding: 0.75rem 0;
}

/* Brand Logo */
.navbar-brand {
    padding: 0;
    margin: 0;
}

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

.logo-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.logo-icon i {
    font-size: 1.4rem;
    color: white;
    z-index: 2;
}

.logo-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    animation: logoPulse 2s ease-in-out infinite;
    opacity: 0;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.brand-logo:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.brand-plus {
    font-weight: 800;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Mobile Toggle */
.navbar-toggler {
    border: none;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
}

.toggler-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.toggler-icon span {
    display: block;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Center Navigation */
.nav-center {
    gap: 0.5rem;
}

.nav-center .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-center .nav-link i {
    font-size: 0.85rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-center .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-center .nav-link:hover i {
    opacity: 1;
    color: #60a5fa;
}

.nav-center .nav-link.active {
    color: #ffffff;
    background: rgba(96, 165, 250, 0.15);
}

.nav-center .nav-link.active i {
    color: #60a5fa;
    opacity: 1;
}

/* Right Side Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Control Buttons */
.nav-control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Settings Dropdown */
.settings-menu {
    min-width: 280px;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    margin-top: 10px;
}

.settings-section {
    margin-bottom: 0.5rem;
}

.settings-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
}

.settings-label i {
    font-size: 0.8rem;
    color: #60a5fa;
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.settings-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.settings-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.settings-option.active {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

.option-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.settings-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.75rem 0;
}

/* Theme Grid */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    padding: 0 0.5rem;
}

.theme-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.theme-option-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.1);
}

.theme-preview {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-dark-preview {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.theme-light-preview {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.theme-ocean-preview {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.theme-nature-preview {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.theme-corporate-preview {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.theme-elegant-preview {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

/* User Dropdown */
.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.user-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
}

.user-avatar i {
    font-size: 0.85rem;
    color: white;
}

.user-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-chevron {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.user-dropdown.show .user-chevron {
    transform: rotate(180deg);
}

/* User Menu */
.user-menu {
    min-width: 240px;
    padding: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    margin-top: 10px;
    overflow: hidden;
}

.user-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
}

.user-menu-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.user-menu-avatar i {
    font-size: 1.25rem;
    color: white;
}

.user-menu-info {
    display: flex;
    flex-direction: column;
}

.user-menu-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.user-menu-role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.user-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-menu-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    opacity: 0.7;
}

.user-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.user-menu-item:hover i {
    opacity: 1;
    color: #60a5fa;
}

.user-menu-logout {
    color: rgba(239, 68, 68, 0.8);
}

.user-menu-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.user-menu-logout:hover i {
    color: #ef4444;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-btn i {
    font-size: 0.85rem;
}

.auth-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
}

.auth-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.auth-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.auth-btn-primary:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

/* Mobile Responsive Header */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
        backdrop-filter: blur(20px);
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-center {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .nav-center .nav-link {
        padding: 0.85rem 1rem;
    }
    
    .nav-controls {
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 0.5rem;
    }
    
    .auth-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .user-menu-btn {
        width: 100%;
        justify-content: center;
    }
    
    .brand-tagline {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .brand-name,
    .brand-plus {
        font-size: 1.25rem;
    }
    
    .logo-icon {
        width: 38px;
        height: 38px;
    }
    
    .logo-icon i {
        font-size: 1.1rem;
    }
    
    .auth-btn span {
        display: none;
    }
    
    .auth-btn {
        padding: 0.6rem;
    }
}

/* ========================================
   MAIN CONTENT READABILITY
   ======================================== */

/* Ensure main content is always readable */
body {
    background-color: #f8fafc !important;
    color: #1e293b !important;
}

main.container {
    background-color: #f8fafc !important;
}

main .card {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

main .card-header {
    color: #1e293b !important;
}

main .card-body {
    color: #1e293b !important;
}

main h1, main h2, main h3, main h4, main h5, main h6 {
    color: #1e293b !important;
}

main p, main span, main div, main label {
    color: #1e293b;
}

main .text-muted {
    color: #64748b !important;
}

main .form-label {
    color: #1e293b !important;
}

main .form-control {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border-color: #e2e8f0 !important;
}

main .form-select {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

main .table {
    color: #1e293b !important;
}

main .table td, main .table th {
    color: #1e293b !important;
    background-color: #ffffff !important;
}

/* Keep badges and buttons with their designed colors */
main .badge,
main .btn,
main .alert {
    color: inherit;
}

/* ========================================
   MODERN DASHBOARD COMPONENTS
   ======================================== */

/* Dashboard Header */
.dashboard-header {
    padding: 1.5rem 0;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Modern Metric Cards */
.metric-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.metric-card-blue::before {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.metric-card-green::before {
    background: linear-gradient(135deg, #10b981, #059669);
}

.metric-card-purple::before {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.metric-card-orange::before {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.metric-icon-wrapper {
    margin-bottom: 1rem;
}

.metric-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.metric-card-blue .metric-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.15));
    color: #2563eb;
}

.metric-card-green .metric-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.15));
    color: #059669;
}

.metric-card-purple .metric-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.15));
    color: #7c3aed;
}

.metric-card-orange .metric-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.15));
    color: #d97706;
}

.metric-card:hover .metric-icon {
    transform: scale(1.1) rotate(5deg);
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.metric-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.metric-trend i {
    font-size: 0.75rem;
}

/* Modern Card Design */
.modern-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.modern-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
}

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

.modern-card-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.modern-card-body {
    padding: 1.5rem;
}

.chart-legend-badge {
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
}

.chart-container {
    position: relative;
    height: 400px;
}

.chart-container canvas {
    max-height: 400px;
}

/* Role Performance Items */
.role-performance-item {
    padding: 1rem;
    border-radius: 12px;
    background: #fafbfc;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.role-performance-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

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

.role-name {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.score-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.875rem;
}

.score-badge-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.score-badge-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.score-badge-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

/* Modern Progress Bar */
.modern-progress {
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.modern-progress-bar {
    height: 100%;
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-progress-success {
    background: linear-gradient(90deg, #10b981, #059669);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.modern-progress-warning {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.modern-progress-danger {
    background: linear-gradient(90deg, #ef4444, #dc2626);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.modern-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Improvement Items */
.improvement-item {
    padding: 1.25rem;
    border-radius: 12px;
    background: #fafbfc;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.improvement-item:hover {
    background: white;
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.improvement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.improvement-role {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.improvement-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.improvement-badge-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.improvement-badge-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.improvement-badge-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

/* Improvement Timeline */
.improvement-timeline {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-point {
    flex: 1;
    padding: 1rem;
    border-radius: 10px;
    background: white;
    border: 2px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.timeline-start {
    border-color: #3b82f6;
}

.timeline-end {
    border-color: #10b981;
}

.timeline-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.timeline-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.timeline-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.timeline-connector {
    flex: 0 0 auto;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    position: relative;
}

.timeline-arrow {
    position: absolute;
    right: -6px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 8px solid #10b981;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.empty-state-icon {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.empty-state-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-title {
        font-size: 1.5rem;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .chart-container {
        height: 300px;
    }
    
    .improvement-timeline {
        flex-direction: column;
    }
    
    .timeline-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, #3b82f6, #10b981);
    }
    
    .timeline-arrow {
        right: -3px;
        top: auto;
        bottom: -8px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 8px solid #10b981;
    }
}

/* ========================================
   AI-POWERED INSIGHTS SECTION
   ======================================== */

/* AI Insights Container */
.ai-insights-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Modern Header */
.ai-insights-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.ai-insights-title-section {
    flex: 1;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ai-badge i {
    animation: brainPulse 2s ease-in-out infinite;
}

.ai-insights-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.ai-insights-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Role Selector */
.role-selector-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.role-selector-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.modern-select {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.modern-select:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.modern-select:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.modern-select option {
    background: #1e293b;
    color: white;
}

/* Role Options Tip Box */
.role-options-tip {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.role-options-tip .tip-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.role-options-tip .tip-content {
    color: #1e40af;
    font-size: 0.95rem;
    line-height: 1.5;
}

.role-options-tip .tip-content strong {
    color: #1e3a8a;
}

/* OR Divider */
.or-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.or-divider::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #cbd5e1, transparent);
    transform: translateX(-50%);
}

.or-divider span {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Custom Role Section Highlight */
.custom-role-section {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: 12px;
    padding: 1rem;
    border: 2px dashed rgba(6, 182, 212, 0.3);
    transition: all 0.3s ease;
}

.custom-role-section:hover {
    border-color: rgba(6, 182, 212, 0.5);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(59, 130, 246, 0.08));
}

/* Login Info Box */
.login-info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    border: 1px solid #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.login-info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

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

.login-info-main {
    color: #92400e;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.login-info-main strong {
    color: #78350f;
}

.login-info-sub {
    color: #166534;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    display: inline-block;
}

.login-link {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.login-link:hover {
    color: #1e40af;
}

/* Wellness Resource Link in Footer */
.wellness-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 8px;
    color: #f9a8d4;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.wellness-link:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(168, 85, 247, 0.25));
    border-color: rgba(236, 72, 153, 0.5);
    color: #fbcfe8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

/* Responsive adjustments for OR divider */
@media (max-width: 768px) {
    .or-divider {
        width: 100%;
        padding: 1rem 0;
    }
    
    .or-divider::before {
        top: 50%;
        bottom: auto;
        left: 0;
        right: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, transparent, #cbd5e1, transparent);
        transform: translateY(-50%);
    }
    
    .role-options-tip {
        flex-direction: column;
        text-align: center;
    }
    
    .role-options-tip .tip-icon {
        margin: 0 auto;
    }
}

/* AI Recommendation Banner */
.ai-recommendation-banner {
    margin: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}

.recommendation-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.recommendation-content {
    flex: 1;
}

.recommendation-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e40af;
    margin: 0 0 0.5rem 0;
}

.recommendation-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.recommendation-link {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.recommendation-link:hover {
    border-bottom-color: #2563eb;
}

.recommendation-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.recommendation-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
}

/* Overall Assessment Card */
.overall-assessment-card {
    margin: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.assessment-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.assessment-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.assessment-header i {
    color: #667eea;
}

.assessment-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Skills Analysis Grid */
.skills-analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.skill-category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

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

.strengths-card {
    border-color: #10b981;
}

.weaknesses-card {
    border-color: #ef4444;
}

.skill-card-header {
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #fafbfc, #ffffff);
    border-bottom: 2px solid #e5e7eb;
}

.skill-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.success-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
    color: #059669;
}

.danger-badge {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
    color: #dc2626;
}

.skill-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.skill-card-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.skill-card-body {
    padding: 1rem;
}

/* Skill Items */
.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fafbfc;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}

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

.skill-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.skill-item-success .skill-item-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.skill-item-danger .skill-item-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.skill-item-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.skill-item-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skill-item-success .skill-item-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.skill-item-danger .skill-item-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Empty Skill State */
.empty-skill-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-light);
}

.empty-skill-state i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.empty-skill-state p {
    font-size: 0.875rem;
    margin: 0;
}

/* Recommendations Section */
.recommendations-section {
    padding: 0 1.5rem 1.5rem;
}

.recommendations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.recommendations-title-wrapper {
    display: flex;
    align-items: center;
}

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

.recommendations-title-wrapper i {
    color: #667eea;
    font-size: 1.25rem;
}

.recommendations-count {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
}

/* Recommendations Grid */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.recommendation-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
}

.recommendation-card-header {
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.recommendation-skill-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.recommendation-skill-area i {
    color: #667eea;
}

.priority-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.priority-high {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.priority-medium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.priority-low {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.recommendation-card-body {
    padding: 1.25rem;
}

.recommendation-section {
    margin-bottom: 1.5rem;
}

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

.recommendation-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
}

.recommendation-section-title i {
    color: #667eea;
}

/* Resource List */
.resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-item {
    padding: 0.75rem;
    background: #fafbfc;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.resource-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

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

.resource-item i {
    color: #667eea;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Action Steps List */
.action-steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 0;
}

.action-step-item {
    counter-increment: step-counter;
    padding: 0.75rem;
    padding-left: 3rem;
    background: #fafbfc;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    transition: all 0.3s ease;
}

.action-step-item:hover {
    background: #f1f5f9;
}

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

.action-step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Empty Recommendations */
.empty-recommendations {
    text-align: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, #fafbfc, #ffffff);
    border-radius: 12px;
    border: 2px dashed #e5e7eb;
}

.empty-recommendations i {
    font-size: 3.5rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.empty-recommendations h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.empty-recommendations p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive AI Insights */
@media (max-width: 992px) {
    .skills-analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ai-insights-header {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .ai-insights-title {
        font-size: 1.5rem;
    }
    
    .modern-select {
        width: 100%;
    }
    
    .ai-recommendation-banner {
        flex-direction: column;
        margin: 1rem;
        padding: 1rem;
    }
    
    .skills-analysis-grid {
        padding: 1rem;
        gap: 1rem;
    }
    
    .recommendations-section {
        padding: 0 1rem 1rem;
    }
    
    .recommendations-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Clean base with modern colors */
:root {
    --primary-blue: #2563eb;
    --primary-dark: #1e40af;
    --secondary-gray: #64748b;
    --success-green: #10b981;
    --warning-amber: #f59e0b;
    --danger-red: #ef4444;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f1f5f9;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Modern base styling */
html, body {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
}

/* Sleek Navigation */
.navbar {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: var(--shadow-md) !important;
    border: none !important;
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    letter-spacing: -0.025em !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    border-radius: 6px !important;
    margin: 0 0.25rem !important;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-1px) !important;
}

/* Navigation dropdown links */
.navbar .dropdown-menu .dropdown-item {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
}

/* Fix all navigation links - History, Login, etc. */
.navbar a:not(.navbar-brand):not(.btn),
.navbar .nav-link,
.navbar .navbar-nav .nav-link,
header a:not(.navbar-brand):not(.btn),
header .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.navbar a:not(.navbar-brand):not(.btn):hover,
.navbar .nav-link:hover,
.navbar .navbar-nav .nav-link:hover,
header a:not(.navbar-brand):not(.btn):hover,
header .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
}

/* Force navigation text color override */
.navbar *, .navbar a, header *, header a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar .navbar-brand, header .navbar-brand {
    color: #ffffff !important;
}

/* Modern Cards */
.card {
    background-color: var(--bg-primary) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 1.5rem !important;
}

.card:hover {
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-2px) !important;
}

.card-header {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%) !important;
    border-bottom: 1px solid var(--border-light) !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    padding: 1.25rem !important;
    border-radius: 12px 12px 0 0 !important;
}

.card-body {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    padding: 1.5rem !important;
}

/* Professional Tables */
.table {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
    margin-bottom: 1.5rem !important;
}

.table thead th {
    background: linear-gradient(135deg, var(--bg-accent) 0%, #e2e8f0 100%) !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 1rem 0.75rem !important;
    border-bottom: 2px solid var(--border-light) !important;
}

.table tbody td {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    padding: 1rem 0.75rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

.table tbody tr:hover {
    background-color: var(--bg-secondary) !important;
}

.table tbody tr:nth-child(odd) {
    background-color: rgba(248, 250, 252, 0.5) !important;
}

/* Modern Buttons */
.btn {
    border-radius: 8px !important;
    font-weight: 500 !important;
    padding: 0.625rem 1.25rem !important;
    transition: all 0.2s ease !important;
    border: none !important;
    font-size: 0.875rem !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3) !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.4) !important;
}

.btn-secondary {
    background-color: var(--secondary-gray) !important;
    color: #ffffff !important;
}

.btn-success {
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%) !important;
    color: #ffffff !important;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-red) 0%, #dc2626 100%) !important;
    color: #ffffff !important;
}

/* Elegant Forms */
.form-control, .form-select {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border: 2px solid var(--border-light) !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.2s ease !important;
    font-size: 0.9rem !important;
}

.form-control:focus, .form-select:focus {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15) !important;
    outline: none !important;
}

.form-label {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    margin-bottom: 0.5rem !important;
}

/* Modern Alerts */
.alert {
    border-radius: 10px !important;
    border: none !important;
    padding: 1rem 1.25rem !important;
    font-weight: 500 !important;
    box-shadow: var(--shadow-sm) !important;
}

.alert-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    color: #065f46 !important;
}

.alert-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%) !important;
    color: #991b1b !important;
}

.alert-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    color: #1e40af !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.025em !important;
}

.page-title {
    font-size: 2.25rem !important;
    margin-bottom: 1.5rem !important;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary-gray) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

p, div, span, li {
    color: var(--text-primary) !important;
}

/* Modern Links */
a:not(.btn):not(.nav-link):not(.navbar-brand) {
    color: var(--primary-blue) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

a:not(.btn):not(.nav-link):not(.navbar-brand):hover {
    color: var(--primary-dark) !important;
    text-decoration: underline !important;
}

/* Sleek Footer */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    color: #ffffff !important;
    padding: 2.5rem 0 1.5rem !important;
    margin-top: auto !important;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

footer * {
    color: #ffffff !important;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Modern Badges */
.badge {
    font-weight: 500 !important;
    font-size: 0.75rem !important;
    padding: 0.4em 0.8em !important;
    border-radius: 6px !important;
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%) !important;
    color: #ffffff !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%) !important;
    color: #ffffff !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    color: #ffffff !important;
}

/* Professional Container */
.container, .container-fluid {
    background-color: transparent !important;
    color: var(--text-primary) !important;
}

/* Question Cards */
.question-card {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}

.question-card:hover {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1) !important;
}

.form-check-label {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    padding: 0.75rem !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.form-check-label:hover {
    background-color: rgba(37, 99, 235, 0.05) !important;
}

.form-check-input:checked + .form-check-label {
    background-color: rgba(37, 99, 235, 0.1) !important;
    color: var(--primary-dark) !important;
    font-weight: 600 !important;
}

/* Progress Bars */
.progress {
    height: 8px !important;
    border-radius: 10px !important;
    background-color: var(--bg-accent) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.progress-bar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%) !important;
    border-radius: 10px !important;
}

/* Text Utilities */
.text-muted {
    color: var(--text-light) !important;
}

.text-primary {
    color: var(--primary-blue) !important;
}

.text-success {
    color: var(--success-green) !important;
}

.text-danger {
    color: var(--danger-red) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.875rem !important;
    }
    
    .card {
        margin-bottom: 1rem !important;
    }
    
    .table {
        font-size: 0.875rem !important;
    }
    
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
    }
}

/* Modal Styling - Fix transparent popup issue */
.modal-content {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow-lg) !important;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%) !important;
    color: #ffffff !important;
    border-bottom: 1px solid var(--border-light) !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 1.25rem !important;
}

.modal-header .modal-title {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 1.25rem !important;
}

.modal-header .btn-close {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    opacity: 0.8 !important;
}

.modal-header .btn-close:hover {
    background-color: #ffffff !important;
    opacity: 1 !important;
}

.modal-body {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    padding: 1.5rem !important;
}

.modal-body h5, .modal-body h6 {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

.modal-body p, .modal-body span, .modal-body div {
    color: var(--text-primary) !important;
}

.modal-footer {
    background-color: var(--bg-primary) !important;
    border-top: 1px solid var(--border-light) !important;
    border-radius: 0 0 12px 12px !important;
    padding: 1rem 1.5rem !important;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Form elements inside modals */
.modal .form-check-input {
    background-color: var(--bg-primary) !important;
    border: 2px solid var(--border-light) !important;
    color: var(--text-primary) !important;
}

.modal .form-check-input:checked {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
}

.modal .form-check-label {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    padding: 0.5rem 0 !important;
}

/* Report sections styling in modal */
.modal .form-check {
    background-color: rgba(248, 250, 252, 0.5) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    margin-bottom: 0.75rem !important;
    transition: all 0.2s ease !important;
}

.modal .form-check:hover {
    background-color: rgba(37, 99, 235, 0.05) !important;
    border-color: var(--primary-blue) !important;
}

/* Canvas and Chart Styling */
canvas {
    background-color: transparent !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    height: auto !important;
}

#skillRadarChart {
    background-color: white !important;
    border-radius: 8px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 350px !important;
    height: 350px !important;
}

/* Chart container styling */
.chart-container, .position-relative {
    background-color: var(--bg-primary) !important;
    border-radius: 8px !important;
    display: block !important;
    visibility: visible !important;
}

/* Hide theme switcher */
.theme-selector, .theme-switcher, [id*="theme"], .dropdown-item[data-theme] {
    display: none !important;
}

/* ========================================
   MODERN RESULTS PAGE
   ======================================== */

.results-page-wrapper {
    padding: 2rem 0;
}

/* Hero Score Card */
.results-hero-card {
    position: relative;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.results-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 0;
}

.results-hero-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem;
    text-align: center;
}

.results-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.results-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.results-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem 0;
}

/* Animated Score Circle */
.score-circle-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.score-circle-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.score-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 12;
}

.score-circle-progress {
    fill: none;
    stroke: white;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 534.07;
    stroke-dashoffset: 534.07;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
    --score-percent: 0;
}

.score-circle-progress {
    stroke-dashoffset: calc(534.07 - (534.07 * var(--score-percent) / 100));
}

.score-circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-circle-percent {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.score-circle-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
}

.score-circle-fraction {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* Performance Badge */
.performance-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.performance-badge-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.performance-badge-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.performance-badge-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

/* Stats Grid */
.results-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.results-stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.stat-icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-icon-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.stat-icon-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stat-card-content {
    flex: 1;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-card-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Analysis Cards */
.modern-analysis-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.analysis-card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.analysis-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.analysis-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.analysis-card-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.analysis-card-body {
    padding: 1.5rem;
}

/* Skill Progress */
.skill-progress-item {
    margin-bottom: 1.5rem;
}

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

.skill-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
}

.skill-score {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.modern-skill-progress {
    height: 32px;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.modern-skill-progress-bar {
    height: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.75rem;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-progress-success {
    background: linear-gradient(90deg, #10b981, #059669);
}

.skill-progress-warning {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.skill-progress-danger {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.skill-progress-percent {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Difficulty Progress */
.difficulty-progress-item {
    margin-bottom: 1.5rem;
}

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

.difficulty-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.difficulty-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.difficulty-beginner {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.difficulty-intermediate {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.difficulty-advanced {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.difficulty-score {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.modern-difficulty-progress {
    height: 32px;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
}

.modern-difficulty-progress-bar {
    height: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.75rem;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.difficulty-bar-beginner {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.difficulty-bar-intermediate {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.difficulty-bar-advanced {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.difficulty-progress-percent {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Performance Message */
.performance-message-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.performance-message-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
    border-left: 4px solid #10b981;
}

.performance-message-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.1));
    border-left: 4px solid #f59e0b;
}

.performance-message-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
    border-left: 4px solid #ef4444;
}

.performance-message-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.performance-message-success .performance-message-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.performance-message-warning .performance-message-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.performance-message-danger .performance-message-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.performance-message-content {
    flex: 1;
}

.performance-message-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.performance-message-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Feedback Section */
.feedback-section {
    margin-bottom: 2rem;
}

.feedback-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.feedback-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Modern Accordion */
.modern-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modern-accordion-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item-correct {
    border-left: 4px solid #10b981;
}

.accordion-item-incorrect {
    border-left: 4px solid #ef4444;
}

.accordion-item-unanswered {
    border-left: 4px solid #94a3b8;
}

.modern-accordion-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modern-accordion-header:hover {
    background: #f8fafc;
}

.accordion-question-number {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.accordion-question-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.accordion-result-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-correct {
    background: #10b981;
    color: white;
}

.badge-incorrect {
    background: #ef4444;
    color: white;
}

.badge-unanswered {
    background: #94a3b8;
    color: white;
}

.accordion-toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.modern-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-accordion-item.active .modern-accordion-body {
    max-height: 3000px;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.question-full-text {
    margin-bottom: 1.5rem;
}

.question-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.question-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: #667eea;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Options Grid */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.option-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.option-correct {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

.option-incorrect {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.option-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.option-item-correct .option-icon {
    color: #10b981;
}

.option-item-incorrect .option-icon {
    color: #ef4444;
}

.option-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.option-letter {
    font-weight: 700;
    color: var(--text-primary);
    min-width: 24px;
}

.option-text {
    flex: 1;
    color: var(--text-primary);
}

.option-label {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.label-your-answer {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.label-correct {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

/* Answer Comparison */
.answer-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.answer-box, .code-box {
    border-radius: 12px;
    overflow: hidden;
}

.answer-box-header, .code-box-header {
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.answer-box-content, .code-box-content {
    padding: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.answer-box-correct {
    background: rgba(16, 185, 129, 0.05);
    border: 2px solid #10b981;
}

.answer-box-correct .answer-box-header {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.answer-box-incorrect {
    background: rgba(239, 68, 68, 0.05);
    border: 2px solid #ef4444;
}

.answer-box-incorrect .answer-box-header {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.answer-box-expected {
    background: rgba(16, 185, 129, 0.05);
    border: 2px solid #10b981;
}

.answer-box-expected .answer-box-header {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

/* Code Boxes */
.code-snippet-box {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.code-snippet-header {
    padding: 0.75rem 1rem;
    background: #0f172a;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.code-snippet-content {
    padding: 1rem;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    overflow-x: auto;
    margin: 0;
}

.code-box-correct {
    background: rgba(16, 185, 129, 0.05);
    border: 2px solid #10b981;
}

.code-box-correct .code-box-header {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.code-box-incorrect {
    background: rgba(239, 68, 68, 0.05);
    border: 2px solid #ef4444;
}

.code-box-incorrect .code-box-header {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.code-box-expected {
    background: rgba(16, 185, 129, 0.05);
    border: 2px solid #10b981;
}

.code-box-expected .code-box-header {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.code-box-content {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    white-space: pre-wrap;
}

/* Feedback Card */
.feedback-card {
    border-radius: 12px;
    overflow: hidden;
}

.feedback-card-correct {
    background: rgba(16, 185, 129, 0.05);
    border: 2px solid #10b981;
}

.feedback-card-incorrect {
    background: rgba(239, 68, 68, 0.05);
    border: 2px solid #ef4444;
}

.feedback-card-header {
    padding: 1rem 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.feedback-card-correct .feedback-card-header {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.feedback-card-incorrect .feedback-card-header {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.feedback-card-content {
    padding: 1.25rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.explanation-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.explanation-header {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.explanation-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

.unanswered-message {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
    color: var(--text-secondary);
}

/* Feedback Form */
.feedback-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
}

.feedback-form-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.feedback-form-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.modern-form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.modern-form-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.modern-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-checkbox:hover {
    background: #f1f5f9;
}

.modern-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.modern-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.modern-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.feedback-info-banner {
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    color: #2563eb;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.form-actions {
    text-align: right;
}

.btn-submit-feedback {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-submit-feedback:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.action-btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.action-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

.action-btn-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.action-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.3);
    color: white;
}

.action-btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.action-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    color: white;
}

/* Responsive Results Page */
@media (max-width: 992px) {
    .results-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .answer-comparison {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .results-hero-title {
        font-size: 2rem;
    }
    
    .results-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}
/* ===================================================================
   MODERN QUESTIONS PAGE STYLES
   Premium SaaS-Quality Design with Glassmorphism & Animations
   =================================================================== */

/* Questions Page Wrapper */
.questions-page-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 2rem 0 4rem;
}

/* Modern Hero Header */
.questions-hero-header {
    position: relative;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.questions-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 0;
}

.questions-hero-content {
    position: relative;
    z-index: 1;
    padding: 2.5rem 2rem;
    text-align: center;
}

.role-badge-wrapper {
    margin-bottom: 1rem;
}

.modern-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.modern-role-badge:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.questions-hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.questions-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Modern Progress Container */
.modern-progress-container {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.progress-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-count {
    font-size: 1.1rem;
    font-weight: 700;
    color: #667eea;
}

.modern-progress-bar {
    height: 12px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.modern-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

.modern-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Modern Question Card */
.modern-question-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease-out backwards;
}

.modern-question-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-question-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.modern-question-card:hover::before {
    opacity: 1;
}

.modern-question-card.answered {
    border-color: #10b981;
}

.modern-question-card.answered::before {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    opacity: 1;
}

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

.modern-question-card:nth-child(1) { animation-delay: 0.1s; }
.modern-question-card:nth-child(2) { animation-delay: 0.2s; }
.modern-question-card:nth-child(3) { animation-delay: 0.3s; }
.modern-question-card:nth-child(4) { animation-delay: 0.4s; }
.modern-question-card:nth-child(5) { animation-delay: 0.5s; }

/* Question Card Header */
.question-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #eef2ff;
    border-bottom: 1px solid #e2e8f0;
}

.question-number-section {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.question-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.question-total {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.question-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Difficulty Pill */
.difficulty-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.difficulty-pill i {
    font-size: 0.75rem;
}

.difficulty-beginner {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.difficulty-intermediate {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.difficulty-advanced {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

/* Status Pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #e2e8f0;
    color: #64748b;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-pill i {
    font-size: 0.6rem;
}

.status-pill.answered {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
    animation: statusChange 0.4s ease;
}

@keyframes statusChange {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Question Card Body */
.question-card-body {
    padding: 2rem;
}

/* Skill Tags Row */
.skill-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skill-tag i {
    font-size: 0.8rem;
}

.skill-tag-primary {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.skill-tag-primary:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.skill-tag-secondary {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.skill-tag-secondary:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

/* Question Text */
.question-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Learning Objective Box */
.learning-objective-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.objective-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    color: #f59e0b;
}

.objective-content {
    flex: 1;
    font-size: 0.95rem;
    color: #78350f;
}

.objective-content strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #92400e;
}

/* Modern Options Grid */
.modern-options-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Option Card */
.option-card {
    position: relative;
    cursor: pointer;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-card-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.option-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    filter: blur(20px);
}

.option-letter-circle {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #64748b;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.option-text-content {
    flex: 1;
    font-size: 1rem;
    color: #111827;
    font-weight: 500;
    line-height: 1.6;
}

.option-checkmark {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e2e8f0;
    color: white;
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Option Card Hover */
.option-card:hover .option-card-content {
    border-color: #667eea;
    transform: translateX(4px);
}

.option-card:hover .option-letter-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
}

/* Option Card Selected */
.option-input:checked + .option-card-content {
    background: #ede9fe;
    border-color: #a78bfa;
    box-shadow: 0 8px 24px rgba(167, 139, 250, 0.25);
}

.option-input:checked + .option-card-content .option-text-content {
    color: #4338ca;
    font-weight: 600;
}

.option-input:checked + .option-card-content .option-letter-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    animation: letterPop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-input:checked + .option-card-content .option-checkmark {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: checkmarkPop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-input:checked ~ .option-card-glow {
    opacity: 0.3;
}

@keyframes letterPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes checkmarkPop {
    0% { transform: scale(0) rotate(-45deg); }
    50% { transform: scale(1.2) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Modern Input Wrapper */
.modern-input-wrapper {
    position: relative;
    margin-top: 1.5rem;
}

.modern-text-input,
.modern-code-input {
    width: 100%;
    padding: 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
    resize: vertical;
    font-family: inherit;
}

.modern-code-input {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.95rem;
}

.modern-text-input:focus,
.modern-code-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 16px 16px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modern-text-input:focus ~ .input-focus-border,
.modern-code-input:focus ~ .input-focus-border {
    transform: scaleX(1);
}

/* Modern Code Snippet */
.modern-code-snippet {
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.code-snippet-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #0f172a;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.code-snippet-content {
    padding: 1.25rem;
    margin: 0;
    color: #e2e8f0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

/* Submit Section */
.submit-section {
    margin-top: 3rem;
    text-align: center;
}

.modern-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.modern-submit-btn:hover .btn-gradient-overlay {
    opacity: 1;
}

.modern-submit-btn:active {
    transform: translateY(-2px);
}

/* Loading State - Full Page Professional Overlay */
.loading-state {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 30%, #3b82a8 60%, #4a9ac2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    text-align: center;
}

.loading-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-state p {
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* Modern Alert */
.modern-alert {
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    border: 2px solid #fca5a5;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .questions-hero-title {
        font-size: 1.75rem;
    }
    
    .question-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .question-number {
        font-size: 1.5rem;
    }
    
    .question-badges {
        width: 100%;
        justify-content: flex-start;
    }
    
    .question-card-body {
        padding: 1.5rem;
    }
    
    .question-text {
        font-size: 1.05rem;
    }
    
    .modern-submit-btn {
        width: 100%;
        padding: 1rem 2rem;
    }
}

/* Smooth Page Entry Animation */
.questions-page-wrapper {
    animation: pageEntry 0.6s ease-out;
}

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

/* Question Footer Controls */
.question-footer-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
}

/* Confidence Section */
.confidence-section {
    flex: 1;
}

.confidence-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.confidence-label i {
    color: #667eea;
}

.confidence-slider-wrapper {
    position: relative;
}

.confidence-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: linear-gradient(
        to right,
        #667eea 0%,
        #667eea var(--slider-percentage, 50%),
        #e2e8f0 var(--slider-percentage, 50%),
        #e2e8f0 100%
    );
    outline: none;
    transition: background 0.3s ease;
    cursor: pointer;
}

.confidence-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.confidence-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.confidence-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.6);
}

.confidence-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.6);
}

.confidence-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #475569;
}

.confidence-value {
    font-weight: 700;
    color: #667eea;
    font-size: 0.9rem;
}

/* Review Toggle Section */
.review-toggle-section {
    display: flex;
    align-items: center;
}

.review-toggle-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0;
}

.review-checkbox {
    display: none;
}

.review-toggle-custom {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-toggle-custom i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.review-toggle-label:hover .review-toggle-custom {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.05);
    transform: translateY(-2px);
}

.review-checkbox:checked + .review-toggle-custom {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-color: #fbbf24;
    color: white;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.review-checkbox:checked + .review-toggle-custom i {
    animation: bookmarkBounce 0.4s ease;
}

@keyframes bookmarkBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3) rotate(10deg); }
}

/* Marked for Review Card State */
.modern-question-card.marked-for-review {
    border-color: #fbbf24;
}

.modern-question-card.marked-for-review::before {
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    opacity: 1;
}

/* Responsive Footer Controls */
@media (max-width: 768px) {
    .question-footer-controls {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-toggle-section {
        justify-content: center;
    }
    
    .review-toggle-custom {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   RESKILLING OPPORTUNITIES SECTION
   ======================================== */

/* Reskilling Card */
.reskilling-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.reskilling-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #3b82f6;
}

.reskilling-card-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.reskilling-target-role {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.reskilling-from-to {
    margin-top: 0.5rem;
}

.reskilling-card-body {
    padding: 1.25rem 1.5rem;
    flex-grow: 1;
}

.reskilling-duration {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #f0f9ff;
    border-radius: 8px;
}

.reskilling-card-footer {
    padding: 1rem 1.5rem;
    background: #fafafa;
    border-top: 1px solid #e2e8f0;
}

/* Feasibility Badges */
.reskilling-feasibility-high {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reskilling-feasibility-medium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reskilling-feasibility-low {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Subtle Background Colors for Skills */
.bg-success-subtle {
    background-color: rgba(16, 185, 129, 0.15) !important;
}

.bg-danger-subtle {
    background-color: rgba(239, 68, 68, 0.15) !important;
}

/* Reskilling Path Detail Page */
.reskilling-detail-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.reskilling-detail-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.reskilling-phase-timeline {
    position: relative;
    padding-left: 2rem;
}

.reskilling-phase-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3b82f6 0%, #10b981 100%);
    border-radius: 4px;
}

.reskilling-phase-item {
    position: relative;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.reskilling-phase-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #3b82f6;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.reskilling-phase-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.reskilling-phase-duration {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f0f9ff;
    color: #0369a1;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.reskilling-course-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid #3b82f6;
    transition: all 0.2s ease;
}

.reskilling-course-card:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.reskilling-course-card.epsa {
    border-left-color: #10b981;
}

.reskilling-course-card.dtims {
    border-left-color: #f59e0b;
}

/* Responsive */
@media (max-width: 768px) {
    .reskilling-phase-timeline {
        padding-left: 1.5rem;
    }
    
    .reskilling-phase-item::before {
        left: -1.75rem;
        width: 12px;
        height: 12px;
    }
}

/* Coursera Course Card */
.reskilling-course-card.coursera {
    border-left-color: #0056d2;
}

.bg-primary-subtle {
    background-color: rgba(0, 86, 210, 0.15) !important;
}

/* Support Link in Navigation */
.nav-link.support-link {
    position: relative;
}

.nav-link.support-link i {
    color: #ff6b81 !important;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.nav-link.support-link:hover i {
    color: #ff4757 !important;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    70% { transform: scale(1); }
}

/* Text gradient utility */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   GUEST SAVE PROMPT
   ======================================== */

.guest-save-prompt {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.2);
}

.guest-save-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.guest-save-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guest-save-icon i {
    font-size: 1.5rem;
    color: white;
}

.guest-save-text {
    flex: 1;
    min-width: 200px;
}

.guest-save-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.25rem 0;
}

.guest-save-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.guest-save-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.guest-save-actions .btn-primary {
    background: white;
    color: #1e3a5f;
    border: none;
    font-weight: 600;
}

.guest-save-actions .btn-primary:hover {
    background: #f8f9fa;
    color: #1e3a5f;
}

.guest-save-actions .btn-outline-primary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.guest-save-actions .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

@media (max-width: 768px) {
    .guest-save-content {
        flex-direction: column;
        text-align: center;
    }
    
    .guest-save-actions {
        width: 100%;
        justify-content: center;
    }
}
