.form-wrapper {
  max-width: 1500px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
}

/* CONTENEDOR EXTERNO */
.outer-box {
  padding: 20px;
  max-width: 1600px;
  margin: 20px auto;
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* SECCIONES INTERNAS */
.box-section {
  border: 2px solid #152542;
  border-radius: 20px;
  margin-bottom: 25px;
  background-color: #fff;
  box-shadow: 0 6px 15px rgba(21, 37, 66, 0.25);
  padding: 20px;
}

/* ENCABEZADO */
.box-header {
    background-color: #e8edf3;
    color: #152542;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin: 0px 0px 20px 0px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    
}

/* ICONO */
.icon-box {
    background-color: #007bff;
    color: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box i {
    font-size: 18px;
}

/* CUERPO */
.box-body {
    padding: 0px;
}

/* CAMPOS */
.form-group {
    margin: 0px 0px 20px 0px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #152542;
}

.form-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* TITULOS INSPECCIÓN */
.inspection-title {
  font-size: 26px;
  font-weight: bold;
  color: #000;
  margin-bottom: 5px;
}

.inspection-subtitle {
  font-size: 13px;
  color: #6c757d;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* PROGRESO */
.progress-wrapper {
  margin-top: 10px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #152542;
  margin-bottom: 6px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background-color: #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: #007bff;
  transition: width 0.4s ease;
}

/* GRID DE FASES */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
}

.phase-item {
  text-align: center;
  padding: 15px 10px;
  border-radius: 15px;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
}

.phase-item i {
  font-size: 26px;
  color: #007bff;
  margin-bottom: 6px;
  display: block;
}

.phase-item span {
  font-size: 13px;
  color: #152542;
  font-weight: 500;
}

.phase-item:hover {
  background-color: #e8edf3;
  transform: translateY(-3px);
}

.phase-item.active {
  background-color: #007bff;
}

.phase-item.active i,
.phase-item.active span {
  color: #fff;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.form-actions .btn {
  padding: 10px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
}


.fase-content {
  display: none;
}

.fase-content.active {
  display: block;
}

.fase-content {
  display: none;
}

.fase-content.active {
  display: block;
}

.d-none {
  display: none !important;
}

.phase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  color: #6c757d;              /* gris por defecto */
  transition: all 0.3s ease;
}

.phase-item i {
  font-size: 22px;
  margin-bottom: 6px;
}

.phase-item span {
  font-size: 13px;
  text-align: center;
}

/* ACTIVA */
.phase-item.active {
  background-color: #007bff;
  color: #152542;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(21, 37, 66, 0.25);
}

/* ICONO ACTIVO */
.phase-item.active i {
  color: #e8edf3;
}

