/* Extracted CSS from dyslexia-quick-test.html */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #f8f6f3 0%, #ffffff 100%);
    color: #2c2c2c;
    min-height: 100vh;
    line-height: 1.6;
}
.app-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.header {
    text-align: center;
    padding: 40px 20px 30px;
    animation: fadeInDown 0.6s ease-out;
}
.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #2d5a7b;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.subtitle {
    font-size: 1rem;
    color: #5a5a5a;
    font-weight: 400;
}
.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 4px 20px rgba(45, 90, 123, 0.08);
    margin: 20px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out;
}
.progress-bar {
    height: 4px;
    background: #e0ddd8;
    border-radius: 4px;
    margin-bottom: 32px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2d5a7b, #e8935c);
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.step-indicator {
    font-size: 0.875rem;
    color: #8a8a8a;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.question-text {
    font-size: 1.5rem;
    color: #2c2c2c;
    margin-bottom: 40px;
    line-height: 1.5;
    font-weight: 500;
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.input-group {
    margin-bottom: 32px;
}
label {
    display: block;
    font-size: 0.95rem;
    color: #5a5a5a;
    margin-bottom: 8px;
    font-weight: 500;
}
input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    border: 2px solid #e0ddd8;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8f6f3;
}
input[type="email"]:focus {
    outline: none;
    border-color: #2d5a7b;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(45, 90, 123, 0.1);
}
.button-group {
    display: flex;
    gap: 16px;
    margin-top: auto;
}
.btn {
    flex: 1;
    padding: 18px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary {
    background: #2d5a7b;
    color: white;
}
.btn-primary:hover {
    background: #4a7ba7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 123, 0.3);
}
.btn-yes {
    background: #6a9f7e;
    color: white;
}
.btn-yes:hover {
    background: #5a8f6e;
    transform: translateY(-2px);
}
.btn-no {
    background: #f8f6f3;
    color: #2c2c2c;
    border: 2px solid #e0ddd8;
}
.btn-no:hover {
    background: #e0ddd8;
    transform: translateY(-2px);
}
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e0ddd8;
}
.btn-nav {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: #2d5a7b;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-nav:hover:not(:disabled) {
    color: #4a7ba7;
}
.btn-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.results {
    text-align: center;
}
.results-score {
    font-size: 4rem;
    font-weight: 700;
    color: #2d5a7b;
    margin: 32px 0;
    line-height: 1;
}
.results-text {
    font-size: 1.1rem;
    color: #5a5a5a;
    line-height: 1.8;
    margin-bottom: 32px;
}
.results-link {
    display: inline-block;
    color: #2d5a7b;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #2d5a7b;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 8px;
}
.results-link:hover {
    background: #2d5a7b;
    color: white;
    transform: translateY(-2px);
}
.footer {
    text-align: center;
    padding: 32px 20px 20px;
    color: #8a8a8a;
    font-size: 0.875rem;
}
.footer a {
    color: #2d5a7b;
    text-decoration: none;
    font-weight: 600;
}
.footer a:hover {
    text-decoration: underline;
}
.review-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 24px;
}
.review-item {
    padding: 16px;
    margin-bottom: 12px;
    background: #f8f6f3;
    border-radius: 8px;
    border-left: 4px solid #e0ddd8;
    transition: all 0.2s ease;
    cursor: pointer;
}
.review-item:hover {
    border-left-color: #2d5a7b;
    background: #f0ede8;
}
.review-question {
    font-size: 0.95rem;
    color: #2c2c2c;
    margin-bottom: 4px;
}
.review-answer {
    font-weight: 600;
    color: #2d5a7b;
}
.error-message {
    color: #c54545;
    font-size: 0.875rem;
    margin-top: 8px;
}
.success-message {
    color: #6a9f7e;
    font-size: 0.875rem;
    margin-top: 8px;
}
.sending-indicator {
    text-align: center;
    color: #5a5a5a;
    font-style: italic;
    margin-top: 16px;
}
.hidden {
    display: none;
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 640px) {
    .card {
        padding: 32px 24px;
    }
    .question-text {
        font-size: 1.25rem;
    }
    .logo {
        font-size: 1.5rem;
    }
    .results-score {
        font-size: 3rem;
    }
    .button-group {
        flex-direction: column;
    }
}
