/* Reset general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
  background: url('/imagenes/fondo2.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenedor principal del login */
.container {
  width: 100%;
  max-width: 400px;
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Header con imagen de fondo */
.header {
  position: relative;
  height: 200px;
  background: url('/imagenes/fondo-hospitalario.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  color: white;
  text-align: center;
  overflow: visible; /* Importante */
}


/* Logo encima de la imagen */
.logoh img {
  width: 190px;
  height: 60px;
  margin-bottom: 10px;
}

/* Texto encima de la imagen */
.welcome {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9); /* Blanco semi-transparente */
  padding: 15px 20px;
  box-sizing: border-box;
  border-radius: 0 0 12px 12px; /* solo bordes inferiores redondeados */
  text-align: center;
  z-index: 2;
}

.welcome h2 {
  font-size: 20px;
  color: #1a2e3b;
  margin-bottom: 5px;
}

.welcome h2 span {
  font-weight: bold;
  color: #274c5e;
}

.welcome p {
  font-size: 13px;
  color: #333;
  margin: 0;
}

/* Contenedor del formulario */
.form {
  padding: 20px;
  text-align: center;
}

h3 {
  color: #1a2e3b;
  margin-bottom: 20px;
}

/* Estilos de los campos */
.input-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 25px;
  overflow: hidden;
  background-color: #f9f9f9;
}

.input-group .icon {
  background-color: #1a2e3b;
  color: white;
  padding: 10px;
}

.input-group input {
  border: none;
  outline: none;
  padding: 10px;
  flex: 1;
  font-size: 14px;
  background: transparent;
}

/* Opciones de recordatorio y enlace */
.options {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 10px 0 20px;
}

.options a {
  text-decoration: none;
  color: #1a2e3b;
}

/* Botón de login */
.login-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, #1a2e3b, #274c5e);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.login-btn:hover {
  background: linear-gradient(to right, #123030, #1a2e3b);
  transform: scale(1.02);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}
.error-message {
  color: red;
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}
.welcome-banner {
  position: relative;
  background-color: rgba(255, 255, 255, 0.85); /* cinta blanca semi-transparente */
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 2;
  max-width: 90%;
  margin: 10px auto;
}

.welcome-banner h2 {
  font-size: 20px;
  color: #1a2e3b;
  margin-bottom: 5px;
}

.welcome-banner h2 span {
  font-weight: bold;
  color: #274c5e; /* puedes ajustar el color de la marca aquí */
}

.welcome-banner p {
  font-size: 13px;
  color: #333;
  margin: 0;
}
