/*
Theme Name: GeneratePress Child - MAPS Disruptivo
Theme URI: https://generatepress.com
Description: Tema hijo optimizado para el ecosistema B2B de MAPS.
Author: J. Daniel Vazquez para MAPS Disruptivo
Template: generatepress
Version: 1.0.0
*/

/* ========================================================
   MAPS DISRUPTIVO: SISTEMA GLOBAL DE FORMULARIOS TECH
   ======================================================== */

:root {
  --maps-bg: #0B132B;         /* Azul profundo (Fondo general) */
  --maps-card: #141E38;       /* Azul panel (Tarjetas) */
  --maps-border: #1F2D50;     /* Borde sutil */
  --maps-neon: #FF5A00;       /* Naranja corporativo */
  --maps-text: #E2E8F0;       /* Texto claro */
  --maps-muted: #94A3B8;      /* Texto secundario */
  --maps-input: #0F172A;      /* Fondo de los inputs */
}

/* Envoltura principal con fuerza máxima */
body .maps-tech-wrapper {
  background-color: var(--maps-bg);
  padding: 40px 20px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  color: var(--maps-text);
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

body .maps-tech-wrapper * {
  box-sizing: border-box;
}

body .maps-tech-wrapper .tech-card {
  background-color: var(--maps-card);
  border: 1px solid var(--maps-border);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

body .maps-tech-wrapper .tech-card:hover {
  border-color: rgba(255, 90, 0, 0.3);
  box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

body .maps-tech-wrapper .accent-bar {
  height: 3px;
  width: 50px;
  background: var(--maps-neon);
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 0 10px var(--maps-neon);
}

body .maps-tech-wrapper h2 {
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px 0;
}

body .maps-tech-wrapper .sub-section-title {
  color: var(--maps-neon);
  font-size: 16px;
  margin: 0 0 20px 0;
  border-bottom: 1px solid var(--maps-border);
  padding-bottom: 8px;
  font-weight: 600;
}

/* Grid y Labels */
body .maps-tech-wrapper .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
body .maps-tech-wrapper .span-2 { grid-column: span 2; }

body .maps-tech-wrapper label.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--maps-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Inputs Premium (Pastillas) */
body .maps-tech-wrapper input[type="text"],
body .maps-tech-wrapper input[type="number"],
body .maps-tech-wrapper input[type="tel"],
body .maps-tech-wrapper input[type="email"],
body .maps-tech-wrapper select {
  width: 100%;
  background-color: var(--maps-input) !important;
  border: 1px solid var(--maps-border) !important;
  color: #FFFFFF !important;
  padding: 14px 20px !important;
  border-radius: 50px !important;
  font-size: 15px !important;
  transition: all 0.3s ease;
  appearance: none;
}

body .maps-tech-wrapper textarea {
  width: 100%;
  background-color: var(--maps-input) !important;
  border: 1px solid var(--maps-border) !important;
  color: #FFFFFF !important;
  padding: 14px 20px !important;
  border-radius: 16px !important;
  font-size: 15px !important;
  resize: vertical;
}

body .maps-tech-wrapper input:focus,
body .maps-tech-wrapper select:focus,
body .maps-tech-wrapper textarea:focus {
  border-color: var(--maps-neon) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.15) !important;
}

/* Radio Pills */
body .maps-tech-wrapper .radio-pill-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
body .maps-tech-wrapper .radio-pill {
  flex: 1;
  min-width: 150px;
  position: relative;
  cursor: pointer;
}
body .maps-tech-wrapper .radio-pill input {
  position: absolute;
  opacity: 0;
}
body .maps-tech-wrapper .radio-pill span {
  display: block;
  text-align: center;
  padding: 14px 20px;
  background-color: var(--maps-input);
  border: 1px solid var(--maps-border);
  border-radius: 50px;
  color: var(--maps-muted);
  font-weight: 600;
  transition: all 0.3s ease;
}
body .maps-tech-wrapper .radio-pill input:checked + span {
  background-color: rgba(255, 90, 0, 0.1);
  border-color: var(--maps-neon);
  color: var(--maps-neon);
  box-shadow: 0 0 15px rgba(255, 90, 0, 0.1);
}

/* --- ESTILOS DE LA NUEVA LISTA CONFIGURABLE (DATA GRID) --- */
body .maps-tech-wrapper .tech-list-builder {
  background-color: rgba(15, 23, 42, 0.5);
  border: 1px dashed var(--maps-border);
  border-radius: 16px;
  padding: 20px;
}
body .maps-tech-wrapper .tech-list-inputs {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 10px;
  margin-bottom: 20px;
}
body .maps-tech-wrapper .tech-list-inputs input {
  padding: 10px 15px !important;
  border-radius: 8px !important; /* Cuadrado sutil para la tabla */
  font-size: 13px !important;
}
body .maps-tech-wrapper .btn-mini-neon {
  background-color: var(--maps-neon);
  color: #FFF;
  border: none;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
body .maps-tech-wrapper .btn-mini-neon:hover {
  box-shadow: 0 0 15px rgba(255, 90, 0, 0.4);
}
body .maps-tech-wrapper .list-row {
  background-color: var(--maps-card);
  border-left: 3px solid var(--maps-neon);
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}
body .maps-tech-wrapper .list-row strong {
  color: var(--maps-muted);
}
body .maps-tech-wrapper .dl-remove-btn {
  background: transparent;
  color: #EF4444;
  border: none;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

/* Zonas de carga y Botón Submit */
body .maps-tech-wrapper .file-drop-zone {
  display: flex; flex-direction: column; align-items: center;
  padding: 25px 15px; background-color: var(--maps-input);
  border: 2px dashed var(--maps-border); border-radius: 16px;
  cursor: pointer; transition: all 0.3s ease;
}
body .maps-tech-wrapper .file-drop-zone.file-loaded {
  border-color: #10B981; border-style: solid;
  background-color: rgba(16, 185, 129, 0.05);
}
body .maps-tech-wrapper .btn-tech-submit {
  background-color: var(--maps-neon); color: #FFF;
  border: none; padding: 18px 50px; border-radius: 50px;
  font-size: 18px; font-weight: 800; text-transform: uppercase;
  cursor: pointer; width: 100%; max-width: 400px;
  box-shadow: 0 4px 15px rgba(255, 90, 0, 0.3);
}

@media(max-width: 768px) {
  body .maps-tech-wrapper .form-grid { grid-template-columns: 1fr; }
  body .maps-tech-wrapper .span-2 { grid-column: span 1; }
  body .maps-tech-wrapper .tech-list-inputs { 
    grid-template-columns: 1fr; 
  }
}