/* ============================================================
   STEP1.CSS — BLINDADO: NO MODIFICAR SIN AUTORIZACIÓN EXPRESA
   SmartModule ================================================ */

/* STEP TITLE */
.step-title {
  margin-bottom: 10px;
}

.step-title h2 {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
}

.step-subtitle {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

/* FORM GRID */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid #eef2f6;
}

.input-field {
  display: flex;
  flex-direction: column;
}

.full {
  grid-column: span 2;
}

label {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

input,
select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

input:focus,
select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

/* NOMBRE DEL MÓDULO */
.name-row-inputs {
  display: flex;
  gap: 8px;
}

.name-row-inputs input {
  flex: 1;
}

.btn-library {
  padding: 8px 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  transition: all 0.15s ease;
}

.btn-library:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #2563eb;
}

/* CHECKBOX */
.checkbox-row {
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  cursor: pointer;
}

/* AJUSTES AVANZADOS */
.advanced-section {
  margin-top: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.advanced-header {
  padding: 10px 16px;
  background: #0f2137;
  font-size: 11px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  user-select: none;
  border: none;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.advanced-header:hover {
  background: #1e3a5f;
}

.advanced-body {
  padding: 10px 14px;
  border-top: 1px solid #cbd5e1;
}

.advanced-subtitle {
  font-size: 11px;
  font-weight: 800;
  color: #1e293b;
  margin-top: 10px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 4px;
}