/* ==========================================================================
   IMPUESTOS VEHICULARES ANTIOQUIA - ESTILOS OFICIALES
   ========================================================================== */

:root {
  --primary: #0b5640;
  --primary-hover: #084332;
  --primary-light: #eaf4ef;
  --secondary: #166534;
  --accent-mint: #2fe59d;
  --accent-mint-dark: #0b4d35;
  --accent-green-bright: #25d366;
  --notice-bg: #13593b;
  
  --text-dark: #2d3748;
  --text-gray: #4b5563;
  --text-muted: #6b7280;
  --border-light: #e2e8f0;
  --border-input: #d1d5db;
  
  --bg-white: #ffffff;
  --bg-page: #fbfdfc;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Montserrat', 'Poppins', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Links & Typography */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, select {
  font-family: inherit;
}

/* Utilities */
.d-none {
  display: none !important;
}

.text-success {
  color: #10b981 !important;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.header-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-area {
  display: flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.header-logo {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px;
  z-index: 1001;
}

.mobile-menu-btn .bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 4px;
  transition: all var(--transition-normal);
}

.mobile-menu-btn.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.mobile-menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.chevron-icon {
  transition: transform var(--transition-fast);
}

.dropdown:hover .chevron-icon,
.dropdown.active .chevron-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background-color: var(--bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 8px 0;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 1050;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 9px 18px;
  font-size: 13.5px;
  color: var(--text-dark);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 500;
}

/* Header Buttons */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  outline: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(11, 86, 64, 0.25);
}

/* ==========================================================================
   BANNER CAROUSEL
   ========================================================================== */
.banner-section {
  width: 100%;
  background-color: var(--bg-white);
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.carousel-slides {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-slide {
  display: none;
  width: 100%;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 440px;
  object-fit: cover;
  object-position: center;
}

/* Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.prev-btn {
  left: 20px;
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--primary);
}

.prev-btn:hover {
  background-color: var(--bg-white);
  transform: translateY(-50%) scale(1.05);
}

.next-btn {
  right: 20px;
  background-color: rgba(19, 89, 59, 0.9);
  color: var(--bg-white);
}

.next-btn:hover {
  background-color: var(--primary);
  transform: translateY(-50%) scale(1.05);
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.indicator.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: 10px;
}

/* ==========================================================================
   NOTICE BAR
   ========================================================================== */
.notice-bar {
  background-color: var(--notice-bg);
  color: var(--bg-white);
  padding: 12px 20px;
  text-align: center;
}

.notice-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notice-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.1px;
}

.check-icon {
  display: inline-flex;
  color: var(--accent-mint);
  flex-shrink: 0;
}

.notice-url {
  color: var(--accent-mint);
  font-weight: 700;
  text-decoration: none;
}

.notice-url:hover {
  text-decoration: underline;
}

.phone-highlight {
  color: var(--accent-mint);
  font-weight: 700;
}

/* ==========================================================================
   MAIN CONTENT SECTION
   ========================================================================== */
.main-content {
  flex: 1;
  padding: 38px 24px 48px;
}

.content-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title-wrap {
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
}

/* Grid: Form + Date Cards */
.action-grid {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

/* ==========================================================================
   FORM CARD (PAGA TU IMPUESTO VEHICULAR)
   ========================================================================== */
.form-card {
  flex: 1.6;
  background-color: var(--primary-light);
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 13.5px;
  color: var(--text-gray);
  margin-bottom: 22px;
}

.form-fields-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.field-item {
  position: relative;
}

.doc-type-col {
  flex: 1.1;
  min-width: 140px;
}

.doc-num-col {
  flex: 1.4;
  min-width: 160px;
}

.placa-col {
  flex: 0.9;
  min-width: 110px;
}

.submit-col {
  flex-shrink: 0;
}

/* Custom Select & Input */
.select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select,
.custom-input {
  width: 100%;
  height: 44px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-input);
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 32px;
  cursor: pointer;
}

.select-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
  display: flex;
}

.custom-input:focus,
.custom-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 86, 64, 0.15);
}

.custom-input::placeholder {
  color: #8c96a0;
  font-size: 13.5px;
}

