/* css/components.css - TerreNet Design System Components
   Componentes reutilizables para escalabilidad
   v1.0 - Diciembre 2025
*/

/* ========================================
   PLAN BADGES - Indicadores visuales de plan
   ======================================== */

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.plan-badge--free {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #475569; /* ≥4.5:1 on light bg (WCAG AA) */
  border: 1px solid #d1d5db;
}

.plan-badge--basico {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.plan-badge--pro {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #fbbf24;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.25);
}

.plan-badge--pro svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 2px;
}

.plan-badge--premium {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #78350f;
  border: 1px solid #d97706;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.35);
}

.plan-badge--premium svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 2px;
}

.plan-badge--lg {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

/* ========================================
   DESTACADO BADGE - Para cards de terrenos
   ======================================== */

.destacado-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.destacado-badge--normal {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  box-shadow: 0 3px 12px rgba(59, 130, 246, 0.4);
}

.destacado-badge--super {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.5);
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 3px 12px rgba(245, 158, 11, 0.5); }
  50% { box-shadow: 0 3px 20px rgba(245, 158, 11, 0.8); }
}

.destacado-badge--normal::before {
  content: "\2B50"; /* Star emoji */
  font-size: 0.85rem;
}

.destacado-badge--super::before {
  content: "\1F451"; /* Crown emoji */
  font-size: 0.85rem;
}

/* ========================================
   FAVORITOS - Corazón en cards
   ======================================== */

.btn-favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-favorite:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-favorite svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #6b7280;
  stroke-width: 2;
  transition: all 0.25s ease;
}

/* 🔴 ESTADO ACTIVO - ROJO FORZADO */
.btn-favorite.active {
  background: #fef2f2;
}

.btn-favorite.active svg {
  fill: #ef4444 !important;
  stroke: #ef4444 !important;
  animation: heart-beat 0.8s ease-in-out;
}

/* Asegura que el SVG path dentro de .active siempre sea rojo */
.btn-favorite.active svg path {
  fill: #ef4444 !important;
  stroke: #ef4444 !important;
}

@keyframes heart-beat {
  0% { transform: scale(1); }
  15% { transform: scale(1.3); }
  30% { transform: scale(1); }
  45% { transform: scale(1.2); }
  60% { transform: scale(1); }
  15% { transform: scale(1.3); }
  30% { transform: scale(1); }
  45% { transform: scale(1.2); }
  60% { transform: scale(1); }
}

/* ========================================
   VENDEDOR BRANDING - Logo en cards (PRO+)
   ======================================== */

.card-vendedor-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--color-border, #e5e7eb);
  margin-top: auto;
}

.card-vendedor-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--color-border, #e5e7eb);
}

.card-vendedor-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted, #6b7280);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========================================
   ESTADÍSTICAS CARD
   ======================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--color-surface, #fff);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--color-border, #e5e7eb);
  text-align: center;
}

