/*
  DHARCK STORE - Tema Rojo (con combinaciones azul/rojo/naranja/verde)
  CSS específico para la página de catálogos (index.php) y header global
  Basado en Inovacion/estilos.css, ajustado a un énfasis en rojo.
*/

/* Banner de inicio de sesión/registro */
.login-register-banner {
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--rojo);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 20px 0;
  padding: 20px;
  text-align: center;
}

.banner-content h3 {
  color: var(--rojo);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.banner-content p {
  color: #333;
  margin-bottom: 15px;
}

.banner-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.banner-buttons .btn {
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.banner-buttons .btn-primary {
  background-color: var(--rojo);
  color: white;
}

.banner-buttons .btn-secondary {
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #333;
}

.banner-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Reset y tipografía */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body { 
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Arial', sans-serif; 
  font-weight: 500;
}

/* Paleta y combinaciones del tema (rojo como acento principal) */
:root {
  /* Colores base (idénticos al ejemplo original) */
  --azul: #2563eb;
  --verde: #16a34a;
  --rojo: #dc2626;
  --naranja: #ea580c;
  --morado: #9333ea;
  --cyan: #06b6d4;

  /* Tonos extra para variaciones rojas */
  --red-secondary: #ef4444;
  --red-dark: #7f1d1d;

  /* Fondo general */
  --bg-gradient-start: #0b0b0d;
  --bg-gradient-end: #1e1b1b;

  /* Header y footer */
  --header-color: #1e293b;
  --footer-color: #1e293b;

  /* Combinaciones temáticas (manteniendo el énfasis rojo) */
  --btn-color: var(--azul);
  --btn-hover: var(--rojo);
  --card-border: var(--verde);
  --card-hover: var(--naranja);
  --title-color: var(--rojo);
  --text-color: #1e293b;
  --bg-color: rgba(255, 255, 255, 0.9);
  --card-bg: rgba(255, 255, 255, 0.95);
}

/* Fondo: sin imágenes externas para evitar 404 */
body {
  background: url('/fondo1.jpg') center/cover no-repeat fixed;
  min-height: 100vh;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 20px; }

/* Header */
header {
  background: linear-gradient(135deg, var(--header-color), #000);
  color: #fff;
  padding: 6px 0; /* Más delgado */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
/* Contenido del header alineado en una sola línea en escritorio */
header .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: bold; }
.logo img { height: 38px; width: auto; display: block; }
/* Logo tamaño controlado para barra más delgada */
.logo img { height: 40px; }
.nav ul { list-style: none; display: flex; gap: 12px; align-items: center; }
.nav a { color: #fff; text-decoration: none; padding: 4px 10px; border-radius: 5px; transition: all .3s; border-bottom: 2px solid transparent; font-size: 0.95rem; }
.nav a:hover { background-color: rgba(255, 255, 255, 0.1); border-bottom: 2px solid var(--naranja); }

/* Botón de menú (móvil) */
.menu-toggle { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.menu-toggle.open { border-color: var(--rojo); }

/* Comportamiento móvil: nav colapsable */
@media (max-width: 768px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 48px; right: 20px; background: #0f172a; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.3); z-index: 9999; }
  .nav ul { flex-direction: column; gap: 8px; padding: 10px; }
  .nav.open { display: block; }
  header .container { position: relative; }
}

/* Botón Cambiar país con estilo igual al resto de enlaces */
.nav .country-switch {
  background: transparent;
  color: #fff;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 5px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all .3s;
  font-size: 0.95rem;
}
.nav .country-switch:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid var(--naranja);
}

/* Main */
.main { padding: 40px 0; }
.store-title {
  font-size: 36px;
  background: linear-gradient(to right, var(--azul), var(--rojo));
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-align: center; margin-bottom: 10px; text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}
.store-logo { 
  display: block; 
  margin: 0 auto 20px auto; 
  height: 140px; 
  width: auto; 
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.store-subtitle { 
  font-size: 22px; 
  color: white;
  font-weight: 700;
  text-align: center; 
  margin: 0 auto 40px auto;
  position: relative;
  padding: 16px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, 
    var(--azul) 0%, 
    var(--rojo) 25%, 
    var(--naranja) 50%, 
    var(--verde) 75%,
    var(--azul) 100%
  );
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: block;
  width: fit-content;
  max-width: 90%;
}

/* Eliminar la barra ::after ya que ahora está detrás del texto */
.store-subtitle::after {
  display: none;
}

/* Catálogos */
.catalogos { margin-top: 30px; }
.catalogos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }

/* Catálogos con colores variados */
.catalogo-card {
  border-radius: 12px; 
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform .3s, box-shadow .3s;
  padding: 24px; 
  text-align: center;
  /* Quitamos los bordes superior e inferior para usar estilo 3D con sombra */
}

/* Colores alternados para los catálogos - menos transparentes */
.catalogo-card:nth-child(4n+1) {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(37, 99, 235, 0.15));
}

.catalogo-card:nth-child(4n+2) {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(220, 38, 38, 0.15));
}

.catalogo-card:nth-child(4n+3) {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.25), rgba(234, 88, 12, 0.15));
}

