/* Rate Hold (tarifa congelada): configuracion, reporte y panel en la reserva */

/* ── Tablas (configuracion y reporte) ── */
.rh-intro { color: #7e8299; font-size: 13px; margin: 0; }
.rh-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.rh-table thead th {
    background: #f3f6f9; color: #7e8299; font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .05em; padding: 12px 16px; border: none; white-space: nowrap;
}
.rh-table thead th:first-child { border-radius: 6px 0 0 6px; }
.rh-table thead th:last-child { border-radius: 0 6px 6px 0; }
.rh-table tbody td { padding: 14px 16px; border-bottom: 1px solid #ebedf3; vertical-align: middle; color: #3f4254; }
.rh-table tbody tr:last-child td { border-bottom: none; }
.rh-table tbody tr:hover td { background: #fafbfc; }
.rh-table tbody tr.rh-inactive td { opacity: .55; }
.rh-strong { font-weight: 600; color: #3f4254; }
.rh-muted { color: #b5b5c3; font-size: 12px; }
.rh-agency-name { font-weight: 600; color: #3f4254; }
.rh-agency-id { color: #b5b5c3; font-size: 12px; }
.rh-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rh-chip {
    display: inline-flex; align-items: center; gap: 6px; background: #e1f0ff; color: #3699ff;
    border-radius: 14px; padding: 4px 6px 4px 12px; font-size: 12px; font-weight: 500;
}
.rh-chip button {
    border: none; background: transparent; color: #3699ff; cursor: pointer;
    width: 18px; height: 18px; border-radius: 50%; line-height: 16px; padding: 0;
}
.rh-chip button:hover { background: #3699ff; color: #fff; }
.rh-add-type { display: flex; gap: 6px; align-items: center; margin-top: 8px; max-width: 360px; }
.rh-empty { color: #f64e60; font-size: 12px; }
.rh-days { width: 80px; }
.rh-actions { white-space: nowrap; text-align: right; }
.rh-no-data { text-align: center; color: #b5b5c3; padding: 40px 0; }

/* ── Filtros y KPIs del reporte ── */
.rh-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 20px; }
.rh-filter label { display: block; font-size: 11px; font-weight: 600; color: #7e8299; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.rh-segment { display: inline-flex; background: #f3f6f9; border-radius: 8px; padding: 3px; }
.rh-segment button { border: none; background: transparent; color: #7e8299; font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 6px; cursor: pointer; }
.rh-segment button.active { background: #fff; color: #8950fc; box-shadow: 0 1px 4px rgba(82, 63, 105, .12); }
.rh-kpis { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.rh-kpi { flex: 1 1 160px; background: #f8f5ff; border-radius: 8px; padding: 12px 16px; }
.rh-kpi-label { font-size: 11px; color: #7e8299; text-transform: uppercase; letter-spacing: .05em; }
.rh-kpi-value { font-size: 20px; font-weight: 700; color: #3f4254; margin-top: 2px; }
.rh-kpi-soon { background: #fff4de; }
.rh-kpi-expired { background: #ffe2e5; }
.rh-conf { font-weight: 700; letter-spacing: .02em; }
.rh-file-link { font-weight: 600; color: #3699ff; }

/* ── Pastillas de estado ── */
.rh-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 12px; padding: 3px 10px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.rh-pill i { font-size: 10px; color: inherit; }
.rh-pill-hold { background: #eee5ff; color: #8950fc; }
.rh-pill-ok { background: #f3f6f9; color: #7e8299; }
.rh-pill-soon { background: #fff4de; color: #ffa800; }
.rh-pill-expired { background: #ffe2e5; color: #f64e60; }
.rh-pill-released { background: #c9f7f5; color: #1bc5bd; }
.rh-pill-cancelled { background: #f3f6f9; color: #b5b5c3; }

/* ── Boton de alta en la reserva ── */
.rh-btn-hold {
    display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 12px;
    background: #8950fc; color: #fff; border: none; border-radius: 6px;
    padding: 6px 14px; font-size: 12px; font-weight: 600; cursor: pointer;
    box-shadow: 0 2px 6px rgba(137, 80, 252, .25); transition: background .15s;
}
.rh-btn-hold:hover { background: #7337ee; }
.rh-btn-hold i { color: #fff; font-size: 11px; }

/* ── Recuadro del Hold activo en la reserva ── */
.rh-card {
    background: #fff; border: 1px solid #ebedf3; border-left: 4px solid #8950fc; border-radius: 8px;
    box-shadow: 0 2px 10px rgba(82, 63, 105, .06); padding: 12px 14px; margin: 6px 0 12px; max-width: 460px;
}
.rh-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.rh-card-conf { font-size: 16px; font-weight: 700; color: #3f4254; margin-top: 8px; letter-spacing: .02em; }
.rh-card-meta { color: #7e8299; font-size: 12px; margin-top: 2px; }
.rh-card-notes { color: #7e8299; font-size: 12px; font-style: italic; margin-top: 6px; }
.rh-card-actions { display: flex; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #f3f6f9; }
.rh-link { border: none; background: transparent; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 4px; cursor: pointer; white-space: nowrap; }
.rh-link i { color: inherit; font-size: 11px; }
.rh-link-edit { color: #7e8299; }
.rh-link-edit:hover { background: #f3f6f9; }
.rh-link-release { color: #1bc5bd; }
.rh-link-release:hover { background: #c9f7f5; }
.rh-link-cancel { color: #f64e60; }
.rh-link-cancel:hover { background: #ffe2e5; }
.rh-card-actions .rh-link-cancel { margin-left: auto; }
.rh-history { color: #b5b5c3; font-size: 12px; margin: 4px 0 6px; }

/* ── Modales ── */
.rh-modal { padding: 4px 4px 0; }
.rh-modal-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.rh-modal-icon { flex: 0 0 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.rh-modal-icon i { font-size: 16px; color: inherit; }
.rh-icon-hold { background: #eee5ff; color: #8950fc; }
.rh-icon-release { background: #c9f7f5; color: #1bc5bd; }
.rh-icon-cancel { background: #ffe2e5; color: #f64e60; }
.rh-modal-title { font-size: 16px; font-weight: 700; color: #3f4254; }
.rh-modal-sub { font-size: 12px; color: #7e8299; margin-top: 2px; line-height: 1.5; }
.rh-field { margin-bottom: 16px; }
.rh-field label { display: block; font-size: 11px; font-weight: 600; color: #7e8299; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.rh-field label span { text-transform: none; font-weight: 400; color: #b5b5c3; letter-spacing: 0; }
.rh-input { width: 100%; border: 1px solid #e4e6ef; border-radius: 6px; padding: 9px 12px; font-size: 13px; color: #3f4254; background: #fff; }
.rh-input:focus { outline: none; border-color: #8950fc; box-shadow: 0 0 0 3px rgba(137, 80, 252, .12); }
.rh-input-conf { font-size: 15px; font-weight: 600; letter-spacing: .03em; }
.rh-input-conf::placeholder { font-size: 13px; font-weight: 400; letter-spacing: 0; color: #b5b5c3; }
.rh-summary { display: flex; background: #f8f5ff; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; gap: 24px; }
.rh-summary-label { font-size: 11px; color: #7e8299; text-transform: uppercase; letter-spacing: .05em; }
.rh-summary-value { font-size: 14px; font-weight: 700; color: #3f4254; margin-top: 2px; }
.rh-summary-note { font-size: 11px; color: #b5b5c3; }
.rh-modal-text { font-size: 13px; color: #3f4254; line-height: 1.6; margin-bottom: 16px; }
.rh-error { background: #ffe2e5; color: #f64e60; border-radius: 6px; padding: 8px 12px; font-size: 12px; margin-bottom: 16px; }
.rh-modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 16px; border-top: 1px solid #f3f6f9; }
.rh-btn { border: none; border-radius: 6px; padding: 8px 18px; font-size: 13px; font-weight: 600; cursor: pointer; }
.rh-btn:disabled { opacity: .6; cursor: default; }
.rh-btn-light { background: #f3f6f9; color: #7e8299; }
.rh-btn-light:hover { background: #e4e6ef; }
.rh-btn-primary { background: #8950fc; color: #fff; }
.rh-btn-primary:hover { background: #7337ee; }
.rh-btn-success { background: #1bc5bd; color: #fff; }
.rh-btn-success:hover { background: #0bb7af; }
.rh-btn-danger { background: #f64e60; color: #fff; }
.rh-btn-danger:hover { background: #ee2d41; }
.rh-report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.rh-btn-export i { color: #1bc5bd; margin-right: 4px; }
.rh-clear { border: none; background: transparent; color: #b5b5c3; padding: 0 0 0 4px; font-size: 10px; cursor: pointer; }
.rh-clear:hover { color: #f64e60; }
.rh-kpi-click { cursor: pointer; }
.rh-kpi-click:hover { box-shadow: 0 1px 6px rgba(82, 63, 105, .15); }
.rh-kpi-arrival { background: #e1f0ff; }
