/* VIDEO BACKGROUND */
.login-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

/* LOGIN PAGE */
.login-hero{
  position:relative;
  flex: 1;
  min-height: 520px;
  overflow:hidden;
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 36px 18px;
}

.login-bg{
  position:absolute;
  inset:0;
  background:none;
  filter: blur(1px);
  transform: scale(1.02);
}

.login-tint{
  position:absolute;
  inset:0;
  background: rgba(210, 180, 120, 0.45);
}

.login-card{
  position:relative;
  z-index:2;
  width: 360px;
  border-radius: 18px;
  padding: 22px 22px 18px;
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  color:#111;
}

.login-title{
  margin: 0 0 14px;
  text-align:center;
  font-size: 18px;
  font-weight: 800;
}

.login-label{
  display:block;
  font-size: 11px;
  margin: 10px 0 6px;
  color:#222;
}

.login-input{
  width:100%;
  height: 30px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0 10px;
  outline:none;
  background: rgba(255,255,255,0.85);
  font-size: 11px;
}

.password-wrap{ position:relative; }

.pw-toggle{
  position:absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor:pointer;
  font-size: 12px;
  opacity: .7;
}

.forgot{
  display:inline-block;
  margin-top: 8px;
  font-size: 10px;
  color:#111;
  text-decoration:none;
  opacity:.75;
}

.btn-login{
  margin-top: 12px;
  width:100%;
  height: 34px;
  border: none;
  border-radius: 6px;
  background: #0a3d6b;
  color:#fff;
  font-weight: 800;
  font-size: 11px;
  cursor:pointer;
}

/* Divider */
.divider{
  margin: 14px 0 10px;
  text-align:center;
  font-size: 10px;
  color:#333;
  opacity:.8;
}
.divider span{
  background: rgba(255,255,255,0.55);
  padding: 2px 10px;
  border-radius: 999px;
}

/* ✅ SOCIAL BUTTONS = RECTANGULAR (like your 1st pic) */
.social-row{
  display:flex;
  gap: 12px;
  justify-content:center;
  align-items:center;
  margin: 8px 0 10px;
}

.oauth-btn{
  width: 70px;
  height: 26px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.90);
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.oauth-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

/* HARD LOCK the SVG size so it NEVER becomes huge */
.oauth-btn .oauth-svg,
.oauth-btn svg{
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  display:block !important;
}

.register{
  margin: 8px 0 12px;
  text-align:center;
  font-size: 9px;
  color:#111;
  opacity:.85;
}
.register a{
  color:#111;
  font-weight: 800;
  text-decoration:none;
}

/* Role selector */
.role-select{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top: 10px;
}

.role-btn{
  min-width: 90px;
  padding: 8px 0;
  border-radius: 999px;
  border: none;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .6px;
  cursor: pointer;
  opacity: .55;
  transition: all .2s ease;
}

.role-user{
  background: #2ecc71;
  color: #0b3d1e;
}

.role-admin{
  background: #ff2d2d;
  color: #fff;
}

.role-btn.active{
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  transform: translateY(-1px);
}

.auth-error{
  margin:10px 0 14px;
  padding:10px 12px;
  border-radius:10px;
  background: rgba(255,0,0,0.08);
  border: 1px solid rgba(255,0,0,0.20);
  color:#b00020;
  font-size:14px;
}
