/* ==========================================
   support-apply.css
   Stiluri SPECIFICE fluxului Support Apply.
   Depinde de: screen-email.css, screen-iq.css, recruitment-form.css
   Referinta in: Support.cshtml
   ========================================== */

/* ==================== YES/NO QUESTIONS (Recruitment Form) ==================== */
.sa-yesno {
    margin-bottom: 1.5rem;
}

.sa-yesno label {
    display: block;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.sa-yesno-btns {
    display: flex;
    gap: 0.75rem;
}

.sa-yn-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    background: white;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    font-family: inherit;
}

.sa-yn-btn:hover        { border-color: #a5b4fc; }
.sa-yn-btn.selected-yes { background: #10b981; border-color: #10b981; color: white; }
.sa-yn-btn.selected-no  { background: #ef4444; border-color: #ef4444; color: white; }

.sa-yn-btn.locked {
    cursor: not-allowed !important;
}

/* Butonul neselectat devine gri estompat */
.sa-yn-btn.locked:not(.selected-yes):not(.selected-no) {
    background: #f3f4f6 !important;
    border-color: #e5e7eb !important;
    color: #9ca3af !important;
}

/* Butonul selectat devine gri mediu - vizibil dar nu invita la click */
.sa-yn-btn.locked.selected-yes,
.sa-yn-btn.locked.selected-no {
    background: #9ca3af !important;
    border-color: #9ca3af !important;
    color: white !important;
}

.sa-yn-btn.locked:hover,
.sa-yn-btn.locked.selected-yes:hover,
.sa-yn-btn.locked.selected-no:hover {
    background: #9ca3af !important;
    border-color: #9ca3af !important;
}

/* ==================== PSYCH OPTIONS ==================== */
.sa-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
    font-family: inherit;
}

.sa-option:hover   { border-color: #a5b4fc; background: #fafafe; }
.sa-option.selected { border-color: #6366f1; background: #eef2ff; }

.sa-option.locked {
    cursor: not-allowed !important;
}

/* Optiunea neselectata devine gri estompat */
.sa-option.locked:not(.selected) {
    background: #f9fafb !important;
    border-color: #e5e7eb !important;
    color: #9ca3af !important;
}

/* Optiunea selectata devine gri mediu */
.sa-option.locked.selected {
    background: #f3f4f6 !important;
    border-color: #9ca3af !important;
    color: #6b7280 !important;
}

.sa-option.locked:hover,
.sa-option.locked.selected:hover {
    background: #f3f4f6 !important;
    border-color: #9ca3af !important;
}

/* Radioul selectat devine gri */
.sa-option.locked .sa-option-radio.checked {
    border-color: #9ca3af !important;
    background: #9ca3af !important;
}

.sa-option-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s;
}

.sa-option-radio.checked {
    border-color: #6366f1;
    background: #6366f1;
}

.sa-option-radio.checked::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Stilurile pentru .sa-assessment-stages, .sa-stage-*, .sa-progress-* 
   sunt acum in screen-email.css (shared) */

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .sa-assessment-progress {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .sa-progress-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .sa-progress-stage span {
        font-size: 0.65rem;
        max-width: 60px;
    }

    .sa-progress-circle {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        border-width: 2px;
    }

    .sa-progress-line {
        min-width: 20px;
        margin: 0 0.25rem;
    }

    .sa-stage-item {
        padding: 0.75rem;
    }

    .sa-stage-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .sa-stage-content strong { font-size: 0.9rem; }
    .sa-stage-content span   { font-size: 0.75rem; }
}
