/* =========================
   RESET / BASE
========================= */
:root {
  --bg-main: #070b12;
  --bg-soft: #0d131d;
  --bg-card: rgba(15, 23, 36, 0.78);
  --bg-card-strong: rgba(12, 18, 30, 0.92);
  --bg-navbar: rgba(8, 12, 18, 0.82);
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-main: #f5f7fb;
  --text-soft: rgba(245, 247, 251, 0.78);
  --text-muted: rgba(245, 247, 251, 0.56);
  --primary: #e50914;
  --primary-hover: #f6121d;
  --secondary-btn: rgba(255, 255, 255, 0.08);
  --secondary-btn-hover: rgba(255, 255, 255, 0.14);
  --success-soft: rgba(23, 201, 100, 0.12);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.34);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container-max: 1280px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter Tight", Arial, sans-serif;
  background: linear-gradient(180deg, #070b12 0%, #0b111b 38%, #0c1320 100%);
  color: var(--text-main);
  overflow-x: hidden;
}

body,
section,
.container,
.card,
.card-box,
.item-wrapper {
  position: relative;
}

a {
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.container,
.container-fluid {
  position: relative;
  z-index: 2;
}

/* =========================
   TIPOGRAFIA GENERAL
========================= */
.display-1,
.display-4,
.display-5,
.display-7,
.mbr-section-title,
.mbr-text,
.card-title,
.card-text,
.navbar-caption,
.nav-link,
.btn {
  font-family: "Inter Tight", Arial, sans-serif !important;
}

.mbr-section-title,
.card-title,
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.02em;
}

/* =========================
   NAVBAR
========================= */
.menu.menu2 {
  z-index: 999;
}

.premium-navbar {
  padding-top: 8px;
  padding-bottom: 8px;
}

.premium-navbar .container {
  max-width: var(--container-max);
  background: rgba(10, 15, 25, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  min-height: 88px;
  padding: 0 26px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.60),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
}

.premium-navbar .navbar {
  min-height: 72px;
}

.premium-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: 24px;
}

.premium-navbar .navbar-logo a {
  display: inline-flex;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2a36 0%, #e50914 100%);
  box-shadow: 0 0 0 6px rgba(229, 9, 20, 0.16);
}

.premium-navbar .navbar-caption {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.98rem !important;
  white-space: nowrap;
}

.premium-navbar .navbar-nav {
  align-items: center;
  gap: 8px;
}

.premium-navbar .nav-link {
  color: rgba(255, 255, 255, 0.72) !important;
  font-weight: 700;
  font-size: 0.92rem !important;
  padding: 0.85rem 1rem !important;
  white-space: nowrap;
}

.premium-navbar .nav-link:hover,
.premium-navbar .nav-link:focus {
  color: #ffffff !important;
  opacity: 1;
}

.premium-navbar .navbar-buttons {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.premium-navbar .navbar-buttons .btn,
.premium-navbar .btn.btn-primary {
  border-radius: 999px !important;
  min-height: 64px;
  padding: 0 22px !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  border: none !important;
  background: linear-gradient(135deg, #ff2a36 0%, #e50914 100%) !important;
  box-shadow:
    0 16px 34px rgba(229, 9, 20, 0.34),
    0 0 24px rgba(229, 9, 20, 0.16);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.premium-navbar .navbar-buttons .btn:hover,
.premium-navbar .btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 20px 40px rgba(229, 9, 20, 0.42),
    0 0 28px rgba(229, 9, 20, 0.2);
}

.premium-navbar .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 14px;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.08);
}

.premium-navbar .hamburger span {
  background: #ffffff !important;
}

.premium-navbar .navbar-collapse {
  transition: all 0.25s ease;
}

/* =========================
   HERO
========================= */
.premium-hero {
  display: flex;
  align-items: center;
  padding: 110px 0 70px;
}

.hero-premium-container {
  max-width: var(--container-max);
}

.hero-premium-row {
  min-height: calc(100vh - 140px);
  row-gap: 34px;
}

.hero-premium-copy {
  max-width: 620px;
  padding-right: 24px;
}

.hero-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}

.hero-premium-copy .mbr-section-title {
  font-size: clamp(2.6rem, 5vw, 5.4rem) !important;
  line-height: 0.95 !important;
  margin-bottom: 22px !important;
  color: #ffffff !important;
  text-shadow: 0 10px 38px rgba(0, 0, 0, 0.38);
}

.hero-premium-copy .mbr-text {
  max-width: 540px;
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  margin-bottom: 32px !important;
}

