/* Assessment Page Specific Styles */

/* Base Reset & Theme Vars (To match index without importing style.css fully if needed) */
:root {
    --primary-blue: #3b82f6;
    /* Synced with style.css */
    --primary-coral: #ef4444;
    --text-dark: #1e293b;
    --text-gray: #64748b;

    /* Gradient Colors from Index */
    --grad-start: #f0f9ff;
    --grad-end: #e0f2fe;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

/* Replicating Hero Section Background */
.assessment-hero {
    background-image: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0 60px;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Assessment Card Container */
.assessment-container-card {
    background: rgba(255, 255, 255, 0.95);
    /* Translucent */
    backdrop-filter: blur(12px);
    /* Glass effect */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 45px 40px;
    /* Slightly more vertical padding */
    max-width: 550px;
    margin: 40px auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    /* Softer shadow */
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Blue corner effect */
.assessment-container-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    transform: rotate(45deg);
}

/* Step Containers */
.step-container {
    animation: fadeIn 0.4s ease;
}

.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inputs styling (Matching Hero Form) */
/* Inputs styling (Matching Hero Form) */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group .input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    font-size: 18px;
    color: #64748b;
}

.assess-input {
    width: 100%;
    padding: 14px 14px 14px 55px;
    /* Increased padding to prevent overlap */
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
    background-color: white;
}

.assess-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    /* Adjusted RGB for #3b82f6 */
}

/* Quiz Content Styling */
.question-text-hero {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.4;
    min-height: 80px;
    /* Added to prevent layout shift */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-option-btn {
    background: white;
    /* Clean white card */
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 12px;
    text-align: left;
    font-size: 16px;
    /* Slightly larger text */
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
}

.hero-option-btn:hover:not(.disabled) {
    background: #f8fafc;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    /* Slight lift */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hero-option-btn.selected {
    background: #eff6ff;
    /* Light blue tint */
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.hero-option-btn.correct {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #15803d;
}

.hero-option-btn.wrong {
    background: #fef2f2;
    border-color: #ef4444;
    color: #b91c1c;
}

/* Results Section in Hero Style */
.score-circle-hero {
    width: 100px;
    height: 100px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

#final-score {
    font-size: 36px;
}

.total-hero {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 10px;
    margin-left: 2px;
}

.result-hero-content h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.result-hero-content p {
    color: var(--text-gray);
    margin-bottom: 25px;
}

/* Feedback Area */
.feedback-msg {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

.feedback-msg.correct {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.feedback-msg.wrong {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Error State for Inputs */
.assess-input.input-error {
    border-color: #dc2626 !important;
    background-color: #fef2f2;
}