.placa-input {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Botón Buscar */
.btn-buscar {
  height: 44px;
  padding: 0 30px;
  background-color: var(--primary);
  color: var(--bg-white);
  border: none;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(11, 86, 64, 0.2);
}

.btn-buscar:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(11, 86, 64, 0.3);
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-feedback {
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   DATE CARDS (CON DESCUENTO / SIN DESCUENTO)
   ========================================================================== */
.date-cards-wrap {
  flex: 1;
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.date-card {
  flex: 1;
  background-color: var(--bg-white);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.date-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-ribbon {
  padding: 9px 12px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.ribbon-dark-green {
  background-color: var(--primary);
  color: var(--bg-white);
}

.ribbon-light-mint {
  background-color: var(--accent-mint);
  color: var(--accent-mint-dark);
}

.card-inner-body {
  padding: 16px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.date-day {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin: 2px 0 2px;
}

.date-month {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.date-description {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 26px 20px;
  margin-top: auto;
  text-align: center;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.footer-separator {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.link-medios-pago {
  color: var(--primary) !important;
  font-weight: 600;
}

.footer-contact {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   FLOATING CHAT WIDGET
   ========================================================================== */
.floating-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.chat-bubble-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a7f3d0, #6ee7b7);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.chat-bubble-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.55);
}

.widget-icon {
  display: flex;
  gap: 6px;
  align-items: center;
}

.widget-icon .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  display: inline-block;
  animation: pulseDot 1.4s infinite ease-in-out;
}

.widget-icon .dot:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* ==========================================================================
   MODALS (INICIAR SESION, RESULTADO, DATOS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.modal-dialog {
  background-color: var(--bg-white);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: slideUp 0.25s ease;
}

.modal-dialog.modal-lg {
  max-width: 760px;
}

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

.modal-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-dark);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Login Tabs */
.login-tabs {
  display: flex;
  background-color: #f1f5f9;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 20px;
}

.tab-btn {
  flex: 1;
  padding: 9px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background-color: var(--bg-white);
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.modal-input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--border-input);
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.modal-input:focus {
  border-color: var(--primary);
}

.login-options {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.forgot-link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-block {
  width: 100%;
}

/* Vehiculo Info Card in Modal */
.vehiculo-info-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.placa-badge {
  background-color: #fef08a;
  color: #854d0e;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  padding: 4px 16px;
  border-radius: 6px;
  border: 2px solid #ca8a04;
  letter-spacing: 1px;
}

.status-badge {
  background-color: #d1fae5;
  color: #065f46;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background-color: var(--primary-light);
  padding: 16px;
  border-radius: 12px;
}

.info-cell .label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.info-cell .value {
  font-size: 14px;
  color: var(--text-dark);
}

.table-vigencias {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 6px;
}

.table-vigencias th,
.table-vigencias td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.table-vigencias th {
  background-color: #f8fafc;
  color: var(--text-dark);
  font-weight: 600;
}

.pago-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.btn-icon {
  margin-right: 6px;
}

/* ==========================================================================
   ESTILOS: MODAL PREGUNTAS Y VALOR DEVUELTO POR LA API
   ========================================================================== */
.modal-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.preguntas-placa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background-color: var(--primary-light);
  padding: 12px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.security-lock-text {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.preguntas-dynamic-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.pregunta-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.pregunta-card:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 86, 64, 0.1);
}

.pregunta-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.pregunta-num-pill {
  width: 22px;
  height: 22px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.pregunta-select {
  width: 100%;
  height: 44px;
  background-color: #f8fafc;
  border: 1.5px solid var(--border-input);
  border-radius: 8px;
  padding: 0 36px 0 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  transition: all var(--transition-fast);
}

.pregunta-select:focus {
  background-color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 86, 64, 0.15);
}

.modal-actions-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

/* Tarjeta Destacada de Valor Retornado por la API */
.valor-resultado-card {
  background: linear-gradient(135deg, #0b5640 0%, #073f2f 100%);
  border-radius: 14px;
  padding: 20px 24px;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(11, 86, 64, 0.25);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.valor-resultado-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(46, 229, 157, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.valor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.valor-caption {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--accent-mint);
  text-transform: uppercase;
}

.vigencia-pill {
  background-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.valor-amount-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.valor-amount {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.valor-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.valor-fecha-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.valor-fecha-text {
  font-size: 14px;
  color: #ffffff;
  font-weight: 700;
}

.date-badge {
  background-color: #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
}

/* ==========================================================================
   ESTILOS EXACTOS: MODAL PREGUNTAS (CAPTURA 1)
   ========================================================================== */
.modal-preguntas-dialog {
  max-width: 820px;
  width: 95%;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding: 8px 12px 14px;
}

.modal-header-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 8px;
  border-bottom: none;
}

.modal-title-oficial {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #018D38;
}

.modal-body-preguntas {
  padding: 0 20px 14px;
}

.preguntas-intro {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 22px;
  line-height: 1.45;
}

.preguntas-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.pregunta-col-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pregunta-label-clean {
  font-size: 13.5px;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}

.pregunta-select-clean {
  width: 100%;
  height: 40px;
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 6px;
  padding: 0 28px 0 10px;
  font-size: 13.5px;
  color: #495057;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c757d'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 18px;
  transition: border-color 0.2s ease;
}

.pregunta-select-clean:focus {
  border-color: #018D38;
  box-shadow: 0 0 0 2px rgba(1, 141, 56, 0.15);
}

.modal-footer-clean {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
}

.btn-outline-oficial {
  background: transparent;
  color: #0b5640;
  border: 2px solid #0b5640;
  border-radius: 50px;
  padding: 8px 32px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-oficial:hover {
  background-color: #f0fdf4;
}

.btn-primary-oficial {
  background-color: #0b5640;
  color: #ffffff;
  border: 2px solid #0b5640;
  border-radius: 50px;
  padding: 8px 32px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-oficial:hover {
  background-color: #084332;
  border-color: #084332;
}

/* ==========================================================================
   ESTILOS EXACTOS: PÁGINA PAY.HTML (CAPTURA 2)
   ========================================================================== */
.pay-main-layout {
  flex: 1;
  background-color: #fbfdfc;
  padding: 42px 20px 60px;
}

.pay-container {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 28px;
}

.card-vehiculo-resumen {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 28px 24px;
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.card-estado-resumen {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 30px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.title-oficial-green {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: #0f6946;
  line-height: 1.25;
}

.divider-green-line {
  height: 2px;
  background-color: #0f6946;
  width: 100%;
  margin: 12px 0 20px 0;
}

.detalle-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  padding: 4px 0;
  color: #4b5563;
}

.detalle-row .prop-label {
  color: #4b5563;
}

.detalle-row .prop-val {
  font-weight: 700;
  color: #111827;
  text-align: right;
}

.subtitulo-pagos {
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
  margin-top: 22px;
  margin-bottom: 8px;
}

.estado-descripcion {
  font-size: 14.5px;
  color: #1f2937;
  line-height: 1.5;
  margin-bottom: 24px;
}

.estado-descripcion strong {
  font-weight: 700;
}

.link-estado-detalle {
  color: #0f6946;
  text-decoration: underline;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-autorizo-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 34px;
  font-size: 13.5px;
  color: #1f2937;
}

.checkbox-autorizo-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #0f6946;
}

.link-autorizo-sub {
  color: #1f2937;
  text-decoration: underline;
  cursor: pointer;
}

.pay-btn-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.btn-cancelar-estado {
  border: 2px solid #0b5640;
  color: #0b5640;
  background: transparent;
  border-radius: 50px;
  padding: 9px 32px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cancelar-estado:hover {
  background-color: #f0fdf4;
}

.btn-generar-estado {
  background-color: #73c89b;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 11px 32px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-generar-estado:hover {
  background-color: #5dbb87;
}

/* ==========================================================================
   ESTILOS: MODAL GENERAR DOCUMENTO VÁLIDO PARA TRÁMITES (CAPTURA 3)
   ========================================================================== */
.modal-tramite-dialog {
  max-width: 680px;
  width: 95%;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding: 8px 12px 16px;
}

.modal-body-tramite {
  padding: 0 20px 14px;
}

.callout-info-tramite {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: #f0f7ff;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid #e0edff;
}

.callout-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
}

.callout-info-text {
  font-size: 14px;
  line-height: 1.45;
  color: #1f2937;
}

.callout-info-text strong {
  font-weight: 700;
  color: #111827;
}

.tramite-intro-text {
  font-size: 13.5px;
  color: #4b5563;
  margin-bottom: 16px;
  line-height: 1.5;
}

.datos-contacto-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
}

.contacto-grid-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 14px;
}

.contacto-grid-row.contacto-row-single {
  grid-template-columns: repeat(2, 1fr);
}

.form-col-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contacto-field-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #374151;
}

.contacto-input-clean {
  width: 100%;
  height: 40px;
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  color: #111827;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contacto-input-clean:focus {
  border-color: #018D38;
  box-shadow: 0 0 0 2px rgba(1, 141, 56, 0.15);
}

.btn-pagar-tramite {
  background-color: #73c89b;
  color: #ffffff;
  border: 2px solid #73c89b;
  border-radius: 50px;
  padding: 8px 36px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-pagar-tramite:hover {
  background-color: #5dbb87;
  border-color: #5dbb87;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .action-grid {
    flex-direction: column;
  }
  
  .form-card,
  .date-cards-wrap {
    width: 100%;
    flex: auto;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 16px;
  }

  .header-logo {
    height: 42px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 63px;
    left: 0;
    width: 100%;
    height: calc(100vh - 63px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    align-items: flex-start;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .nav-item {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    transform: none;
    display: none;
    opacity: 1;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .header-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 12px;
  }

  .header-buttons .btn {
    width: 100%;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .prev-btn { left: 8px; }
  .next-btn { right: 8px; }

  .notice-bar {
    padding: 10px 14px;
  }

  .notice-line {
    font-size: 12.5px;
    flex-wrap: wrap;
  }

  .main-content {
    padding: 24px 16px 36px;
  }

  .section-title {
    font-size: 21px;
  }

  .form-card {
    padding: 20px 18px;
  }

  .form-fields-row {
    flex-direction: column;
    gap: 12px;
  }

  .field-item {
    width: 100%;
  }

  .btn-buscar {
    width: 100%;
  }

  .date-cards-wrap {
    flex-direction: row;
  }

  .date-day {
    font-size: 38px;
  }

  .pago-actions {
    flex-direction: column;
  }

  .pago-actions .btn {
    width: 100%;
  }

  .preguntas-grid-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contacto-grid-row,
  .contacto-grid-row.contacto-row-single {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pay-container {
    flex-direction: column;
    gap: 20px;
  }

  .card-vehiculo-resumen,
  .card-estado-resumen {
    width: 100%;
    padding: 22px 18px;
  }

  .pay-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-cancelar-estado,
  .btn-generar-estado {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .date-cards-wrap {
    flex-direction: column;
  }
}