.hero-premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-premium-actions .btn {
  min-width: 210px;
  justify-content: center;
  border-radius: 999px !important;
  padding: 1rem 1.5rem !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
}

.hero-premium-actions .btn-danger {
  border: none !important;
  background: linear-gradient(135deg, #ff2a36 0%, #e50914 100%) !important;
  box-shadow: 0 18px 38px rgba(229, 9, 20, 0.3);
}

.hero-premium-actions .btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(229, 9, 20, 0.38);
}

.hero-premium-actions .btn-white-outline {
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px);
}

.hero-premium-actions .btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-2px);
}

/* =========================
   BUSCADOR HERO
========================= */
.mail-search-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 23, 36, 0.9) 0%, rgba(10, 16, 26, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-card);
  padding: 30px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mail-search-panel--hero {
  max-width: 540px;
  margin-left: auto;
}

.mail-search-panel__header {
  margin-bottom: 24px;
}

.mail-search-panel__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(229, 9, 20, 0.16);
  border: 1px solid rgba(229, 9, 20, 0.2);
}

.mail-search-panel__title {
  font-size: 1.9rem !important;
  line-height: 1.12 !important;
  color: #ffffff !important;
  margin-bottom: 12px !important;
}

.mail-search-panel__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
}

/* =========================
   FORMULARIO
========================= */
.form-container {
  margin: 0;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.form-container label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.96rem;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="search"] {
  width: 100%;
  min-height: 62px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 0 18px;
  font-size: 1rem;
  outline: none;
  box-shadow: none;
  transition: all 0.25s ease;
  margin-bottom: 14px;
}

.form-container input[type="text"]::placeholder,
.form-container input[type="email"]::placeholder,
.form-container input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-container input[type="text"]:focus,
.form-container input[type="email"]:focus,
.form-container input[type="search"]:focus {
  border-color: rgba(229, 9, 20, 0.65);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.12);
}

.form-container input[type="submit"],
.form-container .btn,
.form-container .btn-primary {
  width: 100%;
  min-height: 60px;
  border-radius: 18px !important;
  border: none !important;
  background: linear-gradient(135deg, #ff2a36 0%, #e50914 100%) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 34px rgba(229, 9, 20, 0.28);
  transition: all 0.25s ease;
}

.form-container input[type="submit"]:hover,
.form-container .btn:hover,
.form-container .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(229, 9, 20, 0.35);
}

/* =========================
   FEEDBACK BUSQUEDA
========================= */
.search-feedback {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-feedback--empty {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
}

/* =========================
   INSTRUCCIONES
========================= */
.features032 {
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at top center, rgba(25, 77, 255, 0.08) 0%, transparent 34%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.98) 0%, rgba(7, 12, 22, 1) 100%);
}

.section-heading-premium {
  margin-bottom: 56px;
}

