/* =========================
   VARIABLES & FONTS
========================= */
:root {
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);
  --blue-dark: #0f1a33;
  --accent-yellow: #FFD700;
  --accent-red: #FF4500;
  --text-color: #EDEDED;
  --font-family: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background: linear-gradient(135deg, #0f1a33, #1a274d);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================
   LOGIN WRAPPER
========================= */
.login-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 1000px;
  gap: 2rem;
}

/* =========================
   LEFT SIDE (LOGO + TEXT)
========================= */
.login-left {
  text-align: center;
}

.login-left img {
  width: 120px;
  margin-bottom: 1rem;
}

.login-left h1 {
  font-size: 2rem;
  color: var(--accent-yellow);
  margin-bottom: 0.5rem;
}

.login-left p {
  font-size: 1rem;
  color: #ccc;
}

/* =========================
   LOGIN CARD (RIGHT SIDE)
========================= */
.login-right {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.login-right:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.login-right h2 {
  margin-bottom: 2rem;
  color: var(--accent-yellow);
}

/* =========================
   FORM GROUP
========================= */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  color: var(--text-color);
  font-size: 1rem;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
  border: 1px solid var(--accent-yellow);
  box-shadow: 0 0 10px var(--accent-yellow);
}

/* =========================
   LOGIN BUTTON
========================= */
.btn-login {
  width: 100%;
  padding: 0.8rem 0;
  border-radius: 9999px;
  border: none;
  background-color: var(--accent-yellow);
  color: #000;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--accent-yellow);
}

/* =========================
   FORGOT PASSWORD
========================= */
.forgot-pass {
  margin-top: 1rem;
  text-align: center;
}

.forgot-pass a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.forgot-pass a:hover {
  color: var(--accent-yellow);
}

.error {
  padding: 0.4rem 0.8rem;
  margin-bottom: 10px;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: inline-block;
  text-align: center;
  background: rgba(255,0,0,0.3); color: #ff9974; border-color: rgba(255,0,0,0.5);
}

/* =========================
   RESPONSIVE
========================= */
@media(min-width:768px) {
  .login-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .login-left {
    flex: 1;
    text-align: left;
    padding-right: 2rem;
  }

  .login-right {
    flex: 1;
  }
}
