/* Main content box with scoped background */
.test-prep-container {
    background: #fff;
    max-width: 800px;
    margin: 3.5rem auto 2.5rem auto;
    padding: 2.5rem 2.2rem 2.2rem 2.2rem;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    border: 1px solid #e3e8ee;
    position: relative;
    z-index: 1;
}

/* Add background behind the container when test prep is active */
#main-content:has(.test-prep-container) {
    background: linear-gradient(120deg, #e8f5e8 0%, #c8e6c9 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

/* Decorative accent bar */
.test-prep-container::before {
    content: "";
    display: block;
    width: 60px;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, #4CAF50 0%, #8BC34A 100%);
    margin-bottom: 1.5rem;
}

/* Heading styles */
.test-prep-container h1 {
    font-size: 2.3rem;
    margin-bottom: 0.7rem;
    color: #2E7D32;
    font-weight: 800;
    letter-spacing: -1px;
}

.test-prep-container p {
    font-size: 1.18rem;
    color: #444;
    margin-bottom: 1.7rem;
    line-height: 1.6;
}

/* Coming Soon Banner */
.coming-soon-banner {
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.coming-soon-banner h2 {
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.coming-soon-banner p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Feature preview sections */
.feature-preview {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: #fafafa;
    border-radius: 15px;
    border-left: 5px solid #4CAF50;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-preview h2 {
    font-size: 1.5rem;
    color: #2E7D32;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.feature-preview p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-preview ul {
    padding-left: 1.5rem;
    margin: 0;
}

.feature-preview li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}

/* Notification section */
.notify-section {
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    margin: 2.5rem 0;
    border: 2px solid #4CAF50;
}

.notify-section h2 {
    color: #2E7D32;
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.notify-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.notify-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.notify-form.submitting .notify-btn {
    background: #ccc;
    cursor: not-allowed;
}

.notify-form.submitting .notify-btn:before {
    content: "Sending...";
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 200px;
    transition: border-color 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.email-input:invalid {
    border-color: #f44336;
}

.notify-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notify-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.notify-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Current resources section */
.current-resources {
    background: #e3f2fd;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #2196F3;
    margin-top: 2rem;
}

.current-resources h2 {
    color: #1976D2;
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.current-resources p {
    color: #555;
    margin-bottom: 1.5rem;
}

.current-resources ul {
    padding-left: 1.5rem;
    margin: 0;
}

.current-resources li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.current-resources a {
    color: #1976D2;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.current-resources a:hover {
    color: #1565C0;
    border-bottom-color: #2196F3;
}

/* Icon styling */
.feature-preview img, 
.test-prep-container section img {
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
}

.feature-preview:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive design */
@media (max-width: 800px) {
    .test-prep-container {
        max-width: 97vw;
        padding: 1.5rem 1rem;
    }
    
    .test-prep-container h1 {
        font-size: 2rem;
    }
    
    .coming-soon-banner {
        padding: 1.5rem;
    }
    
    .coming-soon-banner h2 {
        font-size: 1.5rem;
    }
    
    .feature-preview {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .feature-preview img {
        width: 64px;
        height: 64px;
    }
    
    .notify-form {
        flex-direction: column;
        align-items: center;
    }
    
    .email-input {
        min-width: auto;
        width: 100%;
    }
    
    .notify-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .test-prep-container {
        padding: 1rem 0.8rem;
    }
    
    .feature-preview {
        padding: 1rem;
    }
    
    .notify-section {
        padding: 1.5rem;
    }
}
