* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --warm-red: #E63946;
  --deep-brown: #4A2C2A;
  --subtle-green: #7CB342;
  --cream: #FFF8F0;
  --white: #FFFFFF;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--deep-brown);
  height: 100vh;
  overflow: hidden;
}

/* Background Image Layer */
.login-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.login-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.login-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
}

/* Centering Container */
.login-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
  overflow-y: auto;
}

/* Glass Morphism Card */
.login-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 48px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Brand */
.login-brand {
  text-align: center;
  margin-bottom: 36px;
}

.login-logo {
  font-size: 48px;
  margin-bottom: 8px;
}

.login-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.login-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
}

/* Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  font-size: 18px;
  z-index: 2;
}

.input-group input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--white);
  outline: none;
  transition: border 0.3s, background 0.3s;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.input-group input:focus {
  border: 1px solid var(--subtle-green);
  background: rgba(255, 255, 255, 0.25);
}

.toggle-password {
  position: absolute;
  right: 16px;
  cursor: pointer;
  font-size: 18px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
}

.login-forgot {
  text-align: right;
  color: var(--subtle-green);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: -8px;
}

.login-forgot:hover {
  text-decoration: underline;
}

.btn-login {
  padding: 16px;
  background: var(--warm-red);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-login:hover {
  background: #c53030;
  transform: scale(1.02);
}

.btn-login:active {
  transform: scale(0.98);
}

/* Bottom Links */
.login-signup {
  text-align: center;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.login-signup a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.login-signup a:hover {
  text-decoration: underline;
}

.login-skip {
  text-align: center;
  margin-top: 12px;
}

.login-skip a {
  color: var(--subtle-green);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.login-skip a:hover {
  text-decoration: underline;
}

.input-group select {
  width: 100%;
  padding: 16px 16px 16px 48px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: white;
  outline: none;
  appearance: none;
}

.input-group select option {
  color: #1a1a1a;
  background: white;
}

/* Responsive */
@media (max-width: 480px) {
  .login-card {
    padding: 36px 24px;
  }

  .login-name {
    font-size: 24px;
  }
}