/* Premium Glassmorphism Login Theme */
:root {
  --primary-bg: #09090e;
  --glass-bg: rgba(20, 25, 40, 0.4);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-main: #f8f9fa;
  --text-muted: #a0aab5;
  --accent-blue: #00e5ff;
  --accent-purple: #bd00ff;
  --input-bg: rgba(0, 0, 0, 0.3);
}

body {
  font-family: 'Outfit', sans-serif;
  margin: 0;
  padding: 0;
  background: url('./images/login_bg.png') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: var(--text-main);
  background-color: var(--primary-bg);
}

.container {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255,255,255,0.05);
  padding: 50px 40px;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  text-align: center;
  animation: floatIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes floatIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.logo-area {
  margin-bottom: 40px;
}

h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(0, 229, 255, 0.2);
}

.subtitle {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  position: relative;
  width: 100%;
}

.login-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: var(--text-main);
  background: var(--input-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.login-form input::placeholder {
  color: var(--text-muted);
}

.login-form input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.2), inset 0 2px 10px rgba(0,0,0,0.5);
  background: rgba(0, 0, 0, 0.5);
}

/* Eye icon styles */
.password-wrapper input {
  padding-right: 50px;
}

.eye-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.6;
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
  filter: invert(1); /* Ensure it's white to stand out against dark inputs */
}

.eye-icon:hover {
  opacity: 1;
}

.login-btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 18px;
  padding: 16px;
  margin-top: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.8) 0%, rgba(189, 0, 255, 0.8) 100%);
  color: white;
  cursor: pointer;
  border: none;
  box-shadow: 0 10px 25px rgba(189, 0, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.4);
  background: linear-gradient(135deg, rgba(0, 229, 255, 1) 0%, rgba(189, 0, 255, 1) 100%);
}

.login-btn:active {
  transform: translateY(0);
}
