/* Feedback form + success confirmation */

.feedback-rating {
    display: flex;
    gap: 0.15rem;
    align-items: center;
    min-height: 38px;
    height: 38px;
    background: #fffdf5;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 0 0.5rem;
}

.feedback-star {
    border: 0;
    background: transparent;
    color: #cbd5e1;
    font-size: 1.15rem;
    line-height: 1;
    padding: 0.05rem;
    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.45rem;
}

.fr-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #0f172a;
    line-height: 1.35;
}

.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-rating-hint,
#fbRatingHint {
    display: none;
}

.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: var(--admin-accent-gradient, linear-gradient(135deg, #005bb5, #003870));
    color: #fff;
    box-shadow: 0 12px 28px var(--admin-accent-glow, 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: 991.98px) {
    .enquiry-section .enquiry-form-layout {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .enquiry-section .enquiry-contact-sidebar {
        order: 2;
    }

    .enquiry-section .enquiry-form-card {
        order: 1;
    }

    .enquiry-section .contact-card h4.font-header.mb-3 {
        margin-bottom: 0.55rem;
    }
}

@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 {
        min-height: 38px;
        height: 38px;
        padding: 0 0.45rem;
        justify-content: flex-start;
    }

    .feedback-star {
        font-size: 1.2rem;
        min-width: 0;
        min-height: 0;
    }

    .page-hero-strip--compact .page-hero-badge {
        display: none;
    }
}
