/* Guide to Exams Tool - Frontend Styles */

.guide-exams-widget {
    max-width: 800px;
    margin: 30px auto;
    padding: 40px;
    background: #f0f7ff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Header */
.get-header {
    text-align: center;
    margin-bottom: 35px;
}

.get-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.get-header p {
    font-size: 16px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Admin Notice */
.get-admin-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 6px;
}

.get-admin-notice p {
    margin: 0;
    color: #856404;
}

.get-admin-notice a {
    color: #856404;
    text-decoration: underline;
    font-weight: 600;
}

/* Form */
.get-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

.get-form-group {
    margin-bottom: 20px;
}

.get-form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.get-form-group input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.get-form-group input[type="text"]:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Button */
.get-submit-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    background: #4CAF50;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.get-submit-btn:hover:not(:disabled) {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.get-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.get-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.get-loading {
    display: inline-block;
}

.get-loading::after {
    content: '...';
    animation: get-dots 1.5s infinite;
}

@keyframes get-dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Error Message */
.get-error {
    background: #fee;
    border-left: 4px solid #f44336;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.get-error h4 {
    margin: 0 0 8px 0;
    color: #c62828;
    font-size: 18px;
}

.get-error p {
    margin: 0;
    color: #d32f2f;
}

/* Results Container */
.get-results {
    margin-top: 35px;
}

.get-result-section {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.get-result-section:hover {
    border-color: #4CAF50;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.get-result-section h3 {
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* Class Section Specific */
.get-class-card {
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
}

.get-class-badge {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    background: white;
    padding: 12px 24px;
    border-radius: 25px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.get-class-description {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

/* Subject List */
.get-subject-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.get-subject-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.get-subject-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.get-subject-icon {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.get-subject-content {
    flex: 1;
}

.get-subject-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.get-subject-desc {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Section-specific colors */
.get-jamb-section .get-subject-item {
    border-left: 3px solid #2196F3;
}

.get-waec-section .get-subject-item {
    border-left: 3px solid #4CAF50;
}

.get-class-section .get-class-card {
    border-left: 3px solid #FF9800;
}

/* Responsive Design */
@media (max-width: 768px) {
    .guide-exams-widget {
        padding: 25px 20px;
        margin: 20px 10px;
    }
    
    .get-header h2 {
        font-size: 26px;
    }
    
    .get-header p {
        font-size: 15px;
    }
    
    .get-form {
        padding: 20px;
    }
    
    .get-result-section {
        padding: 18px;
    }
    
    .get-result-section h3 {
        font-size: 19px;
    }
    
    .get-class-badge {
        font-size: 20px;
        padding: 10px 18px;
    }
}

@media (max-width: 480px) {
    .guide-exams-widget {
        padding: 20px 15px;
        margin: 15px 5px;
        border-radius: 12px;
    }
    
    .get-header h2 {
        font-size: 22px;
    }
    
    .get-form-group input[type="text"] {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    .get-submit-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .get-subject-item {
        padding: 12px;
    }
    
    .get-subject-name {
        font-size: 15px;
    }
    
    .get-subject-desc {
        font-size: 13px;
    }
}