/* ============================================
   MyRoamUp · Panel de Cliente
   CSS Principal
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --orange: #f69f1a;
  --red: #ea523f;
  --gray: #737373;
  --light: #f4f4f4;
  --green: #91dc00;
  --black: #111111;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #f69f1a 0%, #ea523f 100%);
  --gradient-soft: linear-gradient(135deg, rgba(246,159,26,0.12) 0%, rgba(234,82,63,0.12) 100%);
  --sidebar-w: 240px;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(234,82,63,0.10);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', sans-serif;
  background: #fafafa;
  color: var(--black);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== SCREEN NAVIGATION ===== */
.screen { display: none; min-height: 100vh; }
.screen.active { display: flex; }
.screen { animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== LOGIN ===== */
#screen-login { background: var(--white); align-items: stretch; }

.login-left {
  flex: 1;
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.login-left::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  top: -100px; left: -100px;
}
.login-left::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  bottom: -80px; right: -80px;
}
.login-logo-big {
  font-size: 52px;
  font-weight: 800;
  color: white;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.login-logo-big span { color: rgba(255,255,255,0.6); font-weight: 300; font-size: 24px; }
.login-tagline {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 400;
  margin-top: 16px;
  text-align: center;
  max-width: 300px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.login-plane {
  position: absolute;
  bottom: 80px; right: 40px;
  font-size: 100px;
  opacity: 0.15;
  z-index: 0;
  transform: rotate(-20deg);
}
.login-right {
  width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 50px;
  background: white;
}
.login-tabs {
  display: flex;
  background: var(--light);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 32px;
}
.login-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.2s;
}
.login-tab.active {
  background: white;
  color: var(--red);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.login-form-title { font-size: 26px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.login-form-sub { font-size: 13px; color: var(--gray); margin-bottom: 28px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--black);
  transition: border-color 0.2s;
  outline: none;
  background: white;
}
.form-group input:focus { border-color: var(--orange); }

/* ===== BUTTONS ===== */
.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--gradient);
  border: none;
  border-radius: 10px;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  margin-top: 8px;
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--gradient);
  border: none;
  border-radius: 10px;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}
.btn-action:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: white;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  color: var(--black);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.forgot-link {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--orange);
  cursor: pointer;
  margin-top: -10px;
  margin-bottom: 14px;
  font-weight: 500;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: var(--sidebar-w);
  background: var(--black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  overflow: hidden;
}
.sidebar::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: var(--gradient);
  border-radius: 50%;
  top: -80px; right: -80px;
  opacity: 0.15;
}
.sidebar-logo {
  padding: 28px 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  z-index: 1;
}
.sidebar-logo-text { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.sidebar-logo-text .my { color: var(--orange); font-weight: 300; font-size: 14px; display: block; }
.sidebar-logo-text .roam { color: white; }
.sidebar-logo-text .up { color: var(--red); }
.sidebar-tagline { font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 4px; font-weight: 400; letter-spacing: 0.5px; }

.sidebar-nav {
  flex: 1;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}
.nav-section-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 12px 14px 4px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  color: rgba(255,255,255,0.5);
  font-size: 13.5px;
  font-weight: 500;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
}
.nav-item:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
.nav-item.active {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 16px rgba(234,82,63,0.35);
  animation: navPop 0.3s ease;
}
@keyframes navPop { from { transform: scale(0.96); } to { transform: scale(1); } }

.nav-icon { font-size: 18px; flex-shrink: 0; }
.nav-label { flex: 1; }
.nav-badge {
  background: var(--red);
  color: white;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 700;
}

.sidebar-user {
  padding: 16px 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.sidebar-user:hover { background: rgba(255,255,255,0.05); }
.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.user-name { font-size: 13px; font-weight: 600; color: white; }
.user-email { font-size: 11px; color: rgba(255,255,255,0.4); }
.logout-btn {
  font-size: 18px;
  color: rgba(255,255,255,0.3);
  margin-left: auto;
  transition: color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
}
.logout-btn:hover { color: var(--red); }

/* ===== MAIN CONTENT ===== */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 36px;
  min-height: 100vh;
}
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}
.page-title { font-size: 26px; font-weight: 700; color: var(--black); letter-spacing: -0.5px; }
.page-title span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
  margin-top: 2px;
  letter-spacing: 0;
}

