@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #8b5cf6;
  --secondary: #3b82f6;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --glass-bg: rgba(0, 0, 0, 0.5);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('/images/starzone.png') no-repeat center center / cover;
  color: var(--text-light);
  overflow: hidden;
}



.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 50px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}



.login-header {
  text-align: center;
  margin-bottom: 35px;
}

.login-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.login-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.input-group {
  margin-bottom: 24px;
  position: relative;
}

.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-light);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.3s ease;
  z-index: 2;
}

.input-wrapper input {
  width: 100%;
  padding: 14px 16px 14px 45px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-light);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  position: relative;
  z-index: 1;
}

.input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-wrapper input:focus {
  border-color: var(--secondary);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.input-wrapper input:focus+i,
.input-wrapper input:not(:placeholder-shown)+i {
  color: var(--text-light);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  font-size: 0.85rem;
}

.form-actions a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.form-actions a:hover {
  color: var(--text-light);
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

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

/* Invalid feedback */
.invalid-feedback {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 6px;
  display: block;
}

.input-wrapper input.is-invalid {
  border-color: #ff6b6b;
}