/* Neon Minimalist Login Form - Complete & Self-Contained */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0f;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Override main.css conflicting styles */
.phpcoding {
    background: #0a0a0f !important;
    margin: 0 !important;
    width: 100% !important;
    min-height: 100vh !important;
    display: block !important;
}

.maincontent {
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
}

.login-container {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 10;
}

.login-card {
    background: #151520;
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0099ff, transparent);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-card:hover::before {
    opacity: 1;
}

.login-card:hover {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 255, 136, 0.1),
        0 0 40px rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0099ff, #00ff88);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 153, 255, 0.3));
    animation: pulse 2s ease-in-out infinite alternate;
}

.login-header h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.login-header p {
    color: #a0a0b0;
    font-size: 16px;
    font-weight: 400;
}

/* Form Group & Input Styles */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-wrapper input {
    width: 100%;
    background: #1a1a25;
    border: 1px solid #2a2a35;
    border-radius: 6px;
    padding: 20px 16px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.input-wrapper input:focus {
    border-color: #0099ff;
    background: rgba(26, 26, 37, 0.8);
    box-shadow: 
        0 0 0 3px rgba(0, 153, 255, 0.1),
        0 4px 20px rgba(0, 153, 255, 0.1);
}

.input-wrapper input:focus + label,
.input-wrapper input:valid + label,
.input-wrapper input.has-value + label {
    transform: translateY(-28px) translateX(4px) scale(0.85);
    color: #0099ff;
    font-weight: 500;
}

.input-wrapper label {
    position: absolute;
    left: 16px;
    top: 20px;
    color: #a0a0b0;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    transform-origin: left top;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 16px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0099ff, #00ff88);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.input-wrapper input:focus ~ .input-line,
.input-wrapper input.has-value ~ .input-line {
    width: 100%;
}

/* Password Toggle */
.password-wrapper input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #a0a0b0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
}

.password-toggle:hover {
    color: #0099ff;
    background: rgba(0, 153, 255, 0.1);
}

.toggle-icon {
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a0a0b0' stroke-width='2'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.password-toggle:hover .toggle-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300ff88' stroke-width='2'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3e%3c/svg%3e");
}

.toggle-icon.show-password {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a0a0b0' stroke-width='2'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 11-4.243-4.243m4.242 4.242L9.88 9.88'/%3e%3c/svg%3e");
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 16px;
}

.remember-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-wrapper input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #2a2a35;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.custom-checkbox::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #0099ff;
    border-radius: 1px;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.remember-wrapper input[type="checkbox"]:checked + .checkbox-label .custom-checkbox {
    border-color: #0099ff;
    background: rgba(0, 153, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 153, 255, 0.3);
}

.remember-wrapper input[type="checkbox"]:checked + .checkbox-label .custom-checkbox::after {
    transform: scale(1);
}

.checkbox-label {
    color: #a0a0b0;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.remember-wrapper:hover .checkbox-label {
    color: #ffffff;
}

.forgot-password {
    color: #a0a0b0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.forgot-password:hover {
    color: #0099ff;
}

/* Neon Button */
.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #0099ff, #00ff88);
    border: none;
    border-radius: 6px;
    padding: 20px 32px;
    color: #0a0a0f;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 10px 30px rgba(0, 153, 255, 0.3),
        0 0 40px rgba(0, 153, 255, 0.2);
}

.login-btn:hover .btn-glow {
    left: 100%;
}

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

/* Loading State */
.login-btn.loading {
    pointer-events: none;
}

.btn-text {
    transition: opacity 0.3s ease;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #0a0a0f;
    border-radius: 50%;
    opacity: 0;
    animation: spin 1s linear infinite;
    transition: opacity 0.3s ease;
}

.login-btn.loading .btn-text {
    opacity: 0;
}

.login-btn.loading .btn-loader {
    opacity: 1;
}

/* Divider */
.divider {
    text-align: center;
    margin: 25px 0 20px;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2a2a35, transparent);
    transform: translateY(-50%);
}

