/* Mentorul de Carieră - Frontend Styles (schema roșu închis) */

.mdc-quiz-container {
    max-width: 800px;
    margin: 10px auto;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.mdc-quiz-header {
    text-align: center;
    padding: 40px 30px;
    background: #0670B6; /* aici schimbi culoarea */
    color: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


.mdc-quiz-header h2 {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 700;
}

.mdc-quiz-header p {
    margin: 0;
    font-size: 18px;
    opacity: 0.9;
}

.mdc-section {
    background: white;
    padding: 40px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.mdc-section.active {
    display: block;
}

/* User Info Section */
#mdc-user-info-section h3 {
    color: #333333;
    font-size: 24px;
    margin-bottom: 10px;
}

.mdc-form-group {
    margin-bottom: 25px;
}

.mdc-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444444;
    font-size: 15px;
}

.mdc-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mdc-form-group input:focus {
    outline: none;
    border-color: #0670B6;
    box-shadow: 0 0 0 3px rgba(166, 0, 0, 0.18);
}

.mdc-gdpr {
    margin: 25px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
}

.mdc-gdpr label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.mdc-gdpr input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.mdc-gdpr a {
    color: #a60000;
    text-decoration: none;
}

.mdc-gdpr a:hover {
    text-decoration: underline;
}

/* Progress Bar */
.mdc-progress-bar {
    margin-bottom: 30px;
    text-align: center;
}

.mdc-progress-bar .mdc-progress-fill {
    height: 6px;
    background: linear-gradient(90deg, #a60000 0%, #cc0000 100%);
    border-radius: 10px;
    transition: width 0.4s ease;
    margin-bottom: 10px;
}

.mdc-progress-text {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

/* Questions */
.mdc-question {
    animation: fadeIn 0.4s ease;
}

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

.mdc-question h3 {
    color: #333333;
    font-size: 22px;
    margin-bottom: 25px;
    line-height: 1.4;
}

.mdc-options {
    margin-bottom: 30px;
}

.mdc-option {    display: flex;    align-items: center;      /* aliniere verticală perfectă */    position: relative;    padding: 12px 20px;       /* scoatem padding-left mare */    margin-bottom: 12px;    border: 2px solid #e0e0e0;    border-radius: 10px;    cursor: pointer;    transition: all 0.3s ease;    background: white;}


.mdc-option:hover {
    border-color: #0670B6;
    background: #fff5f5;
    transform: translateX(5px);
}

.mdc-option input {    position: static;         /* NU mai e absolute */    margin-right: 12px;       /* distanța dintre bulină și text */    width: 20px;    height: 20px;    cursor: pointer;}

.mdc-option-label {    display: inline-block;    font-size: 16px;    color: #333333;    line-height: 1.5;}

.mdc-option input:checked ~ .mdc-option-label {
    font-weight: 600;
    color: #0670B6;
}

.mdc-option-check {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #0670B6;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mdc-option input:checked ~ .mdc-option-check {
    opacity: 1;
}

/* Navigation Buttons */
.mdc-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.mdc-btn {
    display: inline-flex;        /* în loc de inline-block */
    align-items: center;         /* centrează vertical conținutul */
    justify-content: center;     /* centrează orizontal conținutul */
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}



.mdc-btn-primary {
background: #0670B6;    
color: white;
}

.mdc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 0, 0, 0.4);
}

.mdc-btn-secondary {
    background: #f1f3f5;
    color: #495057;
}

.mdc-btn-secondary:hover {
    background: #e9ecef;
}

.mdc-btn-success {
    background: linear-gradient(135deg, #0b8a36 0%, #27ae60 100%);
    color: white;
    font-size: 18px;
    padding: 16px 40px;
}

.mdc-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 138, 54, 0.45);
}

.mdc-btn-large {
    padding: 18px 45px;
    font-size: 18px;
}

/* Results Section */
.mdc-results-header {
    text-align: center;
    margin-bottom: 40px;
}

.mdc-results-header h2 {
    color: #333333;
    font-size: 32px;
    margin-bottom: 10px;
}

.mdc-results-header p {
    font-size: 18px;
    color: #666666;
}

.mdc-recommended-course {
    background: #0670B6;
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.mdc-course-badge {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.mdc-recommended-course h3 {
    font-size: 28px;
    margin: 15px 0;
}

.mdc-recommended-course p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.mdc-recommended-course .mdc-btn {
    background: white;
    color: #0670B6;
    font-weight: 700;
}

.mdc-recommended-course .mdc-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Learning Plan */
#mdc-learning-plan-container {
    margin-bottom: 40px;
}

.mdc-learning-plan {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.mdc-learning-plan h3 {
    color: #333333;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.plan-phase {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #0670B6;
}

.plan-phase h4 {
    color: #0670B6;
    font-size: 20px;
    margin-bottom: 15px;
}

.plan-phase ul {
    margin: 0;
    padding-left: 20px;
}

.plan-phase li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555555;
}

.plan-recommendations {
    background: linear-gradient(135deg, #ff6b6b 0%, #0670B6 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.plan-recommendations h4 {
    margin-top: 0;
    font-size: 20px;
}

.plan-recommendations ul {
    margin: 0;
    padding-left: 20px;
}

.plan-recommendations li {
    margin-bottom: 10px;
}

/* Next Steps */
.mdc-next-steps {
    background: #fff5f5;
    padding: 30px;
    border-radius: 12px;
    border: 2px dashed #ff6b6b;
}

.mdc-next-steps h3 {
    color: #0670B6;
    margin-top: 0;
    font-size: 22px;
}

.mdc-next-steps ul {
    margin: 15px 0 0 0;
    padding-left: 0;
    list-style: none;
}

.mdc-next-steps li {
    padding: 10px 0;
    font-size: 16px;
    color: #0670B6;
}

/* Loading Spinner */
.mdc-loading {
    text-align: center;
    padding: 60px 40px;
}

.mdc-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0670B6;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .mdc-quiz-container {
        margin: 20px 10px;
    }
    
    .mdc-section {
        padding: 25px 20px;
    }
    
    .mdc-quiz-header {
        padding: 30px 20px;
    }
    
    .mdc-quiz-header h2 {
        font-size: 24px;
    }
    
    .mdc-question h3 {
        font-size: 18px;
    }
    
    .mdc-navigation {
        flex-direction: column;
    }
    
    .mdc-btn {
        width: 100%;
    }
    
    .mdc-option {
        padding: 14px 16px 14px 45px;
    }
}

#mdc-start-quiz {
    display: inline-flex;
    align-items: center;      /* centrare verticală */
    justify-content: center;  /* centrare orizontală */
}

.mdc-quiz-header h2 {    color: white !important;}