.section-heading-premium__badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-heading-premium__title {
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.section-heading-premium__text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.premium-step-card {
  height: 100%;
  border-radius: 28px;
  padding: 30px 26px;
  background:
    linear-gradient(180deg, rgba(18, 27, 42, 0.96) 0%, rgba(9, 15, 25, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.premium-step-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 26px 50px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(229, 9, 20, 0.08);
  border-color: rgba(229, 9, 20, 0.24);
}

.premium-step-card__number {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-weight: 900;
  font-size: 1.08rem;
  color: #ffffff;
  background: linear-gradient(135deg, #ff2a36 0%, #e50914 100%);
  box-shadow: 0 16px 34px rgba(229, 9, 20, 0.28);
}

.premium-step-card .card-title {
  color: #ffffff !important;
  font-size: 1.28rem !important;
  margin-bottom: 12px !important;
}

.premium-step-card .card-text {
  color: rgba(245, 247, 251, 0.82) !important;
  line-height: 1.82 !important;
  margin-bottom: 0 !important;
}

.premium-note-card {
  margin-top: 14px;
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(16, 24, 38, 0.92) 0%, rgba(11, 17, 28, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-soft);
}

.premium-note-card .card-title {
  color: #ffffff !important;
  margin-bottom: 12px !important;
}

.premium-note-card .card-text {
  color: var(--text-soft) !important;
  line-height: 1.8 !important;
}

/* =========================
   RESULTADOS
========================= */
.article07 {
  padding: 100px 0 110px;
  background:
    radial-gradient(circle at top, rgba(229, 9, 20, 0.18), transparent 40%),
    radial-gradient(circle at center, rgba(0, 120, 255, 0.12), transparent 50%),
    linear-gradient(180deg, #070b12 0%, #0a1220 100%);
}

.premium-results-shell {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.article07 .card,
.article07 .card-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.premium-results-header {
  text-align: center;
  margin-bottom: 34px;
}

.results-section-header__badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-results-header h3 {
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 10px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.premium-results-header p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.results-summary-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 30px;
  margin-bottom: 28px;
  background:
    linear-gradient(180deg, rgba(20, 32, 50, 0.95) 0%, rgba(10, 16, 28, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.60),
    0 0 30px rgba(229, 9, 20, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.results-summary-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(229, 9, 20, 0.25);
}

.results-summary-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(23, 201, 100, 0.10), transparent 28%),
    radial-gradient(circle at right center, rgba(37, 99, 235, 0.10), transparent 26%);
  pointer-events: none;
}

.results-summary-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.results-summary-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(23, 201, 100, 0.14);
  color: #c8f7d7;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid rgba(23, 201, 100, 0.22);
  box-shadow: 0 10px 24px rgba(23, 201, 100, 0.08);
}

.results-summary-card__count {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.results-summary-card__subject {
  position: relative;
  z-index: 1;
  color: #ffffff !important;
  font-size: 1.6rem !important;
  line-height: 1.28 !important;
  margin-bottom: 10px !important;
  word-break: break-word;
}

.results-summary-card__date {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(245, 247, 251, 0.78);
  font-size: 1rem;
}

/* =========================
   TABLA RESULTADOS
========================= */
.premium-table-wrap {
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 24, 38, 0.88) 0%, rgba(9, 15, 25, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#emailTable {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  overflow: hidden;
}

#emailTable th {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#emailTable td {
  padding: 22px 24px;
  color: rgba(245, 247, 251, 0.82);
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
  background: transparent;
  transition: background 0.22s ease, transform 0.22s ease;
}

#emailTable tr:last-child td {
  border-bottom: none;
}

#emailTable tr {
  transition: all 0.22s ease;
}

#emailTable tbody tr:hover td {
  background: rgba(229, 9, 20, 0.06);
}

#emailTable td:first-child {
  color: #ffffff;
  font-weight: 700;
}

#emailTable td a {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.5;
  display: inline-block;
}

#emailTable td a:hover {
  color: #ff7b82;
}

/* =========================
   ESTADO VACIO
========================= */
.empty-results-state {
  border-radius: 24px;
  padding: 38px 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(15, 23, 36, 0.82) 0%, rgba(10, 16, 26, 0.96) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--text-soft);
}

.empty-results-state h4 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.empty-results-state p {
  margin: 0;
  line-height: 1.75;
}

/* =========================
   VISOR DE CORREO
========================= */
.email-viewer-panel {
  margin-top: 28px !important;
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(18, 27, 42, 0.88) 0%, rgba(10, 16, 26, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}

.email-viewer-panel__header {
  margin-bottom: 18px;
}

.email-viewer-panel__badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(229, 9, 20, 0.14);
  border: 1px solid rgba(229, 9, 20, 0.18);
}

.email-viewer-panel__title {
  color: #ffffff !important;
  font-size: 1.5rem !important;
  margin-bottom: 0 !important;
}

#emailBodyFrame {
  width: 100% !important;
  min-height: 560px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

/* =========================
   FOOTER
========================= */
.footer4 {
  padding: 34px 0;
  background: #070b12;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer4 .mbr-text {
  color: rgba(255, 255, 255, 0.56) !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.02em;
}

/* =========================
   AJUSTES MOBIRISE / BOOTSTRAP
========================= */
.navbar-fixed-top {
  top: 0;
}

.card-box.align-left,
.card-wrapper,
.item-wrapper {
  background: transparent;
}

.btn {
  transition: all 0.25s ease !important;
}

.mbr-section-btn .btn {
  margin: 0 !important;
}

.features-without-image .item-wrapper,
.features-without-image .card-box {
  height: 100%;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1199.98px) {
  .hero-premium-copy {
    max-width: 100%;
    padding-right: 0;
  }

  .mail-search-panel--hero {
    max-width: 100%;
  }

  .hero-premium-copy .mbr-section-title {
    font-size: clamp(2.4rem, 6vw, 4.6rem) !important;
  }
}

