body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background: url('../img/fondologin.png') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Arial', sans-serif;
}

.form-container,
.content-box,
.form-section {
  background: rgba(0, 0, 0, 0.75);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 2rem;
  width: 100%;
  max-width: 800px; /* Cambia aquí el ancho deseado */
  color: #ddd;
  box-sizing: border-box;
}

h3, .form-section h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 22px;
  text-align: center;
}

label {
  display: block;
  color: #f4c542; /* amarillo cálido */
  margin-bottom: 4px;
  margin-top: 15px;
  font-weight: 600;
}

input[type="text"],
input[type="date"],
input[type="email"],
input[type="number"],
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: none;
  background-color: rgba(255, 255, 255, 0.15);
  color: #f0f0f0;
  font-size: 16px;
  box-sizing: border-box;
}

input[type="text"]::placeholder,
input[type="date"]::placeholder,
input[type="email"]::placeholder,
input[type="number"]::placeholder {
  color: #ccc;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.25);
}

select option {
  background-color: #333;
  color: #f0f0f0;
}

button,
.btn {
  background-color: #009688;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  margin: 8px 4px;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  min-width: 120px;
  transition: background-color 0.3s;
  line-height: normal;
  white-space: nowrap; /* Evita saltos de línea inesperados */
}

button:hover,
.btn:hover {
  background-color: #00796b;
}

.btn-agregar {
  color: #00b894;
  cursor: pointer;
  font-weight: bold;
  text-decoration: underline;
}

.form-section input[type="checkbox"] {
  margin-right: 10px;
  vertical-align: middle;
}

.form-section .btn {
  font-size: 14px;
  padding: 8px 16px;
  margin: 5px 5px 0 0;
  background-color: #009688;
  color: #fff;
  border: none;
  border-radius: 4px;
  text-align: center;
  display: inline-block;
}

.form-section .btn:hover {
  background-color: #00796b;
}

.container-box {
  width: 100%;
  max-width: 600px; /* Coincide con el nuevo ancho */
}

.full-background {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

input[type="text"],
input[type="email"],
input[type="number"] {
  color: #f0f0f0;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="number"]::placeholder {
  color: #ccc;
}

button,
.btn {
  line-height: normal;
  vertical-align: middle;
  white-space: nowrap;
}

/* Ajuste para referencias laborales y pasos dinámicos */
.referencia-laboral {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
}