/* public/css/student-feedback.css
   Only adds feedback-specific styles on top of admission.css.
   All form-group, form-grid, field-error, required, optional etc. come from admission.css */

/* ── Section wrapper inside the form ── */
.feedback-section {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.feedback-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary, #1d4ed8);
    margin: 0 0 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--primary-light, #dbeafe);
    letter-spacing: .01em;
}

/* Question number prefix */
.q-num {
    font-weight: 700;
    color: var(--primary, #1d4ed8);
    margin-right: .25rem;
}

/* ── MCQ radio pill options ── */
.mcq-options {
    display: flex;
    flex-wrap: wrap;
    gap: .625rem;
    margin-top: .25rem;
}

.mcq-option {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    border: 1.5px solid #d1d5db;
    border-radius: .5rem;
    cursor: pointer;
    font-size: .9rem;
    transition: border-color .2s, background .2s, color .2s;
    user-select: none;
}

.mcq-option:has(input:checked) {
    border-color: var(--primary, #1d4ed8);
    background: var(--primary-light, #eff6ff);
    color: var(--primary, #1d4ed8);
    font-weight: 600;
}

.mcq-option input[type="radio"] {
    accent-color: var(--primary, #1d4ed8);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* ── Linear scale 1–5 ── */
.scale-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .25rem;
}

.scale-end-label {
    font-size: .8rem;
    color: #6b7280;
    white-space: nowrap;
}

.scale-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    cursor: pointer;
}

.scale-option input[type="radio"] {
    display: none;
}

.scale-num {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #d1d5db;
    border-radius: 50%;
    font-weight: 600;
    font-size: .9rem;
    color: #374151;
    transition: border-color .2s, background .2s, color .2s;
}

.scale-option:hover .scale-num {
    border-color: var(--primary, #1d4ed8);
    color: var(--primary, #1d4ed8);
}

.scale-option input:checked + .scale-num {
    background: var(--primary, #1d4ed8);
    border-color: var(--primary, #1d4ed8);
    color: #fff;
}

/* ── Admin: scale badge in detail view ── */
.scale-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
    color: var(--primary, #1d4ed8);
}

.scale-dots {
    display: inline-flex;
    gap: 3px;
}

.scale-dot {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    background: #d1d5db;
}

.scale-dot.filled {
    background: var(--primary, #1d4ed8);
}

/* ── Admin stat card colour overrides ── */
.s-this-month { border-top-color: #8b5cf6; }
.s-this-month .stat-num { color: #8b5cf6; }

/* ── Responsive ── */
@media (max-width: 600px) {
    .scale-row { gap: .3rem; }
    .scale-num { width: 2rem; height: 2rem; font-size: .8rem; }
    .scale-end-label { font-size: .72rem; }
    .mcq-options { flex-direction: column; }
    .feedback-section { padding: 1rem; }
}