/* Diagnostic Test Styles - Complete Xocratic Brand */

/* Container and Layout */
.diagnostic-container {
    min-height: 100vh;
    background: #f8f9fa;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Header Styles */
.diagnostic-header {
    background: linear-gradient(135deg, #00b9cb 0%, #009aaa 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 185, 203, 0.2);
}

.logo-section h1 {
    margin: 0;
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.tagline {
    margin: 8px 0;
    opacity: 0.95;
    font-style: italic;
    font-family: 'PT Sans', sans-serif;
    font-size: 1.1rem;
}

.test-info {
    margin-top: 25px;
}

.test-info h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.test-info p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Screen Management */
.screen {
    display: none;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.screen.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

/* Registration Content */
.registration-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.registration-content h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.registration-content > p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Test Overview Section */
.test-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.overview-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.overview-card:hover {
    box-shadow: 0 5px 15px rgba(0, 185, 203, 0.1);
    border-color: #00b9cb;
}

.overview-card h4 {
    color: #00b9cb;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
}

.overview-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overview-card li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: #4a5568;
    line-height: 1.6;
}

.overview-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00b9cb;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Module Information */
.module-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.module {
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.module:hover {
    border-color: #00b9cb;
    transform: translateY(-2px);
}

.module strong {
    color: #00b9cb;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
}

.module p {
    margin: 6px 0;
    font-size: 0.95rem;
    color: #666;
}

/* Registration Form */
.registration-form {
    margin-top: 35px;
}

.registration-form h4 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    font-family: 'Roboto', sans-serif;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00b9cb;
    box-shadow: 0 0 0 3px rgba(0, 185, 203, 0.1);
}

.form-group input::placeholder {
    color: #a0aec0;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #718096;
    font-size: 0.85rem;
}

/* Test Notice */
.test-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffd93d;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    position: relative;
}

.test-notice:before {
    content: "⚠️";
    position: absolute;
    left: 20px;
    font-size: 1.2rem;
}

.test-notice p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
    padding-left: 35px;
    line-height: 1.6;
}

/* Submit Button */
.start-test-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #00b9cb 0%, #009aaa 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.start-test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 185, 203, 0.3);
}

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

.start-test-btn:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.start-test-btn:hover:before {
    width: 300px;
    height: 300px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .diagnostic-header {
        padding: 20px 15px;
    }
    
    .logo-section h1 {
        font-size: 2rem;
    }
    
    .test-info h2 {
        font-size: 1.5rem;
    }
    
    .registration-content {
        padding: 25px 20px;
    }
    
    .test-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .overview-card {
        padding: 20px;
    }
    
    .form-group input,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .start-test-btn {
        font-size: 1.1rem;
        padding: 16px;
    }
}

/* Loading State */
.test-loading {
    text-align: center;
    padding: 60px 20px;
}

.test-loading h3 {
    color: #00b9cb;
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.test-loading p {
    color: #666;
    font-size: 1.1rem;
}

/* Error State */
.error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Success State */
.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

