/* =====================================================
   Feedback Page — Đóng góp ý kiến  (2-column layout)
   ===================================================== */

/* ── Section wrapper ──────────────────────────────── */
.feedback-section {
    padding: 60px 0 70px;
    background: #f4f6f8;
}

/* ── Column titles ────────────────────────────────── */
.fb-col-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.fb-col-title i {
    color: var(--primary-blue, #0077be);
}

/* ── Form card (col-1) ────────────────────────────── */
.feedback-form-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 32px;
    box-shadow: 0 6px 32px rgba(0, 119, 190, 0.08);
}

.fb-form-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 2px solid #e5e7eb;
}

.fb-form-title i {
    color: var(--primary-blue, #0077be);
}

.feedback-form-card .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
    font-size: 0.93rem;
}

.feedback-form-card .form-control,
.feedback-form-card .form-select {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.93rem;
    transition: border-color .2s, box-shadow .2s;
    background: #fafafa;
}

.feedback-form-card .form-control:focus,
.feedback-form-card .form-select:focus {
    border-color: var(--primary-blue, #0077be);
    box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.10);
    background: #fff;
    outline: none;
}

.feedback-form-card .btn-primary {
    background: var(--gradient-primary, linear-gradient(135deg, #0077be, #00a8e8));
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .3px;
    transition: transform .2s, box-shadow .2s;
}

.feedback-form-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 190, 0.28);
}

/* ── Hotline card (col-2 top) ─────────────────────── */
.fb-hotline-card {
    background: linear-gradient(135deg, #fff5f5, #fee2e2);
    border: 1.5px solid #fecaca;
    border-radius: 16px;
    padding: 22px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.fb-hotline-text {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 14px;
}

.fb-hotline-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    border-radius: 14px;
    padding: 14px 22px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    animation: hotline-glow 2.5s infinite;
}

.fb-hotline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
    color: #fff;
    text-decoration: none;
}

@keyframes hotline-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.35); }
    50% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
}

.fb-hotline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.fb-hotline-number {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1px;
    flex: 1;
    text-align: left;
}

.fb-hotline-call {
    font-size: .85rem;
    font-weight: 600;
    background: rgba(255,255,255,.2);
    border-radius: 8px;
    padding: 6px 14px;
    white-space: nowrap;
}

/* ── Units accordion (col-2 middle) ───────────────── */
.fb-units-panel {
    margin-bottom: 20px;
}

.fb-units-accordion {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fb-unit-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    transition: box-shadow .2s;
}

.fb-unit-item:hover {
    box-shadow: 0 4px 18px rgba(0, 119, 190, .10);
}

.fb-unit-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    gap: 10px;
    transition: background .15s;
}

.fb-unit-header:hover {
    background: #f0f9ff;
}

.fb-unit-header[aria-expanded="true"] {
    background: #e0f2fe;
}

.fb-unit-header[aria-expanded="true"] .fb-unit-chevron {
    transform: rotate(180deg);
}

.fb-unit-header-left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.fb-unit-icon {
    color: var(--primary-blue, #0077be);
    font-size: .9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.fb-unit-name {
    font-size: .88rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    display: block;
}

.fb-unit-coverage {
    font-size: .78rem;
    color: #6b7280;
    line-height: 1.35;
    display: block;
    margin-top: 2px;
}

.fb-unit-chevron {
    color: #9ca3af;
    font-size: .7rem;
    transition: transform .25s;
    flex-shrink: 0;
}

.fb-unit-body {
    padding: 0 16px 14px 42px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fb-unit-detail {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .84rem;
    color: #4b5563;
    line-height: 1.4;
}

.fb-unit-detail i {
    width: 14px;
    text-align: center;
    color: var(--primary-blue, #0077be);
    font-size: .75rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ── Phone links ──────────────────────────────────── */
.fb-phone-link {
    color: var(--primary-blue, #0077be);
    text-decoration: none;
    font-weight: 600;
    transition: color .15s;
    white-space: nowrap;
}

.fb-phone-link:hover {
    color: #005a8e;
    text-decoration: underline;
}

/* ── Dispatch card (col-2 bottom) ─────────────────── */
.fb-dispatch-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1.5px solid #bae6fd;
    border-radius: 14px;
    padding: 20px;
}

.fb-dispatch-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary, linear-gradient(135deg, #0077be, #00a8e8));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.15rem;
}

.fb-dispatch-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: .88rem;
    color: #374151;
}

.fb-dispatch-content > strong {
    font-size: .98rem;
    color: var(--primary-blue, #0077be);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 991.98px) {
    .feedback-section {
        padding: 40px 0;
    }

    .feedback-form-card {
        padding: 26px 18px;
    }
}

@media (max-width: 575.98px) {
    .fb-hotline-btn {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .fb-hotline-number {
        font-size: 1.15rem;
        text-align: center;
    }

    .fb-dispatch-card {
        flex-direction: column;
        text-align: center;
    }
}