.divider span {
    background: #151520;
    color: #a0a0b0;
    padding: 0 24px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}

/* Signup Link */
.signup-link {
    text-align: center;
}

.signup-link p {
    color: #a0a0b0;
    font-size: 14px;
}

.signup-link a {
    color: #0099ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.signup-link a:hover {
    color: #0099ff;
    text-shadow: 0 0 10px rgba(0, 153, 255, 0.5);
}

/* Error States */
.error-message {
    color: #ff0080;
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
    margin-left: 4px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 0, 128, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 0, 128, 0.2);
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-group.error .input-wrapper input {
    border-color: #ff0080;
    background: rgba(255, 0, 128, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 0, 128, 0.1);
    animation: shake 0.5s ease-in-out;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.1), transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.glow-orb-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -10%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.08), transparent 70%);
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -5%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.06), transparent 70%);
    animation-delay: -2s;
}

.glow-orb-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.04), transparent 70%);
    animation-delay: -4s;
}

/* Animations */
@keyframes pulse {
    from { filter: drop-shadow(0 0 20px rgba(0, 153, 255, 0.3)); }
    to { filter: drop-shadow(0 0 30px rgba(0, 153, 255, 0.6)); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-20px) translateX(10px); }
    66% { transform: translateY(10px) translateX(-10px); }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .login-card {
        padding: 24px;
        margin: 10px;
    }
    
    .login-header h3 {
        font-size: 1.75rem;
    }
    
    .input-wrapper input {
        padding: 16px;
    }
    
    .password-wrapper input {
        padding-right: 45px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .glow-orb {
        opacity: 0.5;
    }
}

/* Success Message Modal */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #0099ff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 153, 255, 0.2),
        0 0 40px rgba(0, 153, 255, 0.3);
    text-align: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    max-width: 320px;
    width: 90%;
}

.success-message.show {
    opacity: 1;
    visibility: visible;
    animation: successBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-icon {
    font-size: 3rem;
    color: #00ff88;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.5));
    animation: successPulse 2s ease-in-out infinite;
}

.success-message h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.success-message p {
    color: #a0a0b0;
    font-size: 14px;
    line-height: 1.5;
}

@keyframes successBounce {
    0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.05); }
    70% { transform: translate(-50%, -50%) scale(0.9); }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

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

/* Success Message Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Exam Dashboard Styles */
.exam-dashboard {
    min-height: 100vh;
    background: #0a0a0f;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Modern Header Styles */
.main-header {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border-bottom: 1px solid #2a2a35;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0099ff, #00ff88);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
}

.brand-text h1 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.02em;
}

.brand-text h1 span {
    color: #0099ff;
}

