/* ============================
   VARIABLES GENERALES
============================ */
:root {
  --azul: #2f80ed;
  --azul-oscuro: #1363d4;
  --gris-fondo: #f5f6f8;
  --gris-card: #939393;
  --rojo: #ef2b2b;
  --texto: #111;
  --texto-suave: #444;
}

/* ============================
   RESETEO GENERAL
============================ */
* { box-sizing: border-box; }

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background: var(--gris-fondo);
  color: var(--texto);
}

.col-left,
.col-left p,
.col-left li,
.col-left ul,

 {
  color: texto-suave;
    font-size: 14px;
 
}

/* ============================
   HEADER
============================ */
.topbar {
  padding: 16px 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1000;
}

.topbar-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;    /* 🔥 Mantiene todo en una sola línea siempre */
}

.logo {
  height: 60px;
}

/* ============================
   MENU UTILIDADES
============================ */
.menu-wrapper {
    
  position: relative;
}

.menu-btn-estilado {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif !important;
  background: var(--rojo);
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}



/* El icono ya NO tiene fondo circular */
.menu-btn-estilado .menu-icon {
  background: none !important;
  padding: 0 !important;
}

/* DROPDOWN */
.menu-dropdown {
  position: absolute;
  top: 55px;
  right: 0;
  width: 160px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.20);
  display: flex;
  flex-direction: column;
}

.menu-dropdown.oculto {
  display: none;
}

.dropdown-link {
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 500;
  color: #222;
  display: block;
}

.dropdown-link:hover {
  background: #f3f3f3;
}

/* COLORES */
.dropdown-link.red { color: #e63946; }
.dropdown-link.orange { color: #ff8800; }
.dropdown-link.blue { color: #2f80ed; }

/* ============================
   FORMULARIO Y LAYOUT
============================ */
.mesa-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  display: flex;
  gap: 40px;
}

.col-left { width: 60%; }
.col-right { width: 40%; }

/* Pills */
.title-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.title-pill.blue { background: var(--azul); }


.card {
  background: #939393; /* gris oscuro clásico */
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  color: #fff;
}

 .form-title {
    font-size: 17px;
    color: #fff;
    border-left: 4px solid var(--azul);
    padding-left: 10px;
    margin-bottom: 18px;
  }

label {
  font-weight: 400;
  font-size: 13px;
  color: #fff !important;
}


input, select, textarea {
  width: 100%;
  margin: 6px 0 16px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #bbb;
  font-size: 14px;
}

/* =============== NUEVO SISTEMA GRID RESPONSIVE =============== */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* 2 columnas en desktop */
  gap: 20px;
}

@media (max-width: 768px) {
  .row {
    grid-template-columns: 1fr;  /* 🔥 1 columna en móvil, sin apretarse */
  }
}

.actions {
  margin-top: 12px;
  text-align: right;
}

/* BOTONES */
.btn-red {
    font-family: "Poppins", sans-serif !important;

  background: var(--rojo);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-outline {
    font-family: "Poppins", sans-serif !important;

  background: transparent;
  border: 2px solid var(--rojo);
  padding: 10px 18px;
  border-radius: 10px;
  color: var(--rojo);
  cursor: pointer;
}

/* PASOS */
.step { display: none; }
.step.active { display: block; }

/* ============================
   RESPONSIVE GENERAL
============================ */
@media (max-width: 768px) {
  .mesa-container { flex-direction: column; }

  .col-left,
  .col-right {
    width: 100%;
  }

  /* 🔥 YA NO SE CAMBIA LA DIRECCIÓN DEL HEADER */
  .topbar-inner {
    flex-direction: row;
    gap: 20px;
  }
}