.stat-card__value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text, #111827);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-card__label {
  font-size: 0.8rem;
  color: var(--color-text-muted, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stat-card--primary .stat-card__value {
  color: var(--color-primary, #b13333);
}

.stat-card--success .stat-card__value {
  color: #059669;
}

.stat-card--warning .stat-card__value {
  color: #f59e0b;
}

/* ========================================
   UPGRADE PROMPT - Mensaje de upgrade
   ======================================== */

.upgrade-prompt {
  background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
  border: 2px solid #fbbf24;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.upgrade-prompt__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.upgrade-prompt__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.5rem;
}

.upgrade-prompt__text {
  font-size: 0.9rem;
  color: #78350f;
  margin-bottom: 1rem;
}

.upgrade-prompt .btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
}

/* ========================================
   LEADS TABLE
   ======================================== */

.leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.leads-table th,
.leads-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.leads-table th {
  background: #f9fafb;
  font-weight: 700;
  color: var(--color-text, #111827);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.leads-table tr:hover {
  background: #f9fafb;
}

.lead-unread {
  font-weight: 600;
}

.lead-unread td:first-child::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* ========================================
   CHART CONTAINER
   ======================================== */

.chart-container {
  background: var(--color-surface, #fff);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--color-border, #e5e7eb);
}

.chart-container__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.chart-container__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text, #111827);
}

.chart-container__canvas {
  width: 100%;
  height: 200px;
}

/* ========================================
   PLAN CARDS - Para página de pricing/upgrade
   ======================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.plan-card {
  background: var(--color-surface, #fff);
  border-radius: 16px;
  border: 2px solid var(--color-border, #e5e7eb);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.plan-card--recommended {
  border-color: #1e40af;
  box-shadow: 0 8px 30px rgba(30, 64, 175, 0.15);
}

.plan-card--recommended::before {
  content: "RECOMENDADO";
  position: absolute;
  top: 12px;
  right: -30px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.35rem 2.5rem;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
}

.plan-card--pro {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.plan-card--pro::before {
  content: "⭐ PREMIUM";
  position: absolute;
  top: 12px;
  right: -25px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.35rem 2.5rem;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
}

.plan-card__header {
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.plan-card__name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text, #111827);
  margin-bottom: 0.5rem;
}

.plan-card__price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary, #b13333);
}

.plan-card__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted, #6b7280);
}

.plan-card__price--free {
  color: #059669;
}

.plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text, #111827);
}

.plan-card__features li::before {
  content: "✓";
  color: #059669;
  font-weight: 800;
  flex-shrink: 0;
}

.plan-card__features li.disabled {
  color: var(--color-text-muted, #6b7280);
  text-decoration: line-through;
}

.plan-card__features li.disabled::before {
  content: "✕";
  color: #dc2626;
}

.plan-card__features li.highlight {
  font-weight: 700;
  color: var(--color-primary, #b13333);
}

.plan-card__cta {
  margin-top: auto;
}

.plan-card__cta .btn {
  width: 100%;
  padding: 0.9rem;
}

/* ========================================
   PROGRESS BAR - Uso de terrenos
   ======================================== */

.usage-progress {
  background: var(--color-surface, #fff);
  border-radius: 12px;
  border: 1px solid var(--color-border, #e5e7eb);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.usage-progress__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.usage-progress__label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text, #111827);
}

.usage-progress__count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted, #6b7280);
}

.usage-progress__count strong {
  color: var(--color-text, #111827);
  font-size: 1rem;
}

.usage-progress__bar {
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.usage-progress__fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.5s ease;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.usage-progress__fill--warning {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.usage-progress__fill--danger {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.usage-progress__upgrade {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-secondary, #1f4f7a);
  font-weight: 600;
  margin-top: 0.25rem;
}

.usage-progress__upgrade a {
  color: inherit;
  text-decoration: underline;
}

/* ========================================
   VENDEDOR/PROFILE CARDS - Mejoradas
   ======================================== */

/* Grid layout for vendedores */
.vendedores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* New vendedor card v2 */
.vendedor-card-v2 {
  background: var(--color-surface, #fff);
  border-radius: 16px;
  border: 1px solid var(--color-border, #e5e7eb);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.vendedor-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--color-secondary, #1f4f7a);
}

.vendedor-card-v2.vendedor-card--pro {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 50%);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.15);
}

.vendedor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-border, #e5e7eb);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.vendedor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vendedor-avatar--pro {
  border-color: #f59e0b;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3);
}

.vendedor-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.vendedor-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.vendedor-card-v2 .vendedor-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text, #111827);
  margin: 0;
}

.vendedor-stats {
  font-size: 0.85rem;
  color: var(--color-text-muted, #6b7280);
}

/* Legacy vendedor card (backwards compat) */
.vendedor-card {
  background: var(--color-surface, #fff);
  border-radius: 16px;
  border: 1px solid var(--color-border, #e5e7eb);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.vendedor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--color-secondary, #1f4f7a);
}

.vendedor-card--pro {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 50%);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.15);
}

.vendedor-thumb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-border, #e5e7eb);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vendedor-card--pro .vendedor-thumb {
  border-color: #f59e0b;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3);
}

.vendedor-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vendedor-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text, #111827);
}

.vendedor-actor {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted, #6b7280);
  background: #f3f4f6;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.vendedor-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted, #6b7280);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.vendedor-stats-detailed {
  display: flex;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--color-border, #e5e7eb);
  border-bottom: 1px solid var(--color-border, #e5e7eb);
  width: 100%;
  justify-content: center;
}

.vendedor-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vendedor-stat__value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text, #111827);
}

.vendedor-stat__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted, #6b7280);
}

.vendedor-actions {
  width: 100%;
  margin-top: 0.5rem;
}

.vendedor-actions .btn {
  width: 100%;
}

/* ========================================
   PROFILE CARD - For profile pages
   ======================================== */

.profile-card {
  background: var(--color-surface, #fff);
  border-radius: 16px;
  border: 1px solid var(--color-border, #e5e7eb);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

@media (min-width: 640px) {
  .profile-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
    padding: 1.75rem;
  }
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-border, #e5e7eb);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-avatar--pro {
  border-color: #fbbf24;
  box-shadow: 0 2px 12px rgba(251, 191, 36, 0.2);
}

.profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 640px) {
  .profile-info {
    align-items: flex-start;
    gap: 0.6rem;
  }
}

.profile-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text, #111827);
  margin: 0;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .profile-name {
    font-size: 1.5rem;
  }
}

.profile-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 640px) {
  .profile-badges {
    justify-content: flex-start;
  }
}

.profile-company {
  font-size: 0.9rem;
  color: var(--color-text-muted, #6b7280);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-stats {
  font-size: 0.85rem;
  color: var(--color-text-muted, #6b7280);
  font-weight: 600;
  margin-top: 0.25rem;
}

.profile-contact {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

@media (min-width: 640px) {
  .profile-contact {
    justify-content: flex-start;
  }
}

.profile-bio {
  font-size: 0.9rem;
  color: var(--color-text, #374151);
  line-height: 1.5;
  margin: 0.5rem 0 0 0;
  max-width: 100%;
  text-align: center;
}

@media (min-width: 640px) {
  .profile-bio {
    text-align: left;
  }
}

/* Generic badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-actor {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #374151;
}

.badge-pro {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}

.badge-basico {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
}

/* ========================================
   PROFILE HERO - Para perfil público
   ======================================== */

.profile-hero {
  background: linear-gradient(135deg, var(--color-secondary, #1f4f7a) 0%, var(--color-primary, #b13333) 100%);
  color: white;
  padding: 3rem 1.5rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.profile-hero__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  z-index: 1;
}

.profile-hero__name {
  font-size: 1.8rem;
  font-weight: 800;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.profile-hero__type {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
  z-index: 1;
}

.profile-hero__bio {
  font-size: 1rem;
  max-width: 500px;
  opacity: 0.9;
  line-height: 1.6;
  z-index: 1;
}

.profile-hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
  z-index: 1;
}

.profile-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-hero__stat-value {
  font-size: 2rem;
  font-weight: 800;
}

.profile-hero__stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* ========================================
   EMPTY STATES - Cuando no hay contenido
   ======================================== */

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border-radius: 16px;
  border: 2px dashed var(--color-border, #e5e7eb);
}

.empty-state__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.empty-state__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text, #111827);
}

.empty-state__text {
  font-size: 0.95rem;
  color: var(--color-text-muted, #6b7280);
  max-width: 400px;
  line-height: 1.6;
}

.empty-state__cta {
  margin-top: 0.5rem;
}

/* ========================================
   SKELETON LOADERS - Para estados de carga
   ======================================== */

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton--text {
  height: 1rem;
  width: 100%;
}

.skeleton--text-short {
  height: 1rem;
  width: 60%;
}

.skeleton--avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.skeleton--card {
  height: 200px;
  width: 100%;
}

.skeleton--button {
  height: 44px;
  width: 120px;
}

/* Grid de skeleton cards */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.skeleton-card {
  background: var(--color-surface, #fff);
  border-radius: 16px;
  border: 1px solid var(--color-border, #e5e7eb);
  overflow: hidden;
}

.skeleton-card__image {
  height: 180px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-card__body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ========================================
   TOAST NOTIFICATIONS - Notificaciones mejoradas
   ======================================== */

.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9999;
  max-width: 380px;
}

.toast {
  background: var(--color-surface, #fff);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-left: 4px solid;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: toast-slide-in 0.3s ease;
}

@keyframes toast-slide-in {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast--success {
  border-left-color: #059669;
}

.toast--error {
  border-left-color: #dc2626;
}

.toast--info {
  border-left-color: #3b82f6;
}

.toast--warning {
  border-left-color: #f59e0b;
}

.toast__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.toast__content {
  flex: 1;
}

.toast__title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text, #111827);
  margin-bottom: 0.2rem;
}

.toast__message {
  font-size: 0.85rem;
  color: var(--color-text-muted, #6b7280);
}

.toast__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--color-text-muted, #6b7280);
  font-size: 1.2rem;
  line-height: 1;
}

/* ========================================
   BUTTONS - Sistema de botones mejorado
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--color-primary, #b13333);
  color: white;
  border-color: var(--color-primary, #b13333);
}

.btn--primary:hover {
  background: var(--color-primary-dark, #8f2626);
  border-color: var(--color-primary-dark, #8f2626);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--color-secondary, #1f4f7a);
  color: white;
  border-color: var(--color-secondary, #1f4f7a);
}

.btn--secondary:hover {
  background: var(--color-secondary-dark, #163d5e);
  border-color: var(--color-secondary-dark, #163d5e);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-text, #111827);
  border-color: var(--color-border, #e5e7eb);
}

.btn--outline:hover {
  background: var(--color-surface-alt, #f9fafb);
  border-color: var(--color-text-muted, #6b7280);
}

.btn--ghost {
  background: transparent;
  color: var(--color-secondary, #1f4f7a);
  border-color: transparent;
}

.btn--ghost:hover {
  background: rgba(31, 79, 122, 0.08);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn--block {
  width: 100%;
}

.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn--active {
  background: var(--color-secondary, #1f4f7a);
  color: white;
  border-color: var(--color-secondary, #1f4f7a);
}

/* ========================================
   VERIFIED BADGE - Para vendedores verificados
   ======================================== */

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.verified-badge::before {
  content: "✓";
  font-size: 0.7rem;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .plan-card {
    padding: 1.5rem 1.25rem;
  }

  .profile-hero {
    padding: 2rem 1rem;
  }

  .profile-hero__avatar {
    width: 100px;
    height: 100px;
  }

  .profile-hero__name {
    font-size: 1.4rem;
  }

  .profile-hero__stats {
    gap: 1.5rem;
  }

  .profile-hero__stat-value {
    font-size: 1.5rem;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .vendedor-stats {
    gap: 1rem;
  }

  .vendedor-stat__value {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .plan-card__price {
    font-size: 2rem;
  }

  .profile-hero__stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  .empty-state {
    padding: 2rem 1rem;
  }

  .empty-state__icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* ========================================
   COMPARE BAR - Barra flotante de comparación
   ======================================== */

.compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: white;
  padding: 1rem 1.25rem;
  z-index: 1000;
  box-shadow: 0 -8px 32px rgba(22, 163, 74, 0.4);
  animation: compare-bar-slide-up 0.3s ease;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes compare-bar-slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.compare-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.compare-bar__items {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.compare-bar__item {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-bar__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-bar__item--empty {
  border: 2px dashed #6b7280;
  color: #9ca3af;
  font-size: 1.5rem;
}

.compare-bar__remove {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ef4444;
  color: white;
  border: none;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.compare-bar__remove:hover {
  transform: scale(1.1);
}

.compare-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.compare-bar__count {
  font-size: 0.85rem;
  font-weight: 600;
  color: #9ca3af;
}

/* Compare button on cards */
.btn-compare {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #e5e7eb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-compare svg {
  flex-shrink: 0;
}

.btn-compare:hover {
  background: #f3f4f6;
  border-color: var(--color-secondary, #1f4f7a);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-compare.active {
  background: var(--color-secondary, #1f4f7a);
  border-color: var(--color-secondary, #1f4f7a);
  color: white;
}

/* ========================================
   COMPARE TABLE - Modal de comparación
   ======================================== */

.modal-content--compare {
  max-width: 1200px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
}

.compare-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

/* Scroll horizontal cuando hay más de 3 terrenos */
.compare-cards-grid:has(.compare-card:nth-child(4)) {
  grid-template-columns: repeat(auto-fit, minmax(280px, max-content));
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.compare-cards-grid:has(.compare-card:nth-child(4)) .compare-card {
  flex: 0 0 280px;
  min-width: 280px;
}

.compare-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.compare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.compare-card-header {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.compare-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-card-number {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.95);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.compare-card-body {
  padding: 1.5rem;
}

.compare-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 1rem;
  line-height: 1.4;
}

.compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.compare-row-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.compare-yes {
  color: #059669 !important;
}

.compare-yes svg {
  stroke: #059669;
}

.compare-no {
  color: #dc2626 !important;
}

.compare-no svg {
  stroke: #dc2626;
}

.compare-card-footer {
  padding: 1rem 1.5rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
  .compare-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-content--compare {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    max-height: 100vh;
  }
}

.compare-table-wrapper {
  overflow-x: auto;
  margin: 0 -1.5rem;
  padding: 0 1.5rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border, #e5e7eb);
  vertical-align: middle;
}

.compare-table th {
  background: var(--color-surface-alt, #f9fafb);
  font-weight: 600;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: var(--color-surface, #fff);
  z-index: 1;
}

.compare-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.compare-thumb {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
}

.compare-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text, #111827);
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-label {
  font-weight: 600;
  color: var(--color-text-muted, #6b7280);
}

.compare-yes {
  color: #059669;
  font-weight: 700;
}

.compare-no {
  color: #dc2626;
}

@media (max-width: 640px) {
  .compare-bar__inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .compare-bar__items {
    justify-content: center;
  }

  .compare-bar__item {
    width: 40px;
    height: 40px;
  }

  .compare-thumb {
    width: 70px;
    height: 50px;
  }

  .compare-title {
    max-width: 100px;
    font-size: 0.8rem;
  }
}

/* ========================================
   PLANS SECTION - Pricing en mi-perfil
   ======================================== */

.plans-section {
  margin-top: 2rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  background: var(--color-surface, #fff);
  border-radius: 16px;
  border: 2px solid var(--color-border, #e5e7eb);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.plan-card--popular {
  border-color: #f59e0b;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.2);
}

.plan-card--premium {
  border-color: #d97706;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.plan-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-card__badge--gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.plan-card__header {
  padding: 1.5rem 1.25rem 1rem;
  text-align: center;
}

.plan-card__header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-card__header--free h3 { color: #6b7280; }
.plan-card__header--basico h3 { color: #1e40af; }
.plan-card__header--pro h3 { color: #92400e; }
.plan-card__header--premium h3 { color: #78350f; }

.plan-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.price-amount {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-text, #111827);
}

.price-period {
  font-size: 0.9rem;
  color: var(--color-text-muted, #6b7280);
}

.plan-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.plan-features li {
  font-size: 0.85rem;
  color: var(--color-text, #111827);
}

.feature-included {
  color: #059669;
}

.feature-excluded {
  color: #9ca3af;
}

.btn-plan-select {
  width: 100%;
  margin-top: auto;
}

.btn--gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: none;
}

.btn--gold:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
}

.plans-contact {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background: #f3f4f6;
  border-radius: 12px;
}

.plans-contact a {
  color: #059669;
  font-weight: 600;
}

/* Stats Section */
.stats-section {
  margin-top: 2rem;
}

/* Leads Section */
.leads-section {
  margin-top: 2rem;
}

.leads-actions {
  margin-bottom: 1rem;
}

/* Plan features mini (en user.js) */
.plan-features-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
}

.plan-features-mini .feature-on {
  color: #059669;
}

.plan-features-mini .feature-off {
  color: #9ca3af;
}

.plan-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 0.85rem;
  color: var(--color-text-muted, #6b7280);
}

/* Notification toast */
.notification {
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.notification--success {
  border-left: 4px solid #059669;
}

.notification--error {
  border-left: 4px solid #dc2626;
}

.notification--info {
  border-left: 4px solid #3b82f6;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #6b7280;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--color-text-muted, #6b7280);
}

.empty-state__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-state__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text, #111827);
  margin-bottom: 0.5rem;
}

.empty-state__text {
  font-size: 0.9rem;
}

/* Lead detail modal */
.lead-detail {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lead-mensaje {
  margin-top: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
}

.lead-mensaje p {
  margin-top: 0.5rem;
  white-space: pre-wrap;
}

/* ========================================
   PAYMENT SECTION - Sección de pago unificada
   ======================================== */

.payment-section {
  margin-top: 2rem;
}

.payment-summary {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #22c55e;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.payment-plan-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-plan-icon {
  font-size: 2.5rem;
}

.payment-plan-info strong {
  font-size: 1.2rem;
  color: #15803d;
  display: block;
}

.payment-price {
  font-size: 0.95rem;
  color: #166534;
  font-weight: 600;
}

.payment-methods h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text, #111827);
}

.payment-method {
  border: 2px solid var(--color-border, #e5e7eb);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
  overflow: hidden;
}

.payment-method:hover {
  border-color: var(--color-secondary, #1f4f7a);
}

.payment-method--active {
  border-color: var(--color-secondary, #1f4f7a);
  box-shadow: 0 4px 12px rgba(31, 79, 122, 0.15);
}

.payment-method-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: var(--color-surface-alt, #f9fafb);
  transition: background 0.2s;
}

.payment-method-header:hover {
  background: #f3f4f6;
}

.method-icon {
  font-size: 1.5rem;
}

.method-name {
  font-weight: 600;
  color: var(--color-text, #111827);
  flex: 1;
}

.method-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.payment-method-body {
  padding: 1.25rem;
  display: none;
}

.payment-method--active .payment-method-body {
  display: block;
}

.bank-details {
  background: #fff;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.bank-details p {
  margin: 0.4rem 0;
  font-size: 0.9rem;
}

.bank-details code {
  background: #f3f4f6;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--color-secondary, #1f4f7a);
}

.btn-copy {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  border-radius: 4px;
  transition: background 0.2s;
  vertical-align: middle;
}

.btn-copy:hover {
  background: #e5e7eb;
}

.comprobante-upload {
  margin-bottom: 1.25rem;
}

.comprobante-upload label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px dashed var(--color-border, #d1d5db);
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  justify-content: center;
  transition: all 0.2s;
  font-weight: 500;
  color: var(--color-text-muted, #6b7280);
}

.comprobante-upload label:hover {
  border-color: var(--color-secondary, #1f4f7a);
  background: #f9fafb;
}

.upload-icon {
  font-size: 1.25rem;
}

.comprobante-upload input[type="file"] {
  display: none;
}

.comprobante-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 8px;
  margin-top: 0.75rem;
}

.comprobante-preview img {
  max-width: 60px;
  max-height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--color-border, #e5e7eb);
}

.comprobante-preview span {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text, #111827);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-remove-file {
  background: #fee2e2;
  border: none;
  color: #dc2626;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-remove-file:hover {
  background: #fecaca;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background: #20bd5a;
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.payment-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.pending-comprobante {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
  border: 2px solid #fbbf24;
  border-radius: 12px;
  margin-top: 1rem;
}

.pending-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pending-comprobante h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.75rem;
}

.pending-comprobante p {
  font-size: 0.95rem;
  color: #78350f;
  line-height: 1.6;
}

.pending-comprobante a {
  color: #059669;
  font-weight: 600;
}

/* Upgrade banner para user.html */
.plan-upgrade-banner {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid #0ea5e9;
  border-radius: 12px;
  padding: 1.25rem;
}

.upgrade-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.upgrade-icon {
  font-size: 2rem;
}

.upgrade-text {
  flex: 1;
  min-width: 200px;
}

.upgrade-text strong {
  display: block;
  font-size: 1rem;
  color: var(--color-text, #111827);
  margin-bottom: 0.25rem;
}

.upgrade-text .muted {
  font-size: 0.85rem;
  color: var(--color-text-muted, #6b7280);
}

@media (max-width: 640px) {
  .upgrade-content {
    flex-direction: column;
    text-align: center;
  }
  
  .upgrade-text {
    min-width: 100%;
  }
  
  .upgrade-content .btn {
    width: 100%;
  }
}

/* Plan card current state */
.plan-card--current {
  border-color: #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.plan-card--current .plan-card__header {
  background: rgba(5, 150, 105, 0.1);
}

.plan-card--current::after {
  content: "✓ Tu plan actual";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #059669;
  color: white;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ========================================
   ESTADO TERRENO - Banner diagonal sobre imagen
   Sistema de estados: reservado, vendido, alquilado, en_negociacion, visitado
   ======================================== */

/* Contenedor padre debe tener position relative */
.card,
.terreno-card,
.detail-gallery {
  position: relative;
  /* overflow: hidden; El contenedor NO debe cortar si queremos que salga */
}

/* Banner diagonal base v2 corrección */
.estado-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
  overflow: hidden;
}

.estado-banner::before {
  content: attr(data-estado-label);
  position: absolute;
  top: 15%; /* Posición más arriba */
  right: -30%; /* Offset para diagonal */
  left: auto;
  transform: rotate(45deg); /* Diagonal esquina derecha */
  transform-origin: center;
  
  /* Texto */
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  
  /* Cinta */
  background: var(--primary-color); 
  color: white;
  padding: 0.4rem 4rem;
  width: auto;
  min-width: 250px;
  text-align: center;
  
  /* Sombra para profundidad */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Estado banner transversal (el estilo anterior que se perdió) */
.estado-banner.transversal::before {
   top: 50%;
   left: 50%;
   right: auto;
   transform: translate(-50%, -50%) rotate(-35deg);
   font-size: 1.5rem;
   width: 200%;
}

/* Overlay opcional */
.estado-banner.transversal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: -1;
}

/* ===== ESTADOS ESPECÍFICOS ===== */

/* RESERVADO - Naranja intenso (urgencia, "apurate") */
.estado-banner--reservado::before {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.5);
}

/* VENDIDO - Rojo profundo (finalidad, ya no está) */
.estado-banner--vendido::before {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: white;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 20px rgba(153, 27, 27, 0.5);
}

/* ALQUILADO - Teal/Cyan (diferente a vendido, más positivo) */
.estado-banner--alquilado::before {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: white;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 20px rgba(15, 118, 110, 0.5);
}

/* ========================================
   NOTIFICATION BADGE - Badge rojo de notificaciones
   ======================================== */

.notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  background: #dc2626;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 9999px;
  margin-left: 0.5rem;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ========================================
   NOTIFICATIONS MODAL - Sistema de notificaciones
   ======================================== */

.modal-content--notifications {
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.notifications-actions {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

.notifications-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.notification-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-color);
  background: white;
  cursor: pointer;
  transition: all 0.2s;
}

.notification-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.1);
}

.notification-item--unread {
  background: #f0fdf4;
  border-left: 3px solid var(--primary-color);
  font-weight: 500;
}

.notification-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-color);
}

.notification-message {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.notification-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.notification-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.notification-actions button {
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: all 0.2s;
}

.notification-actions button:hover {
  background: var(--bg-secondary);
  color: var(--text-color);
}

.btn-mark-read {
  color: var(--success-color) !important;
}

.btn-delete-notification {
  color: var(--danger-color) !important;
}

/* ========================================
   LEAD FORM MODAL - Formulario de consulta
   ======================================== */

.modal-content--lead-form {
  max-width: 500px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lead-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.lead-form input,
.lead-form textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.lead-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.lead-form-success {
  text-align: center;
  padding: 2rem;
}

.lead-form-success .success-icon {
  width: 4rem;
  height: 4rem;
  background: var(--success-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.lead-form-success h3 {
  margin-bottom: 0.75rem;
  color: var(--success-color);
}

.lead-form-success p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ========================================
   LEAD CARDS - Lista de consultas
   ======================================== */

.lead-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: white;
  transition: all 0.2s;
}

.lead-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.lead-card--unread {
  background: #f0fdf4;
  border-left: 4px solid var(--primary-color);
}

.lead-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.lead-card__terreno a {
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
}

.lead-card__terreno a:hover {
  color: var(--primary-color);
}

.lead-card__terreno .muted {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.lead-status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.lead-status--pendiente {
  background: #fef3c7;
  color: #92400e;
}

.lead-status--leido {
  background: #dbeafe;
  color: #1e40af;
}

.lead-status--respondido {
  background: #ddd6fe;
  color: #5b21b6;
}

.lead-status--negociando {
  background: #fce7f3;
  color: #9f1239;
}

.lead-status--cerrado {
  background: #d1fae5;
  color: #065f46;
}

.lead-status--descartado {
  background: #f3f4f6;
  color: #6b7280;
}

.lead-card__body {
  margin-bottom: 1rem;
}

.lead-contact {
  margin-bottom: 0.75rem;
}

.lead-contact strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.lead-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 1rem;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.lead-contact a:hover {
  text-decoration: underline;
}

.lead-message {
  padding: 0.75rem;
  background: var(--bg-secondary);
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  white-space: pre-wrap;
}

.lead-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.lead-card__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.lead-status-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  background: white;
  flex: 1;
}

.lead-status-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Mobile responsive */
@media (max-width: 640px) {
  .lead-card__actions {
    flex-direction: column;
  }
  
  .lead-status-select {
    width: 100%;
  }
}

/* EN NEGOCIACIÓN - Amarillo/Gold (activo, hay interés, ojo!) */
.estado-banner--en_negociacion::before {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: #000;
  font-weight: 900;
  text-shadow: 0 1px 1px rgba(255,255,255,0.3);
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: 0 4px 20px rgba(202, 138, 4, 0.5);
}

/* VISITADO - Púrpura (ya lo vieron, tiene movimiento) */
.estado-banner--visitado::before {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
}

/* ===== TAMAÑOS ADAPTABLES ===== */

/* Para tarjetas pequeñas (listado) */
.card .estado-banner::before {
  font-size: 0.75rem;
  padding: 0.4rem 3rem;
  letter-spacing: 0.1em;
}

/* Para tarjetas medianas (mis-terrenos) */
.terreno-card .estado-banner::before {
  font-size: 0.85rem;
  padding: 0.5rem 3.5rem;
}

/* Para vista detalle (grande) */
.detail-gallery .estado-banner::before {
  font-size: 1.5rem;
  padding: 0.8rem 5rem;
  letter-spacing: 0.2em;
}

/* ===== ANIMACIÓN SUTIL ===== */
.estado-banner--vendido::before,
.estado-banner--reservado::before {
  animation: estado-pulse 3s ease-in-out infinite;
}

@keyframes estado-pulse {
  0%, 100% { 
    box-shadow: 
      0 4px 20px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% { 
    box-shadow: 
      0 6px 30px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

/* ===== ESTADO BADGE PEQUEÑO (alternativa sin banner) ===== */
.estado-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.estado-badge--disponible {
  background: #22c55e;
  color: white;
  border: none;
}
.estado-badge--disponible::before { content: "\2713 "; }

.estado-badge--reservado {
  background: #f59e0b;
  color: white;
  border: none;
  animation: pulse-badge 2s infinite;
}
.estado-badge--reservado::before { content: "\23F3 "; }

.estado-badge--vendido {
  background: #dc2626;
  color: white;
  border: none;
}
.estado-badge--vendido::before { content: "\2716 "; }

.estado-badge--alquilado {
  background: #059669;
  color: white;
  border: none;
}
.estado-badge--alquilado::before { content: "\1F3E0 "; }

.estado-badge--en_negociacion {
  background: #3b82f6;
  color: white;
  border: none;
  animation: pulse-badge 2s infinite;
}
.estado-badge--en_negociacion::before { content: "\1F4AC "; }

.estado-badge--visitado {
  background: #8b5cf6;
  color: white;
  border: none;
}
.estado-badge--visitado::before { content: "\1F440 "; }

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .card .estado-banner::before {
    font-size: 0.65rem;
    padding: 0.35rem 2.5rem;
  }
  
  .detail-gallery .estado-banner::before {
    font-size: 1.1rem;
    padding: 0.6rem 4rem;
  }
}

/* ===== SELECTOR DE ESTADO EN FORMULARIOS ===== */
.estado-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.estado-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border: 2px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
  font-weight: 500;
}

.estado-option:hover {
  border-color: var(--color-primary, #16a34a);
  background: rgba(22, 163, 74, 0.05);
}

.estado-option input[type="radio"] {
  display: none;
}

.estado-option.selected,
.estado-option:has(input:checked) {
  border-color: var(--color-primary, #16a34a);
  background: rgba(22, 163, 74, 0.1);
}

.estado-option--disponible.selected { border-color: #16a34a; background: #dcfce7; }
.estado-option--reservado.selected { border-color: #ea580c; background: #ffedd5; }
.estado-option--vendido.selected { border-color: #dc2626; background: #fee2e2; }
.estado-option--alquilado.selected { border-color: #059669; background: #d1fae5; }
.estado-option--en_negociacion.selected { border-color: #2563eb; background: #dbeafe; }
.estado-option--visitado.selected { border-color: #7c3aed; background: #ede9fe; }

.estado-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.estado-dot--disponible { background: #16a34a; }
.estado-dot--reservado { background: #ea580c; }
.estado-dot--vendido { background: #dc2626; }
.estado-dot--alquilado { background: #059669; }
.estado-dot--en_negociacion { background: #2563eb; }
.estado-dot--visitado { background: #7c3aed; }
/* ========================================
   URGENCIA & ESCASEZ - Psicología de Conversión
   Basado en Cialdini + Kahneman
   ======================================== */

/* === 1. INDICADOR "X PERSONAS VIENDO" === */
.live-viewers-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #dc2626;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.live-text {
  color: inherit;
}

/* === 2. TIME BADGES (Nuevo, Reciente) === */
.time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.time-badge--hot {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 12px 4px rgba(239, 68, 68, 0.3); }
}

.time-badge--recent {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
}

.time-badge--week {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.time-badge--month {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

/* === 3. COUNTDOWN TIMER === */
.countdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 45px;
}

.countdown-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: #78350f;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-text {
  font-size: 0.6rem;
  color: #92400e;
  text-transform: uppercase;
  font-weight: 600;
}

.countdown-separator {
  font-size: 1.25rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.75rem;
}

.countdown-ended {
  font-weight: 700;
  color: #dc2626;
}

/* === 4. SOCIAL PROOF TOAST === */
.social-proof-toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #22c55e;
  max-width: 340px;
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.social-proof-toast.toast-visible {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.toast-message {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.4;
  flex: 1;
}

.toast-time {
  font-size: 0.7rem;
  color: #94a3b8;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .social-proof-toast {
    left: 10px;
    right: 10px;
    max-width: none;
  }
}

/* === 5. LIMITED SPOTS INDICATOR === */
.limited-spots-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.limited-spots--normal {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #93c5fd;
}

.limited-spots--warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.limited-spots--critical {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #b91c1c;
  border: 2px solid #f87171;
  animation: spots-pulse 1.5s ease-in-out infinite;
}

@keyframes spots-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.spots-icon {
  font-size: 1rem;
}

.spots-text strong {
  font-weight: 800;
}

/* === 6. DEMAND BADGE === */
.demand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}

.demand-badge--high {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #fbbf24;
}

/* === 7. LOSS AVERSION MESSAGE === */
.loss-aversion-msg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(90deg, #fef2f2 0%, #fff7ed 100%);
  border-left: 3px solid #f97316;
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: #9a3412;
  margin: 0.5rem 0;
}

/* === 8. URGENCY BADGE (para cards) === */
.urgency-badge {
  position: absolute;
  top: 50px;
  left: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* ========================================
   BETA THIN BANNER - Versión compacta y discreta
   ======================================== */

.beta-thin-banner {
  background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
  border-bottom: 1px solid #f59e0b;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 900; /* 🔧 FIX: Banner below header (1000) so dropdowns work */
  transition: all 0.3s ease;
}

.beta-thin-banner.hidden {
  display: none;
}

/* ========================================
   BETA BANNER PRO - HIGH CONVERSION
   ======================================== */

.beta-banner-pro {
  display: none;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a2f 50%, #0f172a 100%);
  border-bottom: 2px solid var(--tn-green-500);
  padding: 0.6rem 1rem;
  position: relative;
  z-index: 900; /* 🔧 FIX: Banner below header (1000) so dropdowns work */
  animation: betaGlow 3s ease-in-out infinite;
}

@keyframes betaGlow {
  0%, 100% { border-bottom-color: var(--tn-green-500); }
  50% { border-bottom-color: var(--tn-green-400); box-shadow: 0 2px 20px rgba(34, 197, 94, 0.2); }
}

.beta-banner-pro.hiding {
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.3s ease;
}

.beta-banner-pro__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.beta-banner-pro__content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.beta-banner-pro__badge {
  background: linear-gradient(135deg, var(--tn-green-500), var(--tn-green-600));
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.beta-banner-pro__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.beta-banner-pro__text strong {
  color: white;
  font-weight: 600;
}

.beta-banner-pro__counter {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--tn-green-400);
  font-weight: 600;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Countdown styles */
.beta-banner-pro__countdown {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.25));
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.countdown-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
}

.countdown-timer {
  color: #fbbf24;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.beta-counter__fire {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.beta-banner-pro__cta {
  background: linear-gradient(135deg, var(--tn-green-500), var(--tn-green-600));
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.beta-banner-pro__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.beta-banner-pro__close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 4px;
  opacity: 0.6;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.beta-banner-pro__close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .beta-banner-pro {
    padding: 0.35rem 0.5rem;
  }
  
  .beta-banner-pro__inner {
    padding-right: 2rem;
    justify-content: flex-start;
    gap: 0.5rem;
  }
  
  .beta-banner-pro__badge {
    font-size: 0.55rem;
    padding: 0.2rem 0.4rem;
  }
  
  .beta-banner-pro__text {
    font-size: 0.7rem;
  }
  
  .beta-banner-pro__cta {
    display: none;
  }
  
  .beta-banner-pro__counter {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
  }
  
  .beta-banner-pro__countdown {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    gap: 0.25rem;
  }
  
  .countdown-label {
    font-size: 0.6rem;
  }
  
  .countdown-timer {
    font-size: 0.65rem;
  }
  
  .beta-banner-pro__close {
    right: 0.35rem;
    padding: 0.2rem;
  }
  
  .beta-banner-pro__close svg {
    width: 12px;
    height: 12px;
  }
}

/* Ultra-slim para 360px */
@media (max-width: 400px) {
  .beta-banner-pro__inner {
    gap: 0.35rem;
  }
  
  .beta-banner-pro__badge {
    font-size: 0.5rem;
    padding: 0.15rem 0.3rem;
  }
  
  .beta-banner-pro__text {
    font-size: 0.6rem;
  }
  
  .beta-banner-pro__countdown {
    font-size: 0.55rem;
    padding: 0.15rem 0.35rem;
  }
  
  .countdown-label {
    display: none; /* Solo mostrar el timer en pantallas muy pequeñas */
  }
}

.beta-thin-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.beta-thin-badge {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  flex-shrink: 0;
}

.beta-thin-text {
  font-size: 0.85rem;
  color: #78350f;
}

.beta-thin-text strong {
  color: #92400e;
  font-weight: 600;
}

.beta-thin-text a {
  color: #047857;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.beta-thin-text a:hover {
  color: #065f46;
  text-decoration: underline;
}

.beta-thin-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
  opacity: 0.6;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #78350f;
  position: absolute;
  right: 0.75rem;
}

.beta-thin-close:hover {
  opacity: 1;
}

@media (max-width: 640px) {
  .beta-thin-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-right: 2rem;
  }
  
  .beta-thin-text {
    font-size: 0.8rem;
  }
  
  .beta-thin-close {
    top: 50%;
    transform: translateY(-50%);
  }
}

/* === BETA BANNER MEJORADO === */
.beta-countdown-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
}

.beta-countdown-inline .countdown-number {
  font-size: 1rem;
  color: #fef08a;
}
/* ========================================
   iOS SPINNER
   ======================================== */
.ios-spinner {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}
.ios-spinner.sm { font-size: 12px; }
.ios-spinner.md { font-size: 16px; }
.ios-spinner.lg { font-size: 24px; }
.ios-spinner.xl { font-size: 32px; }

.spinner-blade {
  position: absolute;
  left: 44%;
  top: 37%;
  width: 8%; 
  height: 20%; 
  border-radius: 1px;
  background-color: currentColor;
  animation: spinner-blade 1s linear infinite;
  will-change: opacity;
}

@keyframes spinner-blade {
  0% { opacity: 0.85; }
  50% { opacity: 0.25; }
  100% { opacity: 0.25; }
}

.spinner-blade:nth-child(1) { transform: rotate(0deg) translateY(-130%); animation-delay: -1.667s; }
.spinner-blade:nth-child(2) { transform: rotate(30deg) translateY(-130%); animation-delay: -1.583s; }
.spinner-blade:nth-child(3) { transform: rotate(60deg) translateY(-130%); animation-delay: -1.500s; }
.spinner-blade:nth-child(4) { transform: rotate(90deg) translateY(-130%); animation-delay: -1.417s; }
.spinner-blade:nth-child(5) { transform: rotate(120deg) translateY(-130%); animation-delay: -1.333s; }
.spinner-blade:nth-child(6) { transform: rotate(150deg) translateY(-130%); animation-delay: -1.250s; }
.spinner-blade:nth-child(7) { transform: rotate(180deg) translateY(-130%); animation-delay: -1.167s; }
.spinner-blade:nth-child(8) { transform: rotate(210deg) translateY(-130%); animation-delay: -1.083s; }
.spinner-blade:nth-child(9) { transform: rotate(240deg) translateY(-130%); animation-delay: -1.000s; }
.spinner-blade:nth-child(10) { transform: rotate(270deg) translateY(-130%); animation-delay: -0.917s; }
.spinner-blade:nth-child(11) { transform: rotate(300deg) translateY(-130%); animation-delay: -0.833s; }
.spinner-blade:nth-child(12) { transform: rotate(330deg) translateY(-130%); animation-delay: -0.750s; }


/* ========================================
   SHARE MODAL
   ======================================== */
.share-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10000;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.share-modal-overlay.open { display: flex; opacity: 1; }

.share-modal-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    width: 92%;
    max-width: 380px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    position: relative;
}
.share-modal-overlay.open .share-modal-card { transform: scale(1); }

.share-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.share-close:hover { background: #e2e8f0; color: #1e293b; }

.share-modal-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; color: #1e293b; }
.share-modal-desc { color: #64748b; font-size: 0.85rem; margin-bottom: 1.25rem; }

.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
@media(max-width: 480px) { .share-grid { grid-template-columns: repeat(3, 1fr); } }
.share-btn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 0.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    gap: 0.35rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #475569;
    font-weight: 500;
    font-size: 0.75rem;
    text-decoration: none;
}
.share-btn-item span { display: block; }
.share-btn-item:hover { transform: translateY(-3px); box-shadow: 0 8px 12px -3px rgba(0,0,0,0.1); }
.share-btn-item.whatsapp { background: #dcfce7; border-color: #bbf7d0; color: #166534; }
.share-btn-item.whatsapp svg { fill: #22c55e; }
.share-btn-item.facebook { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.share-btn-item.facebook svg { fill: #1877f2; }
.share-btn-item.twitter { background: #f8fafc; border-color: #e2e8f0; color: #0f172a; }
.share-btn-item.twitter svg { fill: #0f172a; }
.share-btn-item.telegram { background: #e0f2fe; border-color: #7dd3fc; color: #0369a1; }
.share-btn-item.telegram svg { fill: #0088cc; }
.share-btn-item.linkedin { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.share-btn-item.linkedin svg { fill: #0a66c2; }
.share-btn-item.email { background: #fef3c7; border-color: #fde68a; color: #92400e; }
.share-btn-item.copy { background: #f1f5f9; border-color: #cbd5e1; color: #334155; }


/* ========================================
   BETA HERO REDESIGN (Golden/Premium Version)
   ======================================== */
.beta-hero-promo {
    background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
    border-bottom: 2px solid #fcd34d;
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    color: #78350f;
}

.beta-hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

@media(max-width: 768px) { 
    .beta-hero-container { 
        flex-direction: column; 
        text-align: center; 
        padding: 1.25rem; 
        gap: 1rem; 
    } 
}

.beta-hero-promo::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 40%; height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.beta-hero-content { position: relative; z-index: 1; flex: 1; }

.beta-hero-badge {
    background: #dc2626;
    color: white;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 0.5rem;
    transform: skew(-10deg);
}

.beta-hero-promo h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    line-height: 1.25;
    color: #92400e;
}

.beta-hero-promo p {
    color: #b45309;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    max-width: 550px;
    margin-bottom: 0;
}

.beta-hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 180px;
    flex-shrink: 0;
    align-items: center;
}

.btn-beta-primary {
    background: #22c55e;
    color: #022c22;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    white-space: nowrap;
}
.btn-beta-primary:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 6px 10px -2px rgba(0, 0, 0, 0.15);
}

/* ========================================
   LOCATION PICKER - Selector de ubicación con mapa
   ======================================== */

.location-picker-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.location-search-wrapper {
  position: relative;
}

.location-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1.5px solid var(--tn-slate-300);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.75rem center;
}

.location-search-input:focus {
  outline: none;
  border-color: var(--tn-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.location-search-input::placeholder {
  color: var(--tn-slate-400);
}

/* Sugerencias de búsqueda */
.location-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--tn-slate-200);
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  margin-top: 4px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
}

.suggestion-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--tn-slate-100);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
  background: var(--tn-emerald-50);
}

.suggestion-icon {
  flex-shrink: 0;
  font-size: 1rem;
}

.suggestion-text {
  font-size: 0.9rem;
  color: var(--tn-slate-700);
  line-height: 1.4;
}

.suggestion-empty {
  padding: 1rem;
  text-align: center;
  color: var(--tn-slate-500);
  font-size: 0.9rem;
}

/* 🔧 UX FIX: Loading indicator for address search */
.location-search-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--tn-slate-500);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--tn-slate-200);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-top: 4px;
  z-index: 1000;
}

.location-search-loading .spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--tn-slate-200);
  border-top-color: var(--tn-green-500, #16a34a);
  border-radius: 50%;
  animation: spinner-rotate 0.6s linear infinite;
}

@keyframes spinner-rotate {
  to { transform: rotate(360deg); }
}

/* Contenedor del mapa - FORZAR visibilidad */
.location-picker-map,
#location-picker-map {
  height: 400px !important;
  min-height: 400px !important;
  width: 100% !important;
  border-radius: 12px;
  border: 2px solid var(--tn-slate-200);
  overflow: hidden;
  transition: border-color 0.2s;
  background: #e5e7eb; /* Gris para debug si no carga el tile layer */
  z-index: 1;
  position: relative;
  display: block !important;
  visibility: visible !important;
}

.location-picker-map:hover,
#location-picker-map:hover {
  border-color: var(--tn-emerald);
}

/* Instrucciones */
.location-picker-instructions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--tn-emerald-50);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--tn-emerald-700);
}

.location-picker-instructions .icon {
  font-size: 1rem;
}

/* Marcador personalizado */
.location-picker-marker {
  background: transparent;
  border: none;
}

.location-picker-marker .marker-pin {
  animation: markerBounce 0.5s ease-out;
}

@keyframes markerBounce {
  0% { transform: translateY(-20px); opacity: 0; }
  50% { transform: translateY(5px); }
  100% { transform: translateY(0); opacity: 1; }
}

/* Coordenadas mostradas */
.location-coords-display {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--tn-slate-50);
  border-radius: 6px;
  font-family: var(--tn-font-mono);
  font-size: 0.8rem;
  color: var(--tn-slate-600);
}

.location-coords-display span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.location-coords-display .label {
  color: var(--tn-slate-400);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 640px) {
  .location-picker-map,
  #location-picker-map {
    height: 300px !important;
    min-height: 300px !important;
  }
  
  .location-picker-instructions {
    font-size: 0.8rem;
  }
}

