/* ESA Quick Scan Specific Styles */

.esa-hero {
    background: linear-gradient(135deg, #00457C 0%, #0066B3 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.esa-hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.esa-hero .subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

#esa-app {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}

.esa-screen {
    display: none;
}

.esa-screen.active {
    display: block;
}

/* Intro Screen */
.intro-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.intro-content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.dimension-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.dimension-list li {
    padding: 12px;
    margin: 8px 0;
    background: #f8f9fa;
    border-left: 4px solid #00457C;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00457C 0%, #0066B3 100%);
    transition: width 0.3s ease;
    width: 0%;
}

.question-counter {
    text-align: center;
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.question-counter #current-question {
    color: #00457C;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Question Container */
.question-container {
    background: white;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 85vh;
    overflow-y: auto;
}

.category-badge {
    display: inline-block;
    background: #00457C;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.question-text {
    color: #2c3e50;
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Options */
.options-container {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.option-button {
    display: inline-block;
    padding: 12px 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    flex: 0 1 auto;
}

.option-button:hover {
    background: #e3f2fd;
    border-color: #0066B3;
}

.option-button.selected {
    background: #e3f2fd;
    border-color: #00457C;
    box-shadow: 0 3px 8px rgba(0, 69, 124, 0.2);
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.btn-secondary {
    padding: 12px 30px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

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

.form-group {
    margin: 20px 0;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input[type="checkbox"] {
    margin-right: 8px;
}

/* Results */
.results-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.results-container h2 {
    color: #2c3e50;
    margin-bottom: 30px;
}

.score-display {
    text-align: center;
    margin: 40px 0;
}

.total-score {
    font-size: 4rem;
    font-weight: bold;
    color: #00457C;
}

.score-label {
    font-size: 1.2rem;
    color: #666;
}

.maturity-level {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 6px solid #00457C;
}

.category-scores {
    margin: 40px 0;
}

.category-score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 10px 0;
    background: #f8f9fa;
    border-radius: 4px;
}

.category-score-bar {
    width: 60%;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.category-score-fill {
    height: 100%;
    background: linear-gradient(90deg, #00457C 0%, #0066B3 100%);
    transition: width 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .question-text {
        font-size: 1.2rem;
    }

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