@media (max-width: 991.98px) {
  .premium-navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .premium-navbar .container {
    border-radius: 24px;
    min-height: auto;
    padding: 12px 16px;
  }

  .premium-navbar .navbar-collapse {
    margin-top: 14px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(8, 12, 18, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  }

  .premium-navbar .nav-link {
    padding: 0.8rem 0.6rem !important;
  }

  .premium-navbar .navbar-buttons {
    margin-top: 12px;
    width: 100%;
  }

  .premium-navbar .navbar-buttons .btn {
    width: 100%;
    min-height: 56px;
  }

  .premium-hero {
    padding: 120px 0 70px;
  }

  .hero-premium-row {
    min-height: auto;
  }

  .hero-premium-copy {
    text-align: center;
    margin: 0 auto;
  }

  .hero-premium-copy .mbr-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-premium-actions {
    justify-content: center;
  }

  .hero-premium-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .mail-search-panel {
    padding: 24px;
  }

  .mail-search-panel__title {
    font-size: 1.65rem !important;
  }

  .features032,
  .article07 {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .section-heading-premium {
    margin-bottom: 34px;
  }

  .premium-results-header h3 {
    font-size: 2.15rem;
  }

  .results-summary-card,
  .email-viewer-panel,
  .premium-note-card {
    padding: 22px;
  }

  #emailTable th,
  #emailTable td {
    padding: 16px 16px;
  }

  #emailBodyFrame {
    min-height: 500px !important;
  }
}

@media (max-width: 767.98px) {
  .premium-navbar .container {
    border-radius: 20px;
    padding: 10px 14px;
  }

  body {
    background: linear-gradient(180deg, #070b12 0%, #0a1019 48%, #0b111b 100%);
  }

  .hero-premium-container,
  .features032 .container,
  .article07 .container,
  .footer4 .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .premium-navbar .navbar-caption {
    font-size: 0.9rem !important;
  }

  .hero-premium-badge,
  .section-heading-premium__badge,
  .mail-search-panel__badge,
  .results-section-header__badge,
  .email-viewer-panel__badge,
  .results-summary-card__badge,
  .results-summary-card__count {
    font-size: 0.76rem;
  }

  .hero-premium-copy .mbr-section-title {
    font-size: 2.3rem !important;
    line-height: 0.98 !important;
  }

  .hero-premium-copy .mbr-text {
    font-size: 0.98rem !important;
    line-height: 1.72 !important;
  }

  .mail-search-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .mail-search-panel__title {
    font-size: 1.45rem !important;
  }

  .mail-search-panel__text,
  .section-heading-premium__text,
  .premium-results-header p,
  .premium-step-card .card-text,
  .premium-note-card .card-text,
  .empty-results-state p {
    font-size: 0.96rem;
  }

  .premium-step-card {
    padding: 22px 20px;
    border-radius: 20px;
  }

  .premium-step-card .card-title {
    font-size: 1.18rem !important;
  }

  .premium-step-card__number {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    margin-bottom: 14px;
  }

  .premium-results-header {
    margin-bottom: 22px;
  }

  .premium-results-header h3,
  .section-heading-premium__title {
    font-size: 1.8rem;
  }

  .results-summary-card {
    border-radius: 22px;
    padding: 20px;
  }

  .results-summary-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .results-summary-card__subject {
    font-size: 1.2rem !important;
  }

  .premium-table-wrap {
    border-radius: 20px;
  }

  #emailTable {
    min-width: 620px;
  }

  .email-viewer-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .email-viewer-panel__title {
    font-size: 1.25rem !important;
  }

  #emailBodyFrame {
    min-height: 440px !important;
    border-radius: 16px !important;
  }

  .footer4 {
    padding: 26px 0;
  }

  .footer4 .mbr-text {
    font-size: 0.82rem !important;
    line-height: 1.7;
  }
}

@media (max-width: 575.98px) {
  .premium-navbar .navbar-logo a {
    width: 14px;
    height: 14px;
  }

  .hero-premium-copy .mbr-section-title {
    font-size: 2.05rem !important;
  }

  .hero-premium-actions {
    gap: 10px;
  }

  .hero-premium-actions .btn {
    padding: 0.92rem 1.1rem !important;
    font-size: 0.9rem !important;
  }

  .form-container input[type="text"],
  .form-container input[type="email"],
  .form-container input[type="search"],
  .form-container input[type="submit"] {
    min-height: 56px;
    border-radius: 16px;
    font-size: 0.96rem !important;
  }

  .mail-search-panel__title {
    font-size: 1.3rem !important;
  }

  .premium-results-header h3,
  .section-heading-premium__title {
    font-size: 1.6rem;
  }

  .results-summary-card__subject {
    font-size: 1.08rem !important;
  }

  #emailBodyFrame {
    min-height: 400px !important;
  }
}
/* =========================
   FIX FUERTE NAVBAR + ESTADOS
   Pegar al final de styles.css
========================= */

