/* Reset */

body {
  background: url('img/fondo.png') no-repeat center center;
  background-size: cover;
  margin: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; 
}

/* Capa oscura encima del fondo */
body::before {
  content: "";  
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* Contenedor tipo app */
.app-wrapper {
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  background: url('img/fondo.png') no-repeat center center;
  padding: 40px 25px;
  color: white;
  position: relative;
  z-index: 1; 
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  margin-bottom: 40px;
}

.role {
  margin: 0;
  font-weight: 500;
  opacity: .9;
}

/* Título sección */
.section-title {
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Botones */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Botón estilo app */
.app-button {
  background: white;
  color: #333;
  text-decoration: none;
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}

.app-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,.4);
}

/* Botón logout */
.logout {
  background: #fff0f0;
  color: #b00000;
} 





/* Pantalla formulario */
.form-screen {
    position: relative;
}

/* Botón cerrar */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
}

/* Logo */
.logo {
    font-weight: bold;
    margin-bottom: 20px;
}

/* Título principal */
.title {
    font-weight: 800;
    margin-bottom: 30px;
    text-decoration: underline;
}

/* Form group */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Inputs personalizados */
.custom-input {
    border-radius: 12px;
    padding: 12px;
    border: none;
}

/* Botón siguiente */
.next-btn {
    background: white;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
    transition: .2s ease;
}

.next-btn:hover {
    transform: translateY(-3px);
}