* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif; }

body { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  height: 100vh; 
  background-color: #f1f5f9; 
  color: #1e293b;
  position: relative;
  overflow: hidden;
}

.bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 201, 30, 0.24) 0%, rgba(2, 132, 199, 0.1) 100%);
  filter: blur(60px);
  animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
  width: 450px;
  height: 450px;
  top: -10%;
  left: -10%;
  animation-duration: 25s;
}

.blob-2 {
  width: 550px;
  height: 550px;
  bottom: -15%;
  right: -10%;
  animation-duration: 30s;
}

.blob-3 {
  width: 350px;
  height: 350px;
  top: 45%;
  left: 55%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(2, 132, 199, 0.08) 100%);
  animation-duration: 20s;
}

.shape {
  position: absolute;
  border: 1px solid rgba(130, 201, 30, 0.15);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  animation: floatShape 16s infinite alternate ease-in-out;
}

.shape-1 {
  width: 60px;
  height: 60px;
  top: 20%;
  left: 15%;
  border-radius: 50%;
  animation-duration: 18s;
}

.shape-2 {
  width: 80px;
  height: 80px;
  bottom: 22%;
  left: 12%;
  transform: rotate(45deg);
  border-radius: 18px;
  border-color: rgba(2, 132, 199, 0.18);
  animation-duration: 22s;
}

.shape-3 {
  width: 50px;
  height: 50px;
  top: 15%;
  right: 15%;
  border-radius: 12px;
  border-color: rgba(139, 92, 246, 0.18);
  animation-duration: 14s;
}

.shape-4 {
  bottom: 15%;
  right: 18%;
  width: 80px;
  height: 80px;
  transform: rotate(60deg);
  animation-duration: 24s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-30px, 80px) scale(0.95); }
}

@keyframes floatShape {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-35px) rotate(25deg); }
}

.login-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  padding: 16px;
}

.login-card {
  background: #ffffff;
  padding: 44px 36px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.95;
  margin-bottom: 28px;
}

.logo-sub {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 2px;
  margin-top: 6px;
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.input-wrapper {
  position: relative;
}

.input-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
}

.input-wrapper input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.92rem;
  outline: none;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.input-wrapper input::placeholder {
  color: #94a3b8;
}

.input-wrapper input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn-login {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-login:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

.btn-login:active {
  transform: scale(0.98);
}

.error-alert {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fee2e2;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 480px) {
  .login-card { padding: 32px 20px; }
  .logo-top { font-size: 2.1rem; }
  .shape { display: none; }
}

/* Minimalist Corporate Footer for Login Screen */
.login-footer {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.login-footer-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.login-footer-content strong {
  color: #334155;
  font-weight: 700;
}

.login-footer-sep {
  color: #cbd5e1;
  font-size: 0.75rem;
}
