/* ============================================================
   CleanTrack Hotel · CSS
   Mobile-first, PWA-ready
   ============================================================ */

:root {
  --green-deep:   #1a4a3a;
  --green-mid:    #2d7a5f;
  --green-soft:   #4caf86;
  --green-light:  #e8f5ef;
  --green-pale:   #f0faf5;

  --blue-mid:     #2563a8;
  --blue-light:   #e8f0fc;

  --amber-mid:    #b86c12;
  --amber-light:  #fef3e2;

  --red-mid:      #c0392b;
  --red-light:    #fdecea;

  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;

  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);

  --font-main: 'Nunito', sans-serif;
  --font-display: 'Fraunces', serif;

  --bottom-safe: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--green-pale);
  color: var(--gray-900);
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   SPLASH
   ============================================================ */
.splash {
  position: fixed;
  inset: 0;
  background: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.splash.fade-out {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.splash-inner {
  text-align: center;
  animation: splashIn 0.6s ease both;
}

@keyframes splashIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.splash-icon {
  font-size: 72px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
}

.splash-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.splash-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.splash-loader {
  margin-top: 40px;
}

.splash-loader span {
  display: block;
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 99px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.splash-loader span::after {
  content: '';
  position: absolute;
  left: -40px;
  top: 0;
  width: 40px;
  height: 100%;
  background: var(--green-soft);
  border-radius: 99px;
  animation: loaderSlide 1.2s ease infinite;
}

@keyframes loaderSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(80px); }
}

/* ============================================================
   APP SHELL
   ============================================================ */
.app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  animation: appIn 0.4s ease both;
}

@keyframes appIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hidden { display: none !important; }

/* ============================================================
   HEADER
   ============================================================ */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.btn-back {
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.btn-back:active { background: rgba(255,255,255,0.22); }

.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.header-icon { font-size: 22px; }

.header-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
}

.header-right {}

.header-date {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ============================================================
   MAIN & VIEWS
   ============================================================ */
.app-main {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.view {
  display: none;
  padding: 24px 20px;
  padding-bottom: calc(32px + var(--bottom-safe));
  min-height: calc(100dvh - 72px);
  animation: viewIn 0.35s cubic-bezier(0.25,0.46,0.45,0.94) both;
}

.view.active { display: block; }

@keyframes viewIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HOME VIEW
   ============================================================ */
.home-hero {
  padding: 8px 0 28px;
}

.home-greeting {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.home-heading {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.15;
}

.home-heading em {
  font-style: italic;
  color: var(--green-mid);
}

.home-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.home-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 20px 20px;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.home-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 99px 0 0 99px;
}

.card-primary::before  { background: var(--green-soft); }
.card-secondary::before { background: var(--blue-mid); }
.card-tertiary::before  { background: var(--amber-mid); }

.home-card:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-sm);
}

.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-green  { background: var(--green-light); color: var(--green-mid); }
.card-icon-blue   { background: var(--blue-light);  color: var(--blue-mid); }
.card-icon-amber  { background: var(--amber-light); color: var(--amber-mid); }

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-label {
  font-size: 17px;
  font-weight: 800;
  color: var(--gray-900);
}

.card-desc {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
}

.card-arrow {
  color: var(--gray-300);
  flex-shrink: 0;
}

/* Stats Bar */
.home-stats {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: var(--shadow-sm);
}

.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--green-mid);
  line-height: 1;
}

.stat-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-100);
}

/* ============================================================
   VIEW HEADER
   ============================================================ */
.view-header {
  margin-bottom: 22px;
}

.view-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.1;
}

.view-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-card, .add-room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.form-section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.flex-1 { flex: 1; }

.form-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.form-input {
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 16px;
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--gray-900);
  background: var(--gray-50);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  appearance: none;
}

.form-input:focus {
  border-color: var(--green-soft);
  background: var(--white);
}

.form-textarea {
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 15px;
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--gray-900);
  background: var(--gray-50);
  outline: none;
  resize: none;
  min-height: 100px;
  width: 100%;
  transition: border-color 0.2s;
  margin-top: 6px;
}

.form-textarea:focus { border-color: var(--green-soft); background: var(--white); }

/* ============================================================
   ROOMS LIST (Reporte)
   ============================================================ */
.rooms-section {
  margin-bottom: 24px;
}

.rooms-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.rooms-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--gray-900);
}

.rooms-badge {
  background: var(--green-light);
  color: var(--green-mid);
  font-size: 14px;
  font-weight: 800;
  border-radius: 99px;
  padding: 4px 14px;
}

.progress-bar-wrap {
  background: var(--gray-100);
  border-radius: 99px;
  height: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--green-soft), var(--green-mid));
  height: 100%;
  border-radius: 99px;
  width: 0%;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}

.rooms-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Room Card */
.room-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  position: relative;
}

.room-card.is-clean {
  border-color: var(--green-soft);
  background: var(--green-pale);
  box-shadow: 0 2px 12px rgba(44,122,95,0.12);
}

.room-card-icon {
  font-size: 28px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.room-card.is-clean .room-card-icon {
  transform: scale(1.15);
}

.room-card-info {
  flex: 1;
  min-width: 0;
}

.room-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.room-floor {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
}

.room-status-text {
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
  color: var(--gray-500);
}

.room-card.is-clean .room-status-text {
  color: var(--green-mid);
}

.room-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

/* Toggle Switch */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
}

