/* Stroop Test Styles */
.stroop-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.stroop-container h2 {
    color: var(--text-primary, #ffffff);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.instructions {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.instructions p {
    margin: 1rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.start-test-btn, .restart-btn, .back-btn {
    background: var(--gradient-primary, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    color: var(--text-primary, white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    margin: 0.5rem;
    transition: transform 0.2s;
}

.start-test-btn:hover, .restart-btn:hover, .back-btn:hover {
    transform: translateY(-2px);
}

.trial-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-primary, #ffffff);
    font-weight: 600;
}

#test-timer {
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.test-settings {
    margin: 2rem 0;
    text-align: center;
}

.test-settings label {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-primary, #ffffff);
}

#question-count {
    width: 200px;
    margin: 0 1rem;
}

#question-display {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-blue, #60a5fa);
    margin-left: 0.5rem;
}

.stroop-word {
    font-family: 'Arial Black', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    user-select: none;
}

.color-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.color-btn {
    padding: 1rem;
    border: 3px solid white;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.color-btn:hover {
    transform: scale(1.05);
    border-color: #ffd700;
}

.results {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 1.2rem;
    color: var(--text-primary, #ffffff);
}

.result-label {
    font-weight: normal;
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
}

.result-value {
    font-weight: bold;
    color: var(--accent-blue, #4ade80);
}

.performance-rating {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--gradient-primary, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    border-radius: 8px;
    color: var(--text-primary, white);
}

#test-area {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .color-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stroop-word {
        font-size: 36px !important;
    }
}