/* NAVBAR REAL OSCURA */
#menu02-0 .premium-navbar,
#menu02-0 .navbar-dropdown,
#menu02-0 .navbar {
  background: transparent !important;
  box-shadow: none !important;
}

#menu02-0 .premium-navbar .container {
  background: rgba(10, 15, 25, 0.92) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.60),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* FORZAR TEXTOS BLANCOS EN NAVBAR */
#menu02-0 .navbar-caption,
#menu02-0 .navbar-caption.text-black,
#menu02-0 .navbar-caption.text-primary,
#menu02-0 .nav-link,
#menu02-0 .nav-link.link,
#menu02-0 .nav-link.text-black,
#menu02-0 .nav-link.text-primary {
  color: rgba(255, 255, 255, 0.92) !important;
}

#menu02-0 .nav-link:hover,
#menu02-0 .nav-link:focus {
  color: #ffffff !important;
}

/* BOTON NAVBAR */
#menu02-0 .navbar-buttons .btn,
#menu02-0 .navbar-buttons .btn.display-4 {
  background: linear-gradient(135deg, #ff2a36 0%, #e50914 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow:
    0 16px 34px rgba(229, 9, 20, 0.34),
    0 0 24px rgba(229, 9, 20, 0.16) !important;
}

/* ESTADO VACIO MAS BONITO */
.empty-results-state {
  border-radius: 28px !important;
  padding: 42px 30px !important;
  background:
    radial-gradient(circle at top, rgba(229, 9, 20, 0.10), transparent 35%),
    linear-gradient(180deg, rgba(16, 24, 38, 0.92) 0%, rgba(10, 16, 26, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(229, 9, 20, 0.10) !important;
}

.empty-results-state h4 {
  color: #ffffff !important;
  font-size: 1.5rem !important;
}

.empty-results-state p {
  color: rgba(245, 247, 251, 0.80) !important;
}

/* MENSAJE DENTRO DEL PANEL DE BUSQUEDA */
.search-feedback--empty {
  background: linear-gradient(180deg, rgba(22, 30, 44, 0.92) 0%, rgba(14, 20, 32, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* MOBILE NAVBAR */
@media (max-width: 767.98px) {
  #menu02-0 .premium-navbar .container {
    border-radius: 22px !important;
    padding: 10px 14px !important;
  }
}
/* =========================
   FIX FUERTE - GUIA RAPIDA
========================= */

#features032-1k .item-wrapper,
#features032-1k .card-box,
#features032-1k .premium-step-card {
  background: linear-gradient(180deg, rgba(18, 27, 42, 0.96) 0%, rgba(9, 15, 25, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  border-radius: 28px !important;
}

#features032-1k .premium-step-card {
  padding: 30px 26px !important;
  min-height: 100% !important;
}

#features032-1k .premium-step-card .card-title,
#features032-1k .premium-step-card h5,
#features032-1k .premium-step-card strong {
  color: #ffffff !important;
}

#features032-1k .premium-step-card .card-text,
#features032-1k .premium-step-card p {
  color: rgba(245, 247, 251, 0.82) !important;
}

#features032-1k .premium-step-card__number {
  background: linear-gradient(135deg, #ff2a36 0%, #e50914 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 34px rgba(229, 9, 20, 0.28) !important;
}

#features032-1k .premium-step-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 26px 50px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(229, 9, 20, 0.08) !important;
}

/* NOTA IMPORTANTE */
#features032-1k .premium-note-card {
  background: linear-gradient(180deg, rgba(16, 24, 38, 0.92) 0%, rgba(11, 17, 28, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24) !important;
  border-radius: 24px !important;
}

#features032-1k .premium-note-card .card-title,
#features032-1k .premium-note-card strong {
  color: #ffffff !important;
}

#features032-1k .premium-note-card .card-text,
#features032-1k .premium-note-card p {
  color: rgba(245, 247, 251, 0.82) !important;
}
/* BOTON HERO - VER RESULTADOS */
.mbr-section .btn-primary,
.mbr-section .btn-primary span {
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 0.5px;
}
/* FIX VER RESULTADOS - FUERTE */
a.btn.btn-danger.display-7,
a.btn.btn-danger.display-7 span,
a.btn.btn-danger.display-7 strong {
  color: #ffffff !important;
}
/* =========================
   LOADER EN BOTON BUSCAR
========================= */
.form-container input[type="submit"].is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.92;
  filter: saturate(0.9);
}

.form-container input[type="submit"].is-loading:hover {
  transform: none !important;
  box-shadow: 0 18px 34px rgba(229, 9, 20, 0.28) !important;
  cursor: wait;
}