:root {
  /* Brand Blue Palette extracted from Logo */
  --shreyan-blue-dark: #071c38;
  --shreyan-blue-primary: #0056cf;
  --shreyan-blue-light: #1d72f3;
  --shreyan-blue-glow: rgba(0, 86, 207, 0.2);
  
  --bg-dark: #0a1128;
  --card-bg: #ffffff;
  --text-main: #0b132a;
  --text-muted: #64748b;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --border-color: #e2e8f0;
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  min-height: 100vh;
  /* Deep Navy-Blue Hero Gradient */
  background: radial-gradient(circle at 50% 0%, #1e3a8a 0%, #0a1128 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-container {
  width: 100%;
  max-width: 440px;
}

.hero-card {
  background: var(--card-bg);
  padding: 44px 36px;
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 86, 207, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-header {
  text-align: center;
  margin-bottom: 28px;
}

/* Styled logo container to highlight landscape image */
.logo-wrapper {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo {
  max-width: 100%;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.brand-header h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--shreyan-blue-dark);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.brand-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Error Alert */
.error-alert {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid #fecaca;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--shreyan-blue-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.input-wrap i {
  position: absolute;
  left: 16px;
  color: #94a3b8;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.input-wrap input {
  width: 100%;
  padding: 13px 16px 13px 46px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
  background-color: #f8fafc;
}

.input-wrap input:focus {
  background-color: #ffffff;
  border-color: var(--shreyan-blue-primary);
  box-shadow: 0 0 0 4px var(--shreyan-blue-glow);
}

.input-wrap input:focus + i,
.input-wrap:focus-within i {
  color: var(--shreyan-blue-primary);
}

.btn-login {
  width: 100%;
  padding: 14px;
  /* Royal Blue Gradient Matching "S" Mark */
  background: linear-gradient(135deg, var(--shreyan-blue-primary) 0%, var(--shreyan-blue-light) 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  margin-top: 28px;
  box-shadow: 0 4px 12px var(--shreyan-blue-glow);
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 86, 207, 0.35);
  background: linear-gradient(135deg, #004bb8 0%, var(--shreyan-blue-primary) 100%);
}

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