/* Test Page Styles */

.test-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f8 100%);
    min-height: calc(100vh - 300px);
}

.test-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.test-intro h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.test-intro p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

.test-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.test-category-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.test-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.test-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.test-category-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.test-category-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.test-status {
    margin-top: 1.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-badge.coming-soon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.status-badge.available {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.test-start-btn {
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.test-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

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

.test-info-box {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
    border-left: 4px solid #4a90e2;
}

.test-info-box h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.test-info-box p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Test Form Styles */
.evaluation-test {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 2rem auto;
}

.evaluation-test-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #4a90e2;
}

.evaluation-test-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.evaluation-test-header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

.test-form-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.test-form-info-item {
    display: flex;
    flex-direction: column;
}

.test-form-info-item label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.test-form-info-item input {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.test-form-info-item input:focus {
    outline: none;
    border-color: #4a90e2;
}

.test-category-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
}

.test-category-section h3 {
    font-size: 1.5rem;
    color: #4a90e2;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.test-question {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.test-question-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 500;
}

.test-options {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.test-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.test-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #4a90e2;
}

.test-option label {
    font-size: 1rem;
    color: #555;
    cursor: pointer;
    user-select: none;
}

.test-notes-section {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.test-notes-section h3 {
    font-size: 1.5rem;
    color: #4a90e2;
    margin-bottom: 1rem;
    font-weight: 600;
}

.test-notes-section textarea {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.test-notes-section textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.test-submit-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.test-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

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

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content.warning {
    border-top: 5px solid #f59e0b;
}

.modal-content.success {
    border-top: 5px solid #10b981;
}

.modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

.modal-content.success .modal-icon {
    font-size: 4.5rem;
    color: #10b981;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.modal-content.warning .modal-title {
    color: #f59e0b;
}

.modal-content.success .modal-title {
    color: #10b981;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.modal-body strong {
    color: #333;
    font-weight: 600;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.modal-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 150px;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

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

.modal-content.warning .modal-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.modal-content.success .modal-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

@media (max-width: 768px) {
    .test-section {
        padding: 2rem 1rem;
    }

    .test-intro h2 {
        font-size: 2rem;
    }

    .test-intro p {
        font-size: 1rem;
    }

    .test-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .test-category-card {
        padding: 2rem;
    }

    .test-info-box {
        padding: 2rem;
    }

    .evaluation-test {
        padding: 2rem 1.5rem;
    }

    .evaluation-test-header h2 {
        font-size: 1.5rem;
    }

    .test-form-info {
        grid-template-columns: 1fr;
    }

    .test-options {
        flex-direction: column;
        gap: 1rem;
    }

    .test-category-section {
        padding: 1rem;
    }

    .modal-content {
        width: 95%;
        max-width: 95%;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal-icon {
        font-size: 3rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-body p {
        font-size: 1rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem 1.5rem;
    }

    .modal-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
}

/* Disleksi Test Styles */
.dyslexia-test-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 2rem auto;
}

.dyslexia-test-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
    text-align: center;
}

.dyslexia-test-section .test-intro {
    background: linear-gradient(135deg, #e8f0f8 0%, #f5f7fa 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    margin-bottom: 2rem;
    text-align: left;
    line-height: 1.8;
    color: #333;
    max-width: 100%;
}

.dyslexia-test-section .test-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.dyslexia-test-section .test-category {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.dyslexia-test-section .test-category:last-of-type {
    border-bottom: none;
}

.dyslexia-test-section .test-category h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.dyslexia-test-section .test-question {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.dyslexia-test-section .test-question label:first-child {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.dyslexia-test-section .radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.dyslexia-test-section .radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: normal;
}

.dyslexia-test-section .radio-group label:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.dyslexia-test-section .radio-group input[type="radio"] {
    margin: 0;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #667eea;
    flex-shrink: 0;
}

.dyslexia-test-section .test-submit-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.dyslexia-test-section .test-submit-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.dyslexia-test-section .test-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.dyslexia-test-section .test-submit-button:active {
    transform: translateY(0);
}

.dyslexia-test-section .test-result {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f8 100%);
    border-radius: 12px;
    border-left: 5px solid #667eea;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.dyslexia-test-section .result-content h3 {
    color: #667eea;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.dyslexia-test-section .score-display {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
}

.dyslexia-test-section .score-label {
    display: block;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.dyslexia-test-section .score-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin: 0.5rem 0;
}

.dyslexia-test-section .score-percentage {
    display: block;
    font-size: 1.2rem;
    color: #888;
}

.dyslexia-test-section .risk-level {
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.dyslexia-test-section .risk-level.yüksek-risk {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
}

.dyslexia-test-section .risk-level.orta-risk {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    color: white;
}

.dyslexia-test-section .risk-level.düşük-risk {
    background: linear-gradient(135deg, #ffd54f 0%, #ffc107 100%);
    color: #856404;
}

.dyslexia-test-section .risk-level.minimal-risk {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    color: white;
}

.dyslexia-test-section .result-message {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.dyslexia-test-section .result-message p {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.dyslexia-test-section .result-recommendation {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.dyslexia-test-section .result-recommendation p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.8;
}

.dyslexia-test-section .result-recommendation strong {
    color: #667eea;
    font-weight: 600;
}

@media (max-width: 768px) {
    .dyslexia-test-section {
        padding: 2rem 1.5rem;
    }

    .dyslexia-test-section h2 {
        font-size: 1.5rem;
    }

    .dyslexia-test-section .test-category h3 {
        font-size: 1.3rem;
    }

    .dyslexia-test-section .test-question {
        padding: 1rem;
    }

    .dyslexia-test-section .radio-group {
        grid-template-columns: 1fr;
    }
}

