/* Feedback form + success confirmation */

.feedback-rating {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    min-height: 44px;
    background: #fffdf5;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 0.35rem 0.85rem;
}

.feedback-star {
    border: 0;
    background: transparent;
    color: #cbd5e1;
    font-size: 1.65rem;
    line-height: 1;
    padding: 0.15rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.feedback-star:hover,
.feedback-star.is-active {
    color: #f59e0b;
    transform: scale(1.12);
}

.feedback-reason-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fr-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.84rem;
    color: #0f172a;
    line-height: 1.45;
}

.fr-item i {
    font-size: 1rem;
    margin-top: 0.05rem;
    flex-shrink: 0;
}

.feedback-star:focus-visible {
    outline: 2px solid var(--brother-blue-glow, #93c5fd);
    outline-offset: 2px;
    border-radius: 4px;
}

.feedback-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem 1.5rem;
}

.feedback-success h3 {
    margin-bottom: 0.5rem;
}

.feedback-success > p {
    max-width: 420px;
    margin: 0 auto 1.35rem;
    color: var(--muted, #64748b);
    font-size: 0.92rem;
    line-height: 1.6;
}

.feedback-ref-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 1.5rem;
    padding: 1.15rem 1.5rem 1.05rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #002266, #003399);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 51, 153, 0.22);
}

.feedback-ref-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
}

.feedback-ref-value {
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    font-family: var(--font-headings, inherit);
    word-break: break-all;
    line-height: 1.35;
}

.feedback-ref-hint {
    font-size: 0.78rem;
    opacity: 0.75;
}

.feedback-success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
}

.feedback-success-actions .btn-result-secondary {
    text-decoration: none;
}

@media (max-width: 576px) {
    .feedback-success {
        padding: 1.35rem 0.35rem 1rem;
    }

    .feedback-ref-card {
        padding: 1rem 1.1rem 0.95rem;
    }

    .feedback-success-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .feedback-success-actions > * {
        width: 100%;
        justify-content: center;
    }

    .feedback-rating {
        flex-wrap: wrap;
        justify-content: center;
    }
}