.toggle {
  position: relative;
  width: 56px;
  height: 30px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--gray-200, #e5e7eb);
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle input:checked + .toggle-track {
  background: var(--green-soft);
}

.toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.toggle input:checked + .toggle-track::after {
  transform: translateX(26px);
}

/* Checkmark overlay */
.room-check {
  position: absolute;
  top: 12px;
  right: 18px;
  width: 24px;
  height: 24px;
  background: var(--green-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}

.room-card.is-clean .room-check {
  opacity: 1;
  transform: scale(1);
}

.room-check svg {
  color: white;
}

/* Novedad Button */
.btn-novedad {
  background: var(--amber-light);
  border: none;
  color: var(--amber-mid);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s;
  font-family: var(--font-main);
}

.btn-novedad:active { background: #fde8c0; }

.btn-novedad.has-novedad {
  background: var(--red-light);
  color: var(--red-mid);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--green-mid);
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 17px;
  font-weight: 800;
  font-family: var(--font-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(45,122,95,0.35);
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.btn-submit:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(45,122,95,0.2);
}

.btn-add {
  width: 100%;
  padding: 14px;
  background: var(--green-pale);
  color: var(--green-mid);
  border: 2px solid var(--green-light);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  transition: background 0.2s, border-color 0.2s;
}

.btn-add:active { background: var(--green-light); }

/* ============================================================
   HISTORIAL
   ============================================================ */
.historial-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.historial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green-soft);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
}

.historial-card:active { transform: scale(0.98); }

.historial-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.historial-fecha {
  font-size: 16px;
  font-weight: 800;
  color: var(--gray-900);
}

.historial-turno {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  margin-top: 2px;
}

.historial-badge {
  background: var(--green-light);
  color: var(--green-mid);
  font-size: 13px;
  font-weight: 800;
  border-radius: 99px;
  padding: 4px 12px;
  white-space: nowrap;
}

.historial-rooms-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.room-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--green-light);
  color: var(--green-mid);
}

.room-chip.has-novedad {
  background: var(--red-light);
  color: var(--red-mid);
}

.historial-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--gray-500);
}

.historial-empty-icon { font-size: 48px; margin-bottom: 12px; }
.historial-empty-text { font-size: 15px; font-weight: 700; }
.historial-empty-sub  { font-size: 13px; margin-top: 6px; }

/* Historial detail */
.historial-detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  display: none;
}

.historial-card.expanded .historial-detail {
  display: block;
}

.historial-room-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-50);
  font-size: 14px;
}

.historial-room-detail:last-child { border-bottom: none; }

.hrd-name { font-weight: 700; color: var(--gray-900); }
.hrd-status { font-weight: 700; font-size: 12px; }
.hrd-status.clean { color: var(--green-mid); }
.hrd-status.dirty { color: var(--gray-400); }
.hrd-novedad { font-size: 12px; color: var(--red-mid); font-weight: 700; margin-top: 2px; }

/* ============================================================
   HABITACIONES MANAGE
   ============================================================ */
.rooms-manage-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.manage-room-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  animation: slideIn 0.3s ease both;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.manage-room-icon { font-size: 24px; }

.manage-room-info { flex: 1; }
.manage-room-num { font-size: 16px; font-weight: 800; color: var(--gray-900); }
.manage-room-floor { font-size: 12px; font-weight: 600; color: var(--gray-500); }

.btn-delete {
  background: var(--red-light);
  border: none;
  color: var(--red-mid);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.btn-delete:active { background: #f5c0bb; }

.rooms-empty {
  text-align: center;
  padding: 32px;
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 700;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: overlayIn 0.2s ease;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 28px 24px;
  padding-bottom: calc(28px + var(--bottom-safe));
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  animation: sheetIn 0.35s cubic-bezier(0.25,0.46,0.45,0.94) both;
}

@keyframes sheetIn {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.modal-header {
  text-align: center;
  margin-bottom: 22px;
}

.modal-icon { font-size: 36px; }
.modal-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--gray-900); margin-top: 8px; }
.modal-sub { font-size: 14px; font-weight: 700; color: var(--gray-500); margin-top: 4px; }

.novedad-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.chip {
  padding: 8px 14px;
  border-radius: 99px;
  border: 2px solid var(--gray-100);
  background: var(--gray-50);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-main);
  color: var(--gray-700);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.chip.selected {
  border-color: var(--green-soft);
  background: var(--green-light);
  color: var(--green-mid);
}

.mt-12 { margin-top: 12px; }

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.btn-cancel {
  flex: 1;
  padding: 15px;
  background: var(--gray-100);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-main);
  color: var(--gray-700);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-confirm {
  flex: 1;
  padding: 15px;
  background: var(--green-mid);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-main);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(45,122,95,0.3);
  transition: background 0.2s;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: calc(24px + var(--bottom-safe));
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--gray-900);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-main);
  z-index: 2000;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   UTILITIES
   ============================================================ */
@media (min-width: 480px) {
  body {
    border-left: 1px solid var(--gray-100);
    border-right: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
  }
}

/* ============================================================
   ELIMINAR REPORTE - botón en tarjeta historial
   ============================================================ */
.btn-delete-reporte {
  background: var(--red-light);
  border: none;
  color: var(--red-mid);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}

.btn-delete-reporte:active {
  background: #f5c0bb;
  transform: scale(0.92);
}

/* Modal compacto de confirmación */
.modal-card-compact {
  padding: 28px 24px 24px;
}

.modal-card-compact .modal-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  margin-top: 8px;
  line-height: 1.5;
}

/* Botón de confirmar peligroso */
.btn-danger {
  background: var(--red-mid) !important;
  box-shadow: 0 4px 12px rgba(192,57,43,0.3) !important;
}

.btn-danger:active {
  background: #a93226 !important;
}