.catalogo-card:nth-child(4n+4) {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.25), rgba(22, 163, 74, 0.15));
}

.catalogo-card:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 20px 40px rgba(0,0,0,0.35); 
}

.catalogo-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; border: 3px solid transparent; }

/* Bordes de imágenes con colores correspondientes */
.catalogo-card:nth-child(4n+1) img { border-color: var(--azul); }
.catalogo-card:nth-child(4n+2) img { border-color: var(--rojo); }
.catalogo-card:nth-child(4n+3) img { border-color: var(--naranja); }
.catalogo-card:nth-child(4n+4) img { border-color: var(--verde); }

.catalogo-card h3 { 
  font-size: 32px; 
  font-weight: 800;
  margin-bottom: 12px; 
  /* Naranja claro brillante */
  background: linear-gradient(90deg, #ffd48a, #ff9733);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.2px rgba(255,255,255,0.35);
  text-shadow: 0 -1px 3px rgba(255,255,255,0.45), 0 3px 8px rgba(0,0,0,0.35), 0 8px 16px rgba(0,0,0,0.25);
}
/* Todos los títulos usan el mismo naranja claro */
.catalogo-card:nth-child(2n) h3 {
  background: linear-gradient(90deg, #ffd48a, #ff9733);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.2px rgba(255,255,255,0.35);
  text-shadow: 0 -1px 3px rgba(255,255,255,0.45), 0 3px 8px rgba(0,0,0,0.35), 0 8px 16px rgba(0,0,0,0.25);
}

.catalogo-card p { 
  font-size: 15px; 
  font-weight: 600;
  margin-bottom: 18px; 
  line-height: 1.6;
  /* Borde mínimo para visibilidad sobre fondos complejos */
  color: #ffffff;
  -webkit-text-stroke: 0.5px rgba(0,0,0,0.55);
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.btn { display: inline-block; background: linear-gradient(to right, var(--btn-color), var(--morado)); color: #fff; padding: 8px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: all .3s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); background: linear-gradient(to right, var(--btn-hover), var(--naranja)); }
.btn:before { content: ''; position: absolute; top:0; left:-100%; width:100%; height:100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); transition:.5s; }
.btn:hover:before { left:100%; }

/* Mensaje cuando no hay catálogos */
.no-catalogos { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; padding: 20px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.no-catalogos h3 { color: var(--title-color); margin-bottom: 8px; }
.no-catalogos p { color: var(--text-color); }

/* Alerta de errores (bloque de cabecera en index) */
.error-alert { background: #f8d7da; color: #721c24; padding: 15px; margin: 10px; border: 1px solid #f5c6cb; border-radius: 5px; }
.error-alert h3 { margin-bottom: 10px; }
.error-alert ul { margin: 10px 0; padding-left: 20px; }
.error-alert a { background: linear-gradient(to right, var(--rojo), var(--red-secondary)); color: #fff; padding: 8px 15px; text-decoration: none; border-radius: 3px; display: inline-block; margin-top: 10px; transition: all .3s; }
.error-alert a:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(220,38,38,0.3); }

/* Footer */
footer { background: linear-gradient(135deg, var(--footer-color), #000); color: #fff; padding: 20px 0; text-align: center; margin-top: 40px; }
.footer-content { display: flex; flex-direction: column; align-items: center; }
.footer-links { margin: 15px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.footer-links a { color: #fff; text-decoration: none; padding: 5px 10px; border-radius: 4px; transition: all .3s; }
.footer-links a:hover { background-color: rgba(255,255,255,0.1); color: var(--red-secondary); }
.copyright { font-size: 14px; margin-top: 10px; color: rgba(255,255,255,0.8); }

/* Responsivo */
@media (max-width: 768px) {
  .store-title { font-size: 28px; }
  .store-subtitle { font-size: 16px; margin-bottom: 30px; }
  .catalogos-grid { grid-template-columns: 1fr; }
  .header-container { flex-direction: column; gap: 15px; }
  .nav-menu { width: 100%; justify-content: center; flex-wrap: wrap; }
  .catalogo-card { padding: 15px; }
  .catalogo-card img { height: 160px; }
  .btn { width: 100%; padding: 10px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .catalogos-grid { grid-template-columns: repeat(2, 1fr); }
  .store-title { font-size: 32px; }
}

/* ====== Estilos Auth (Gamer) ====== */
.auth-container { display: flex; justify-content: center; align-items: flex-start; padding: 20px 0; }
.auth-card { width: 100%; max-width: 680px; background: rgba(15, 23, 42, 0.9); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.5); padding: 24px; color: #fff; backdrop-filter: blur(6px); }
.auth-header { text-align: center; margin-bottom: 20px; }
.auth-logo { height: 72px; width: auto; display: block; margin: 0 auto 10px; }
.auth-header h1 { font-size: 28px; background: linear-gradient(90deg, var(--azul), var(--rojo)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 6px; }
.auth-header p { color: rgba(255,255,255,0.8); }
.auth-form { display: grid; gap: 16px; }
.form-group { display: grid; gap: 8px; }
.form-group label { color: rgba(255,255,255,0.85); font-weight: 600; }
.input, .select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: rgba(255,255,255,0.6); }
.input:focus, .select:focus { border-color: var(--azul); box-shadow: 0 0 0 3px rgba(37,99,235,0.25); }
.phone-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.phone-code-output { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; padding: 10px 12px; min-width: 70px; text-align: center; }
.phone-input { width: 100%; }
.alert.error { background: rgba(220,38,38,0.15); border: 1px solid rgba(220,38,38,0.4); color: #fecaca; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.auth-switch { text-align: center; color: rgba(255,255,255,0.85); }
.auth-switch a { color: var(--red-secondary); text-decoration: underline; }

/* Panel usuario */
.panel-section { margin-top: 24px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 12px; color: #fff; }
.card h3 { margin-bottom: 6px; font-size: 18px; }
.card p { color: rgba(255,255,255,0.85); margin-bottom: 6px; }
.panel-actions { display: flex; justify-content: flex-end; margin-top: 16px; }

/* Tabs del panel */
.panel-tabs { display: flex; gap: 8px; margin: 8px 0 16px; }
.panel-tabs .tab { 
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}
.panel-tabs .tab.active { border-color: var(--azul); box-shadow: 0 0 0 3px rgba(37,99,235,0.2); }

/* Badges de estado */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; font-weight: 700; }
.badge.pending { background: rgba(234, 179, 8, 0.15); color: #fde68a; border: 1px solid rgba(234, 179, 8, 0.35); }
.badge.success { background: rgba(22, 163, 74, 0.15); color: #86efac; border: 1px solid rgba(22, 163, 74, 0.35); }
.badge.danger { background: rgba(220, 38, 38, 0.15); color: #fecaca; border: 1px solid rgba(220, 38, 38, 0.35); }
.badge.neutral { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.2); }

/* Vista tipo Excel para pedidos */
.orders-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.orders-table {
    width: 100%;
    min-width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.orders-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0;
}

.orders-header > div {
    padding: 12px 8px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.orders-header > div:last-child {
    border-right: none;
}

.orders-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.orders-row:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.orders-row:last-child {
    border-bottom: none;
}

.orders-row > div {
    padding: 12px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid #e9ecef;
    font-size: 0.85rem;
}

.orders-row > div:last-child {
    border-right: none;
}

.col-articulo {
    justify-content: flex-start !important;
    text-align: left !important;
}

.articulo-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.articulo-nombre {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    line-height: 1.2;
}

.pedido-numero {
    font-size: 0.75rem;
    color: #6c757d;
    font-family: monospace;
}

.monto-valor {
    font-weight: 700;
    color: #28a745;
    font-size: 0.9rem;
}

.fecha-valor {
    color: #495057;
    font-size: 0.85rem;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .orders-header {
        grid-template-columns: 2.5fr 1fr 1fr 1.3fr;
        font-size: 0.8rem;
    }
    
    .orders-row {
        grid-template-columns: 2.5fr 1fr 1fr 1.3fr;
    }
    
    .orders-header > div,
    .orders-row > div {
        padding: 10px 6px;
        font-size: 0.8rem;
    }
    
    .articulo-nombre {
        font-size: 0.85rem;
    }
    
    .pedido-numero {
        font-size: 0.7rem;
    }
    
    .monto-valor {
        font-size: 0.85rem;
    }
    
    .fecha-valor {
        font-size: 0.8rem;
    }
    
    .badge {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .orders-header {
        grid-template-columns: 2fr 0.8fr 0.8fr 1.2fr;
        font-size: 0.75rem;
    }
    
    .orders-row {
        grid-template-columns: 2fr 0.8fr 0.8fr 1.2fr;
    }
    
    .orders-header > div,
    .orders-row > div {
        padding: 8px 4px;
        font-size: 0.75rem;
    }
    
    .articulo-nombre {
        font-size: 0.8rem;
    }
    
    .pedido-numero {
        font-size: 0.65rem;
    }
    
    .monto-valor {
        font-size: 0.8rem;
    }
    
    .fecha-valor {
        font-size: 0.75rem;
    }
    
    .badge {
        padding: 2px 4px;
        font-size: 0.65rem;
    }
}

/* ====== Estilos Estado Pedido ====== */
.estado-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.estado-card {
  width: 100%;
  max-width: 600px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  padding: 32px;
  color: #fff;
  backdrop-filter: blur(10px);
}

.estado-header {
  text-align: center;
  margin-bottom: 32px;
}

.estado-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.estado-titulo {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--azul), var(--rojo));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.numero-pedido {
  background: var(--rojo);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.estado-mensaje {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--azul);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
  font-weight: 500;
}

/* Colores específicos por estado */
.estado-mensaje[data-estado="pendiente"] {
  border-left-color: #ff9800;
  background: rgba(255, 152, 0, 0.1);
}

.estado-mensaje[data-estado="pendiente_verificacion"] {
  border-left-color: #9c27b0;
  background: rgba(156, 39, 176, 0.1);
}

.estado-mensaje[data-estado="codigo_recibido"],
.estado-mensaje[data-estado="completado"] {
  border-left-color: var(--verde);
  background: rgba(22, 163, 74, 0.1);
}

.estado-mensaje[data-estado="procesando"] {
  border-left-color: var(--azul);
  background: rgba(37, 99, 235, 0.1);
}

.estado-mensaje[data-estado="cancelado"],
.estado-mensaje[data-estado="rechazado"] {
  border-left-color: var(--rojo);
  background: rgba(220, 38, 38, 0.1);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.info-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
}

.info-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.info-valor {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

.articulos-section {
  margin: 24px 0;
}

.articulos-titulo {
  color: var(--naranja);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.articulo-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
}

.articulo-nombre {
  font-weight: 500;
  color: #fff;
}

.articulo-precio {
  font-weight: 700;
  color: var(--verde);
}

.precio-total {
  background: linear-gradient(90deg, var(--rojo), var(--naranja));
  color: white;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  margin: 24px 0;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.info-adicional {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.acciones {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(90deg, var(--azul), var(--rojo));
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--rojo), var(--naranja));
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Responsive para estado pedido */
@media (max-width: 768px) {
  .estado-container {
    padding: 10px;
  }
  
  .estado-card {
    padding: 20px;
  }
  
  .estado-titulo {
    font-size: 24px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .acciones {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

/* Legibilidad en login y registro (panel usuario): inputs/selects */
.auth-card .input,
.auth-card .select {
  background: #ffffff !important;
  color: #1f2937 !important; /* texto oscuro */
  border: 1px solid #d1d5db !important; /* borde gris claro */
}

.auth-card .input::placeholder {
  color: #6b7280 !important; /* placeholder gris medio */
}

/* Forzar visibilidad en el desplegable nativo del select */
.auth-card select option {
  color: #1f2937; /* texto oscuro */
  background: #ffffff; /* fondo blanco */
}

/* Código del teléfono junto al select de país */
.auth-card .phone-code-output {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d1d5db;
}