/* ✅ Estilo general */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f6fa;
  margin: 0;
  padding: 0;
}

/* ✅ Franja superior degradada */
header {
  background: linear-gradient(to right, #2ecc71, #3498db);
  color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-text {
  font-size: 20px;
  font-weight: bold;
}

.logo-img {
  width: 60px;
  height: auto;
  border-radius: 10%;
}

/* ✅ Contenedor principal */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row; /* 🔧 Asegura disposición horizontal */
  margin: 40px auto;
  max-width: 1000px;
  gap: 30px;
  padding: 20px;
}


/* ✅ Tarjeta blanca para imagen */
.image-section {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
  max-width: 400px;
  min-height: 450px;
  box-sizing: border-box;
}

/* ✅ Imagen de empleada */
.image-section img {
  width: 100%;
  max-width: 230px;
  height: auto;
  border-radius: 10px;
  box-shadow: none;
}

/* ✅ Tarjeta con formulario */
.form-section {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ✅ Encabezado del formulario */
.form-section h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 20px;
}

/* Separación vertical entre todos los campos del formulario -------------------*/
.form-section form input,
.form-section form select,
.form-section form button {
  display: block;
  width: 100%;
  margin-top: 10px;     /* espacio arriba de cada campo */
  margin-bottom: 12px;  /* espacio abajo de cada campo */
}

/* Opcional: más cómodo visualmente */
.form-section form input,
.form-section form select {
  padding: 10px 12px;
}

/* Poner en rojo las dos opciones del select */
#rol option[value="1"],
#rol option[value="2"] {
  color: #b91c1c;       /* rojo */
  font-weight: 600;
}

/* más aire vertical en el desplegable */
#rol option { padding: 6px 8px; }

/* separador gris tenue */
#rol option:disabled { color: #9ca3af; }


/* Separación vertical entre todos los campos del formulario -------------------*/



/* ✅ Inputs y Select */
.form-section input[type="text"],
.form-section input[type="email"],
.form-section input[type="password"],
.form-section select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.form-section input:focus,
.form-section select:focus {
  border-color: #3498db;
  outline: none;
}

/* ✅ Botón */
.form-section button {
  width: 100%;
  padding: 12px;
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-section button:hover {
  background-color: #219150;
}

/* ✅ Enlace para volver a login */
.login-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.login-link a {
  color: #2980b9;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}
