/* Subjects to Career Explorer - Frontend Styles */

.career-explorer-widget {
    max-width: 850px;
    margin: 30px auto;
    padding: 40px;
    background: #f3e5f5;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(156, 39, 176, 0.12);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

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

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

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

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

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

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

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

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

.sce-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;
}

.sce-form-group input[type="text"]:focus {
    outline: none;
    border-color: #9C27B0;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}

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

.sce-submit-btn:hover:not(:disabled) {
    background: #7B1FA2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.3);
}

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

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

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

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

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

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

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

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

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

.sce-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;
}

.sce-result-section:hover {
    border-color: #9C27B0;
    box-shadow: 0 4px 16px rgba(156, 39, 176, 0.12);
}

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

/* About Section Specific */
.sce-about-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.sce-about-content p {
    margin: 0 0 15px 0;
}

.sce-about-content p:last-child {
    margin-bottom: 0;
}

/* Tips List (Excel Section) */
.sce-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sce-tip-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #FF9800;
    transition: all 0.2s ease;
}

.sce-tip-item:hover {
    background: #fff3e0;
    transform: translateX(5px);
}

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

.sce-tip-content {
    flex: 1;
}

.sce-tip-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

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

/* Career List */
.sce-career-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sce-career-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #9C27B0;
    transition: all 0.2s ease;
}

.sce-career-item:hover {
    background: #f3e5f5;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(156, 39, 176, 0.1);
}

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

.sce-career-content {
    flex: 1;
}

.sce-career-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #9C27B0;
    margin-bottom: 5px;
}

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

/* Section-specific styling */
.sce-about-section {
    border-left: 4px solid #2196F3;
}

.sce-excel-section {
    border-left: 4px solid #FF9800;
}

.sce-career-section {
    border-left: 4px solid #9C27B0;
}

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

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