/* ===== main.css (LOGIN) – versión Khemnet ===== */

*{ margin:0; padding:0; box-sizing:border-box; }

/* Fondo con gradiente de marca */
body{
  width:100%;
  min-height:100vh;
  margin:0;
  position:relative;
  background:
    linear-gradient(180deg,
      var(--brand-gradient-start, #26E0E7) 0%,
      var(--brand-gradient-end, #E177E4) 100%);
  background-attachment: fixed;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* espacio para el footer fijo */
body::after{
  content:'';
  display:block;
  height:50px;
}

/* Logo */
.logo{
  width:300px;
  max-width:70vw;
  margin:32px 0 24px 0;
  display:block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.18));
}

/* ===== Tarjeta de Login ===== */
.form-box{
  width:420px;
  max-width:90vw;
  background: var(--brand-surface, #ffffff);
  color: var(--brand-text, #1F2937);
  text-align:center;
  border-radius:20px;
  padding:28px 0 30px;
  border: 3px solid var(--brand-primary, #26E0E7);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-bottom:50px;
}

/* Títulos */
.form-title{
  color: var(--brand-text, #1F2937);
  font-weight:600;
  padding-bottom:12px;
  font-size:28px;
}
.form-sub-title{
  color: var(--brand-text, #1F2937);
  font-weight:500;
  font-size:20px;
  padding-bottom:10px;
  opacity:.9;
}

/* Inputs */
.form-box input[type="text"],
.form-box input[type="tel"],
.form-box input[type="number"],
.form-box input[type="email"],
.form-box input[type="password"]{
  border:1px solid var(--brand-border, #E5E7EB);
  background:#F7F7F7;
  display:block;
  margin:14px auto;
  text-align:center;
  width:70%;
  height:50px;
  outline:none;
  font-size:18px;
  color:#000;
  border-radius:10px;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease, width .15s ease;
  padding:0 12px;
}
.form-box input::placeholder{
  color: var(--brand-text-muted, #6B7280);
  opacity:.9;
}
.form-box input:focus{
  background:#fff;
  border-color: var(--brand-primary, #26E0E7);
  box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--brand-primary, #26E0E7) 22%, transparent);
  width:75%;
}

/* Selects (si los usas en este form) */
.form-box select{
  border:1px solid var(--brand-border, #E5E7EB);
  background:#F7F7F7;
  color:#111;
  font-size:18px;
  display:block;
  margin:14px auto;
  text-align:center;
  width:70%;
  height:52px;
  outline:none;
  border-radius:10px;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
  padding:0 40px 0 12px;
  appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, #888 50%),
    linear-gradient(135deg, #888 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 5px),
    calc(100% - 16px) calc(50% - 5px);
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
}
.form-box select:focus{
  background:#fff;
  border-color: var(--brand-primary, #26E0E7);
  box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--brand-primary, #26E0E7) 22%, transparent);
}

/* Botón Ingresar – sólido, sin degradado */
.form-box input[type="submit"]{
  border:0;
  background: var(--brand-primary, #26E0E7);
  display:block;
  margin:18px auto 6px;
  text-align:center;
  width:72%;
  height:56px;
  outline:none;
  font-size:20px;
  color:#003043; /* mejor legibilidad sobre turquesa claro */
  font-weight:700;
  border-radius:10px;
  transition: transform .08s ease, filter .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}
.form-box input[type="submit"]:hover{
  filter: brightness(0.95);
}
.form-box input[type="submit"]:active{
  transform: translateY(1px);
}

/* Check de notificaciones (si se usa aquí) */
.notifCheck{
  border:0;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  margin:10px auto 0;
  text-align:center;
  width:90%;
  height:44px;
  font-size:16px;
  color: var(--brand-text, #1F2937);
  border-radius:10px;
}
.Notif{
  cursor:pointer;
  background-color:#fff;
  width:22px; height:22px;
  border:2px solid #888;
  margin-right:10px;
  border-radius:4px;
}

/* Texto general */
p{ font:15px Arial, Helvetica, sans-serif; color:#fff; }

/* Footer fijo */
footer{
  width:100%; height:50px;
  display:flex; flex-direction:row;
  align-items:center; justify-content:flex-end;
  color:white; font-size:15px;
  background: rgba(0,0,0,.55);
  position:absolute; bottom:0; left:0;
}
.footer-padding{ width:25px; }

/* --- Responsive --- */
@media (max-width:980px){
  /* (Si en algún momento activas un menú aquí, deja el fondo de marca) */
}
@media (max-width:500px){
  .form-box{ width:88%; }
  .form-box input:focus{ width:80%; }
}

/* ===== (Opcional) clases heredadas del proyecto original ===== */
/* Eliminamos el gradiente y colores antiguos de .menu y variantes para evitar conflictos
   con el login; si existen en otras páginas, se estilizan en sus propios CSS */