.brand-text p {
    color: #a0a0b0;
    font-size: 12px;
    margin: 2px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0099ff, #00ff88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.user-role {
    color: #a0a0b0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 153, 255, 0.1);
    border: 1px solid rgba(0, 153, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.nav-link:hover {
    background: rgba(0, 153, 255, 0.2);
    border-color: rgba(0, 153, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
}

.nav-link.logout {
    background: rgba(255, 128, 128, 0.1);
    border-color: rgba(255, 128, 128, 0.2);
    color: #ff8080;
}

.nav-link.logout:hover {
    background: rgba(255, 128, 128, 0.2);
    border-color: rgba(255, 128, 128, 0.4);
    box-shadow: 0 4px 12px rgba(255, 128, 128, 0.3);
}

.nav-icon {
    font-size: 16px;
}

/* Mobile Header */
@media (max-width: 768px) {
    .header-container {
        padding: 12px 16px;
        flex-direction: column;
        gap: 16px;
    }

    .header-brand {
        width: 100%;
        justify-content: center;
    }

    .header-user {
        width: 100%;
        justify-content: space-between;
    }

    .header-actions {
        gap: 12px;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 13px;
    }

    .brand-text h1 {
        font-size: 1.25rem;
    }
}

.dashboard-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

/* Dashboard Header */
.dashboard-header {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.welcome-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 300px;
}

.welcome-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0099ff, #00ff88);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 153, 255, 0.3);
}

.welcome-text h1 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}

.welcome-text p {
    color: #a0a0b0;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

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

.stat-card {
    background: rgba(0, 153, 255, 0.1);
    border: 1px solid rgba(0, 153, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 120px;
}

.stat-icon {
    font-size: 24px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    color: #0099ff;
    font-size: 18px;
    font-weight: 600;
}

.stat-label {
    color: #a0a0b0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Titles */
.section-title {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
}

/* Exam Cards */
.exam-cards-section {
    margin-bottom: 40px;
}

.exam-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.exam-card {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.exam-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0099ff, #00ff88);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exam-card:hover::before {
    opacity: 1;
}

.exam-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 153, 255, 0.3);
}

.exam-card.coming-soon {
    opacity: 0.7;
    pointer-events: none;
}

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

.exam-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 153, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exam-status {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.available {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.status-badge.upcoming {
    background: rgba(160, 160, 176, 0.2);
    color: #a0a0b0;
    border: 1px solid rgba(160, 160, 176, 0.3);
}

.exam-card-content h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}

.exam-code {
    color: #0099ff;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exam-description {
    color: #a0a0b0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.exam-details {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a0a0b0;
    font-size: 13px;
}

.detail-icon {
    font-size: 14px;
}

.exam-card-actions {
    margin-top: auto;
}

.exam-start-btn,
.exam-notify-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0099ff, #0077cc);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
}

.exam-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 153, 255, 0.4);
    background: linear-gradient(135deg, #0077cc, #005599);
}

.exam-notify-btn {
    background: rgba(160, 160, 176, 0.2);
    color: #a0a0b0;
    box-shadow: none;
    cursor: not-allowed;
}

.exam-notify-btn:hover {
    transform: none;
    box-shadow: none;
    background: rgba(160, 160, 176, 0.2);
}

.btn-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.exam-start-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Quick Actions */
.quick-actions-section {
    margin-bottom: 40px;
}

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

.action-card {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.action-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 153, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.action-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    background: rgba(0, 153, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-content h4 {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.action-content p {
    color: #a0a0b0;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Dashboard Background */
.dashboard-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.1) 0%, transparent 70%);
    animation: bgGlow 8s ease-in-out infinite alternate;
}

.bg-glow-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-glow-2 {
    width: 400px;
    height: 400px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.bg-glow-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes bgGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.2); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .exam-dashboard {
        padding: 15px;
    }

    .dashboard-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .welcome-section {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .welcome-text h1 {
        font-size: 1.75rem;
    }

    .exam-cards-grid {
        grid-template-columns: 1fr;
    }

    .exam-card {
        padding: 20px;
    }

    .exam-details {
        flex-direction: column;
        gap: 8px;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

    .bg-glow {
        opacity: 0.2;
    }
}

/* Exam Start Page Styles */
.exam-start-section {
    min-height: 100vh;
    background: #0a0a0f;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

.start-container {
    width: 100%;
    max-width: 1000px;
    position: relative;
    z-index: 10;
}

/* Start Header */
.start-header {
    text-align: center;
    margin-bottom: 40px;
}

.exam-prep-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0099ff, #00ff88);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(0, 153, 255, 0.3);
    animation: pulse 2s ease-in-out infinite alternate;
}

.start-header h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.start-header p {
    color: #0099ff;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Exam Info Grid */
.exam-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.info-card {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 153, 255, 0.3);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

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

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 153, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.card-content {
    color: #a0a0b0;
    line-height: 1.6;
}

.exam-stats {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

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

.stat-number {
    display: block;
    color: #0099ff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.stat-label {
    color: #a0a0b0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.instructions-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.instructions-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.instructions-list li:before {
    content: "✓";
    color: #00ff88;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Start Test Section */
.start-test-section {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.readiness-check h2 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.readiness-check p {
    color: #a0a0b0;
    font-size: 16px;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.readiness-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.readiness-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    background: rgba(0, 153, 255, 0.05);
    border: 1px solid rgba(0, 153, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.readiness-item:hover {
    background: rgba(0, 153, 255, 0.1);
    border-color: rgba(0, 153, 255, 0.2);
}

.readiness-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #a0a0b0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.readiness-item input:checked + .checkmark {
    background: #0099ff;
    border-color: #0099ff;
}

.readiness-item input:checked + .checkmark:after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.readiness-text {
    color: #a0a0b0;
    font-size: 14px;
    flex: 1;
}

.readiness-item input:checked ~ .readiness-text {
    color: #ffffff;
}

/* Start Actions */
.start-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.back-btn,
.start-test-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.back-btn {
    background: rgba(160, 160, 176, 0.1);
    border: 1px solid rgba(160, 160, 176, 0.2);
    color: #a0a0b0;
}

.back-btn:hover {
    background: rgba(160, 160, 176, 0.2);
    border-color: rgba(160, 160, 176, 0.4);
    transform: translateY(-2px);
}

.start-test-btn {
    background: linear-gradient(135deg, #0099ff, #0077cc);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
    opacity: 0.6;
    pointer-events: none;
}

.start-test-btn.enabled {
    opacity: 1;
    pointer-events: auto;
}

.start-test-btn:hover.enabled {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 153, 255, 0.4);
    background: linear-gradient(135deg, #0077cc, #005599);
}

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

.start-test-btn:hover .btn-glow {
    left: 100%;
}

/* Background Effects */
.start-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.1) 0%, transparent 70%);
    animation: bgGlow 8s ease-in-out infinite alternate;
}

.bg-glow-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-glow-2 {
    width: 400px;
    height: 400px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.bg-glow-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes bgGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.2); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .exam-start-section {
        padding: 15px;
    }

    .start-header h1 {
        font-size: 2rem;
    }

    .exam-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-card {
        padding: 20px;
    }

    .start-test-section {
        padding: 24px;
    }

    .readiness-options {
        gap: 12px;
    }

    .start-actions {
        flex-direction: column;
        align-items: center;
    }

    .back-btn,
    .start-test-btn {
        width: 100%;
        justify-content: center;
    }

    .bg-glow {
        opacity: 0.2;
    }
}

/* Exam Test Page Styles */
.exam-test-section {
    min-height: 100vh;
    background: #0a0a0f;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

.test-container {
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 10;
}

/* Exam Header */
.exam-header {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.exam-info {
    flex: 1;
    min-width: 250px;
}

.exam-title h1 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}

.exam-title p {
    color: #0099ff;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exam-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
}

.progress-info {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.current-q, .total-q {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.separator {
    color: #a0a0b0;
    font-size: 14px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(160, 160, 176, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0099ff, #00ff88);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 150px;
}

.timer-display {
    background: rgba(0, 153, 255, 0.1);
    border: 2px solid rgba(0, 153, 255, 0.3);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.timer-display.warning {
    background: rgba(255, 170, 0, 0.1);
    border-color: rgba(255, 170, 0, 0.5);
    animation: pulseWarning 1s ease-in-out infinite alternate;
}

.timer-display.critical {
    background: rgba(255, 128, 128, 0.1);
    border-color: rgba(255, 128, 128, 0.5);
    animation: pulseCritical 0.5s ease-in-out infinite alternate;
}

.timer-display.expired {
    background: rgba(255, 128, 128, 0.2);
    border-color: rgba(255, 128, 128, 0.7);
}

.timer-icon {
    width: 32px;
    height: 32px;
}

.time-remaining {
    color: #0099ff;
    font-size: 24px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    font-family: 'Courier New', monospace;
}

.timer-display.warning .time-remaining {
    color: #ffaa00;
}

.timer-display.critical .time-remaining,
.timer-display.expired .time-remaining {
    color: #ff8080;
}

.time-label {
    color: #a0a0b0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timer-alert {
    color: #ffaa00;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.timer-alert.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulseWarning {
    0% { box-shadow: 0 0 0 0 rgba(255, 170, 0, 0.4); }
    100% { box-shadow: 0 0 0 8px rgba(255, 170, 0, 0); }
}

@keyframes pulseCritical {
    0% { box-shadow: 0 0 0 0 rgba(255, 128, 128, 0.6); }
    100% { box-shadow: 0 0 0 12px rgba(255, 128, 128, 0); }
}

/* Question Section */
.question-section {
    margin-bottom: 30px;
}

.question-card {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2a35;
}

.question-number {
    /* background: linear-gradient(135deg, #0099ff, #0077cc); */
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.question-type {
    color: #a0a0b0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.question-content h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* Answer Options */
.answers-section {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.answers-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.answer-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(0, 153, 255, 0.05);
    border: 2px solid rgba(0, 153, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.answer-option:hover {
    background: rgba(0, 153, 255, 0.1);
    border-color: rgba(0, 153, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 153, 255, 0.2);
}

.answer-option input[type="radio"] {
    display: none;
}

.option-marker {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0099ff, #0077cc);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.answer-option:hover .option-marker {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.4);
}

.option-text {
    color: #a0a0b0;
    font-size: 16px;
    line-height: 1.5;
    flex: 1;
    transition: color 0.3s ease;
}

.answer-option:hover .option-text {
    color: #ffffff;
}

.option-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #a0a0b0;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.answer-option input:checked ~ .option-checkmark {
    background: #0099ff;
    border-color: #0099ff;
}

.answer-option input:checked ~ .option-checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.answer-option input:checked ~ .option-text {
    color: #ffffff;
    font-weight: 500;
}

.answer-option input:checked {
    background: rgba(0, 153, 255, 0.1);
    border-color: #0099ff;
}

/* Test Actions */
.test-actions {
    display: flex;
    justify-content: center;
}

.next-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0099ff, #0077cc);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 153, 255, 0.4);
    background: linear-gradient(135deg, #0077cc, #005599);
}

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

.next-btn:hover .btn-glow {
    left: 100%;
}

/* Exam Footer */
.exam-footer {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.exam-rules {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rule-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.rule-text {
    color: #a0a0b0;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.rule-text strong {
    color: #ffaa00;
}

/* Test Background */
.test-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.1) 0%, transparent 70%);
    animation: bgGlow 8s ease-in-out infinite alternate;
}

.bg-glow-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-glow-2 {
    width: 400px;
    height: 400px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.bg-glow-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes bgGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.2); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .exam-test-section {
        padding: 15px;
    }

    .exam-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .exam-progress {
        min-width: auto;
        width: 100%;
    }

    .countdown-timer {
        min-width: auto;
    }

    .question-card {
        padding: 24px;
    }

    .question-content h2 {
        font-size: 1.25rem;
    }

    .answers-section {
        padding: 24px;
    }

    .answer-option {
        padding: 16px;
        flex-wrap: wrap;
    }

    .option-text {
        font-size: 15px;
    }

    .exam-rules {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .bg-glow {
        opacity: 0.2;
    }
}

/* Exam Results Page Styles */
.exam-results-section {
    min-height: 100vh;
    background: #0a0a0f;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

.results-container {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Results Header */
.results-header {
    text-align: center;
    margin-bottom: 20px;
}

.success-icon {
    margin-bottom: 20px;
    display: inline-block;
    animation: successPulse 2s ease-in-out infinite;
}

.results-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #00ff88, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-subtitle {
    color: #a0a0b0;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}

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

/* Score Card */
.score-card {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.score-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 30px 0;
}

.score-badge {
    margin-bottom: 30px;
}

.score-value {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 0 20px currentColor;
}

.score-max {
    color: #a0a0b0;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.score-percentage {
    color: #0099ff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.score-grade {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.score-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #2a2a35;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    color: #a0a0b0;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Results Actions */
.results-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: linear-gradient(135deg, #0099ff, #0077cc);
    color: #ffffff;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 153, 255, 0.4);
    background: linear-gradient(135deg, #0077cc, #005599);
}

.secondary-btn {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    color: #ffffff;
}

.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, #00cc66, #009944);
}

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

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

/* Performance Message */
.performance-message {
    margin: 20px 0;
}

.message {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.message.excellent {
    border-color: rgba(0, 255, 136, 0.3);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(0, 255, 136, 0.02));
}

.message.good {
    border-color: rgba(0, 153, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.05), rgba(0, 153, 255, 0.02));
}

.message.needs-improvement {
    border-color: rgba(255, 170, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.05), rgba(255, 170, 0, 0.02));
}

.message h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.message p {
    color: #a0a0b0;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Certificate Preview */
.certificate-preview {
    margin-top: 20px;
}

.certificate-card {
    background: linear-gradient(135deg, #1a1a28, #151520);
    border: 2px solid #2a2a35;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0099ff, #00ff88, #0099ff);
}

.certificate-header h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.certificate-header p {
    color: #0099ff;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
}

.certificate-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.certificate-icon {
    opacity: 0.8;
}

.certificate-text {
    color: #a0a0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.certificate-text strong {
    color: #ffffff;
    font-weight: 600;
}

/* Results Background */
.results-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.1) 0%, transparent 70%);
    animation: bgGlow 8s ease-in-out infinite alternate;
}

.bg-glow-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-glow-2 {
    width: 400px;
    height: 400px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.bg-glow-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

.celebration-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.particle {
    position: absolute;
    font-size: 24px;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

.particle-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    top: 30%;
    right: 25%;
    animation-delay: 1.5s;
}

.particle-3 {
    bottom: 25%;
    left: 25%;
    animation-delay: 3s;
}

.particle-4 {
    bottom: 30%;
    right: 20%;
    animation-delay: 4.5s;
}

@keyframes bgGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) rotate(270deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .exam-results-section {
        padding: 15px;
    }

    .results-title {
        font-size: 2.5rem;
    }

    .results-subtitle {
        font-size: 1rem;
    }

    .score-card {
        padding: 30px 20px;
    }

    .score-value {
        font-size: 3rem;
    }

    .score-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .results-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .certificate-card {
        padding: 24px;
    }

    .bg-glow {
        opacity: 0.2;
    }

    .particle {
        font-size: 18px;
    }
}

/* Answers Review Page Styles */
.answers-review-section {
    min-height: 100vh;
    background: #0a0a0f;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

.answers-container {
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Review Header */
.review-header {
    text-align: center;
    margin-bottom: 20px;
}

.review-icon {
    margin-bottom: 20px;
    display: inline-block;
}

.review-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0099ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.review-subtitle {
    color: #a0a0b0;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.total-questions {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.total-count {
    color: #0099ff;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.total-label {
    color: #a0a0b0;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Questions List */
.questions-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.question-review-card {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.question-review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2a35;
}

.question-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.q-number {
    background: linear-gradient(135deg, #0099ff, #0077cc);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.q-label {
    color: #a0a0b0;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.question-type {
    display: flex;
    align-items: center;
}

.type-badge {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.question-content h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 24px 0;
}

/* Answer Review Items */
.answers-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.answer-review-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(0, 153, 255, 0.05);
    border: 2px solid rgba(0, 153, 255, 0.1);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.answer-review-item.correct {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
}

.answer-review-item.incorrect {
    background: rgba(160, 160, 176, 0.05);
    border-color: rgba(160, 160, 176, 0.1);
}

.answer-marker {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.option-letter {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0099ff, #0077cc);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.answer-review-item.correct .option-letter {
    background: linear-gradient(135deg, #00ff88, #00cc66);
}

.correct-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #00ff88;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0f;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.4);
}

.answer-text {
    color: #a0a0b0;
    font-size: 16px;
    line-height: 1.5;
    flex: 1;
    transition: color 0.3s ease;
}

.answer-review-item.correct .answer-text {
    color: #ffffff;
    font-weight: 500;
}

.correct-label {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* Review Actions */
.review-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.back-btn {
    background: linear-gradient(135deg, #666666, #444444);
    color: #ffffff;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 102, 102, 0.4);
    background: linear-gradient(135deg, #777777, #555555);
}

.retry-btn {
    background: linear-gradient(135deg, #0099ff, #0077cc);
    color: #ffffff;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 153, 255, 0.4);
    background: linear-gradient(135deg, #0077cc, #005599);
}

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

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

/* Review Summary */
.review-summary {
    margin-top: 20px;
}

.summary-card {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.summary-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.summary-card p {
    color: #a0a0b0;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 24px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.summary-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-number {
    color: #0099ff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    color: #a0a0b0;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Answers Background */
.answers-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.1) 0%, transparent 70%);
    animation: bgGlow 8s ease-in-out infinite alternate;
}

.bg-glow-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-glow-2 {
    width: 400px;
    height: 400px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.bg-glow-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes bgGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.2); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .answers-review-section {
        padding: 15px;
    }

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

    .total-count {
        font-size: 2rem;
    }

    .question-review-card {
        padding: 24px;
    }

    .question-content h3 {
        font-size: 1.2rem;
    }

    .answer-review-item {
        padding: 14px 16px;
        flex-wrap: wrap;
    }

    .answer-text {
        font-size: 15px;
    }

    .review-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .summary-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .bg-glow {
        opacity: 0.2;
    }
}

/* Profile Page Styles */
.profile-section {
    min-height: 100vh;
    background: #0a0a0f;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

.profile-container {
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: center;
    flex-direction: column;
}

.profile-avatar {
    margin-bottom: 10px;
}

.avatar-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0099ff, #0077cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 153, 255, 0.3);
    border: 4px solid rgba(0, 153, 255, 0.2);
}

.profile-info {
    flex: 1;
}

.profile-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0099ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-subtitle {
    color: #a0a0b0;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}

/* Profile Card */
.profile-card {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    margin-bottom: 32px;
    text-align: center;
}

.card-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.card-header p {
    color: #a0a0b0;
    font-size: 1rem;
    margin: 0;
}

/* Profile Form */
.profile-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid #2a2a35;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    border-bottom-color: #0099ff;
}

.input-wrapper input::placeholder {
    color: #666666;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0099ff, #00ff88);
    transition: width 0.3s ease;
}

.input-wrapper input:focus + .input-line {
    width: 100%;
}

.error-message {
    color: #ff8080;
    font-size: 12px;
    min-height: 16px;
    display: block;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.update-btn {
    background: linear-gradient(135deg, #0099ff, #0077cc);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.update-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 153, 255, 0.4);
    background: linear-gradient(135deg, #0077cc, #005599);
}

.cancel-btn {
    background: transparent;
    color: #a0a0b0;
    border: 2px solid #2a2a35;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: rgba(160, 160, 176, 0.1);
    border-color: #a0a0b0;
    color: #ffffff;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.update-btn:hover .btn-glow {
    left: 100%;
}

/* Profile Stats */
.profile-stats {
    margin-top: 20px;
}

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

.stat-card {
    background: linear-gradient(135deg, #151520, #1a1a25);
    border: 1px solid #2a2a35;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0099ff, #0077cc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.stat-label {
    color: #a0a0b0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Profile Background */
.profile-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.1) 0%, transparent 70%);
    animation: bgGlow 8s ease-in-out infinite alternate;
}

.bg-glow-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-glow-2 {
    width: 400px;
    height: 400px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.bg-glow-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes bgGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.2); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .profile-section {
        padding: 15px;
    }

    .profile-header {
        gap: 16px;
    }

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

    .profile-subtitle {
        font-size: 1rem;
    }

    .avatar-circle {
        width: 80px;
        height: 80px;
    }

    .avatar-circle svg {
        width: 40px;
        height: 40px;
    }

    .profile-card {
        padding: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-actions {
        flex-direction: column;
        align-items: center;
    }

    .update-btn,
    .cancel-btn {
        width: 100%;
        justify-content: center;
    }

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

    .stat-card {
        padding: 20px;
    }

    .bg-glow {
        opacity: 0.2;
    }
}