/* ===== TOPBAR ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 32px;
  gap: 12px;
}
.topbar-notif {
  width: 38px; height: 38px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  position: relative;
  border: none;
}
.notif-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid white;
}
.topbar-date { font-size: 13px; color: var(--gray); font-weight: 500; }

/* ===== CARDS ===== */
.card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title a { font-size: 11px; color: var(--orange); cursor: pointer; font-weight: 500; text-transform: none; letter-spacing: 0; }

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.span-2 { grid-column: span 2; }

/* ===== STAT CARDS ===== */
.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.stat-card.gradient { background: var(--gradient); color: white; }
.stat-card::after {
  content: attr(data-icon);
  position: absolute;
  right: -10px; bottom: -10px;
  font-size: 70px;
  opacity: 0.08;
}
.stat-label { font-size: 12px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.stat-card.gradient .stat-label { color: rgba(255,255,255,0.7); }
.stat-value { font-size: 32px; font-weight: 800; color: var(--black); letter-spacing: -1px; line-height: 1; }
.stat-card.gradient .stat-value { color: white; }
.stat-change { font-size: 12px; color: var(--green); font-weight: 600; margin-top: 6px; }
.stat-card.gradient .stat-change { color: rgba(255,255,255,0.8); }

/* ===== CLOCK WIDGET ===== */
.clock-widget {
  background: var(--black);
  border-radius: var(--radius);
  padding: 24px;
  color: white;
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 32px;
}
.clock-item { flex: 1; }
.clock-location { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.clock-time {
  font-size: 38px; font-weight: 800; letter-spacing: -2px;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.clock-date { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }
.clock-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.1); }

/* ===== ALERT WIDGET ===== */
.alert-widget {
  background: rgba(246,159,26,0.08);
  border: 1.5px solid rgba(246,159,26,0.3);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.alert-icon { font-size: 20px; }
.alert-text { flex: 1; font-size: 13px; font-weight: 500; color: var(--black); }
.alert-text span { font-size: 11px; display: block; color: var(--gray); margin-top: 2px; }

/* ===== SIM LIST ===== */
.sim-list { display: flex; flex-direction: column; gap: 10px; }
.sim-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  background: var(--light); cursor: pointer; transition: background 0.2s;
}
.sim-row:hover { background: #eeeeee; }
.sim-flag { width: 32px; height: 32px; border-radius: 8px; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.sim-info { flex: 1; min-width: 0; }
.sim-name { font-size: 13px; font-weight: 600; color: var(--black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sim-meta { font-size: 11px; color: var(--gray); margin-top: 1px; }
.sim-badge { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; flex-shrink: 0; }
.badge-active { background: rgba(145,220,0,0.12); color: #5a9900; }
.badge-paused { background: rgba(246,159,26,0.12); color: var(--orange); }
.badge-expired { background: rgba(115,115,115,0.1); color: var(--gray); }

/* ===== INVOICE ROWS ===== */
.invoice-row { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f0f0; gap: 12px; }
.invoice-row:last-child { border-bottom: none; }
.invoice-num { font-size: 13px; font-weight: 600; flex: 1; }
.invoice-date { font-size: 12px; color: var(--gray); width: 90px; }
.invoice-amount { font-size: 14px; font-weight: 700; color: var(--black); width: 70px; text-align: right; }
.invoice-dl { width: 28px; height: 28px; border-radius: 7px; background: var(--light); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; transition: background 0.2s; }
.invoice-dl:hover { background: var(--gradient); color: white; }

/* ===== FILTER BAR ===== */
.filter-bar { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; align-items: center; }
.filter-chip {
  padding: 7px 16px; border-radius: 20px;
  border: 1.5px solid #e8e8e8; background: white;
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 500;
  color: var(--gray); cursor: pointer; transition: all 0.2s;
}
.filter-chip.active { border-color: var(--orange); background: rgba(246,159,26,0.08); color: var(--orange); }
.search-input { flex: 1; max-width: 280px; padding: 9px 14px; border: 1.5px solid #e8e8e8; border-radius: 10px; font-family: 'Poppins', sans-serif; font-size: 13px; outline: none; transition: border-color 0.2s; }
.search-input:focus { border-color: var(--orange); }

/* ===== ESIMS TABLE ===== */
.esims-table { width: 100%; border-collapse: collapse; }
.esims-table th { font-size: 11px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.8px; padding: 0 16px 12px; text-align: left; }
.esims-table td { padding: 14px 16px; font-size: 13.5px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.esims-table tr:last-child td { border-bottom: none; }
.esims-table tr:hover td { background: #fafafa; cursor: pointer; }
.progress-bar { height: 6px; background: #f0f0f0; border-radius: 3px; overflow: hidden; width: 100px; }
.progress-fill { height: 100%; border-radius: 3px; background: var(--gradient); }
.progress-fill.warning { background: linear-gradient(90deg, var(--orange), var(--red)); }
.progress-fill.critical { background: var(--red); }

/* ===== ESIM DETAIL ===== */
.detail-hero {
  background: var(--black); border-radius: var(--radius);
  padding: 28px; color: white; position: relative; overflow: hidden;
}
.detail-hero::before { content: ''; position: absolute; width: 300px; height: 300px; background: var(--gradient); border-radius: 50%; right: -100px; top: -100px; opacity: 0.2; }
.detail-hero-top { display: flex; align-items: flex-start; justify-content: space-between; position: relative; z-index: 1; }
.detail-flag { font-size: 48px; }
.detail-name { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.detail-iccid { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }
.detail-stats { display: flex; gap: 32px; margin-top: 24px; position: relative; z-index: 1; }
.detail-stat-label { font-size: 11px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.8px; }
.detail-stat-value { font-size: 18px; font-weight: 700; margin-top: 4px; }
.qr-placeholder { width: 90px; height: 90px; background: white; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 36px; cursor: pointer; }
.qr-placeholder span { font-size: 9px; color: var(--gray); margin-top: 4px; font-family: 'Poppins', sans-serif; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.consumption-bar { height: 10px; background: #f0f0f0; border-radius: 5px; overflow: hidden; margin: 16px 0 8px; }
.consumption-fill { height: 100%; border-radius: 5px; background: var(--gradient); transition: width 1s ease; }
.consumption-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray); }
.plan-row { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f0f0; gap: 12px; }
.plan-row:last-child { border-bottom: none; }
.plan-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.plan-info { flex: 1; }
.plan-name { font-size: 13px; font-weight: 600; }
.plan-meta { font-size: 11px; color: var(--gray); }
.btn-reactivar { font-size: 11px; font-weight: 600; color: var(--orange); background: rgba(246,159,26,0.08); border: none; padding: 5px 12px; border-radius: 7px; cursor: pointer; font-family: 'Poppins', sans-serif; transition: background 0.2s; }
.btn-reactivar:hover { background: rgba(246,159,26,0.18); }

/* ===== INVOICE TABLE ===== */
.invoice-table { width: 100%; border-collapse: collapse; }
.invoice-table th { font-size: 11px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.8px; padding: 0 20px 12px; text-align: left; }
.invoice-table td { padding: 16px 20px; font-size: 13.5px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.invoice-table tr:last-child td { border-bottom: none; }
.invoice-status { font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.status-paid { background: rgba(145,220,0,0.12); color: #5a9900; }
.status-pending { background: rgba(246,159,26,0.12); color: var(--orange); }

/* ===== PROFILE ===== */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.profile-avatar-section { display: flex; align-items: center; gap: 20px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid #f0f0f0; }
.profile-avatar-big { width: 80px; height: 80px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: white; flex-shrink: 0; position: relative; }
.avatar-edit { position: absolute; bottom: 0; right: 0; width: 24px; height: 24px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.15); cursor: pointer; }
.profile-name { font-size: 20px; font-weight: 700; }
.profile-email { font-size: 13px; color: var(--gray); margin-top: 3px; }
.profile-since { font-size: 12px; color: var(--gray); margin-top: 8px; }

/* ===== TU VIAJE ===== */
.viaje-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.emergency-list { display: flex; flex-direction: column; gap: 10px; }
.emergency-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--light); border-radius: 10px; }
.emergency-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.emergency-name { font-size: 13px; font-weight: 600; }
.emergency-num { font-size: 16px; font-weight: 700; color: var(--red); }
.faq-item { padding: 14px 0; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
.faq-item:last-child { border-bottom: none; }
.faq-q { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; }
.faq-a { font-size: 12px; color: var(--gray); margin-top: 8px; line-height: 1.6; display: none; }
.faq-item.open .faq-a { display: block; }
.config-step { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.config-step:last-child { border-bottom: none; }
.step-num { width: 28px; height: 28px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: white; flex-shrink: 0; margin-top: 2px; }
.step-title { font-size: 13px; font-weight: 600; }
.step-desc { font-size: 12px; color: var(--gray); margin-top: 3px; line-height: 1.5; }

/* ===== CHECKOUT ===== */
.checkout-header { background: var(--black); padding: 16px 36px; display: flex; align-items: center; justify-content: space-between; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; width: 100%; max-width: 1100px; margin: 0 auto; padding: 40px 36px; align-items: start; }
.checkout-step-header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.step-pill { width: 28px; height: 28px; border-radius: 50%; background: var(--gradient); color: white; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-title-checkout { font-size: 15px; font-weight: 700; color: var(--black); }
.step-sep { flex: 1; height: 2px; background: #e8e8e8; border-radius: 1px; }
.step-sep.done { background: var(--gradient); }
.coupon-row { display: flex; gap: 10px; margin-top: 16px; }
.coupon-row input { flex: 1; padding: 11px 14px; border: 1.5px solid #e8e8e8; border-radius: 10px; font-family: 'Poppins', sans-serif; font-size: 13px; outline: none; transition: border-color 0.2s; }
.coupon-row input:focus { border-color: var(--orange); }
.coupon-apply { padding: 11px 18px; background: var(--black); color: white; border: none; border-radius: 10px; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; transition: opacity 0.2s; }
.coupon-apply:hover { opacity: 0.8; }
.order-summary { position: sticky; top: 20px; }
.order-line { display: flex; justify-content: space-between; padding: 10px 0; font-size: 13px; border-bottom: 1px solid #f0f0f0; }
.order-line:last-child { border-bottom: none; }
.order-line.total { font-size: 16px; font-weight: 700; padding-top: 14px; margin-top: 4px; }
.order-line .label { color: var(--gray); }
.plan-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.plan-option { border: 2px solid #e8e8e8; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; position: relative; }
.plan-option.selected { border-color: var(--orange); background: rgba(246,159,26,0.05); }
.plan-option .plan-gb { font-size: 22px; font-weight: 800; color: var(--black); }
.plan-option .plan-days { font-size: 11px; color: var(--gray); }
.plan-option .plan-price { font-size: 15px; font-weight: 700; color: var(--red); margin-top: 8px; }
.plan-popular { position: absolute; top: -10px; right: 10px; background: var(--gradient); color: white; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 10px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== RESET PASSWORD ===== */
#screen-reset { background: #f7f7f7; align-items: center; justify-content: center; flex-direction: column; }
.reset-card { width: 440px; background: white; border-radius: 20px; padding: 44px; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.reset-icon { font-size: 48px; margin-bottom: 16px; }
.reset-title { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.reset-sub { font-size: 13px; color: var(--gray); margin-bottom: 28px; line-height: 1.6; }

/* ===== MODAL QR ===== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; align-items: center; justify-content: center; }
.modal-overlay.show { display: flex; }
.modal-box { background: white; border-radius: 20px; padding: 36px; width: 360px; text-align: center; animation: popIn 0.25s ease; }
@keyframes popIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.modal-sub { font-size: 13px; color: var(--gray); margin-bottom: 24px; }
.qr-big { width: 180px; height: 180px; background: var(--black); border-radius: 16px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 80px; }
.modal-close { width: 100%; padding: 12px; background: var(--light); border: none; border-radius: 10px; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--black); margin-top: 8px; }

/* ===== TOAST ===== */
.toast { position: fixed; bottom: 28px; right: 28px; background: var(--black); color: white; padding: 14px 20px; border-radius: 12px; font-size: 13px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,0.25); display: none; align-items: center; gap: 10px; z-index: 999; animation: slideIn 0.3s ease; }
.toast.show { display: flex; }
@keyframes slideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; padding: 20px; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .clock-widget { grid-column: span 2; }
  .grid-2, .grid-3, .detail-grid, .profile-grid, .viaje-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .checkout-layout { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .login-right { width: 100%; }
  .reset-card { width: 90%; }
}
