/* ===== LaFit Login – Dark + Logo ===== */

.lafit-login-page{
  position: relative;
  min-height: 100vh;
  padding: 70px 16px 90px;
}

.lafit-login-page::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 700px at 50% 0%, rgba(46,160,255,0.22), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #07101f, #050b16);
}

.lafit-login__wrap{
  max-width: 980px;
  margin: 0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* ========================= */
/* TOPBAR (Domov + Odhlásiť) */
/* ========================= */

.lafit-topbar{
  width: 100%;
  max-width: 980px;
  margin: 0 auto 18px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 10px 4px;
}

.lafit-topbar__home{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg,#2ea0ff,#1c6ed8);
  color:#fff;
  text-decoration:none;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 10px 26px rgba(46,160,255,0.35);
  transition: 0.2s ease;
}

.lafit-topbar__home:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(46,160,255,0.55);
}

.lafit-topbar__logout{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  color:#fff;
  text-decoration:none;
  font-weight: 800;
  transition: 0.2s ease;
}

.lafit-topbar__logout:hover{
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* ========================= */
/* LOGO */
/* ========================= */

.lafit-login__logo{
  width: 100%;
  display:flex;
  justify-content:center;
  margin: 0 0 22px;
  transform: translateY(-12px);
}

.lafit-login__logo img{
  max-width: 520px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 40px rgba(0,0,0,0.55));
}

/* ========================= */
/* CARD */
/* ========================= */

.lafit-login__card{
  width: 100%;
  max-width: 560px;
  padding: 26px;
  border-radius: 18px;
  background: rgba(15,27,45,0.94);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 50px rgba(0,0,0,0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

.lafit-login__title{
  text-align:center;
  font-weight: 900;
  font-size: 22px;
  margin: 2px 0 18px;
  color: #fff;
}

.lafit-login__fields{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.lafit-auth-row{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.lafit-auth-row label{
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.lafit-auth-row input{
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 0 14px;
  outline: none;
  transition: 0.2s ease;
  box-sizing: border-box;
}

.lafit-auth-row input::placeholder{
  color: rgba(255,255,255,0.55);
}

.lafit-auth-row input:focus{
  border-color: rgba(46,160,255,0.65);
  box-shadow: 0 0 0 3px rgba(46,160,255,0.18);
}

/* ========================= */
/* BUTTONS */
/* ========================= */

.lafit-auth-actions{
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 12px;
  margin-top: 18px;
}

#lafitLoginStatus{
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  opacity: 0.95;
}

.lafit-btn{
  width: 100%;
  max-width: 420px;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg,#2ea0ff,#1c6ed8);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 10px 26px rgba(46,160,255,0.35);
}

.lafit-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(46,160,255,0.55);
}

.lafit-btn:disabled{
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ========================= */
/* LINKS */
/* ========================= */

.lafit-login__note{
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.85;
  text-align: center;
}

.lafit-auth-link{
  color: #2ea0ff;
  text-decoration: none;
}

.lafit-auth-link:hover{
  text-decoration: underline;
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 640px){
  .lafit-login-page{ padding: 55px 14px 70px; }
  .lafit-login__logo img{ max-width: 360px; }
}