/* Modern Admin Login Design */

/* 1) Make body a column filling the viewport */
body.admin-login {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
}

/* 2) Header and footer use your existing styles, so nothing needed there */

/* 3) Main login wrapper takes remaining space and centers its content */
.login-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.login-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(16, 9, 97, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(16, 9, 97, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* 4) The form container - Modern Card Design */
.login-container {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  padding: 3rem 2.5rem;
  border-radius: 1rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 1;
}

.login-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 9, 97, 0.3), transparent);
}

/* 5) Typography & spacing inside the form */
.login-title {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.login-error {
  background: rgba(192, 57, 43, 0.15);
  color: #ff6b6b;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  border: 1px solid rgba(192, 57, 43, 0.3);
  text-align: left;
}

/* 6) Form layout - Modern Input Design */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.login-form label {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-size: 0.95rem;
  color: #d0d0d0;
  font-weight: 500;
}

.login-form label span {
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.login-form input {
  padding: 0.875rem 1.125rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.login-form input:focus {
  outline: none;
  border-color: #100961;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 
    0 0 0 3px rgba(16, 9, 97, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

/* 7) Submit button - Modern Design */
.login-form button {
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #100961 0%, #2d2da3 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(16, 9, 97, 0.25);
  letter-spacing: 0.01em;
  margin-top: 0.5rem;
}

.login-form button:hover {
  background: linear-gradient(135deg, #3d3db3 0%, #100961 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 9, 97, 0.35);
}

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

/* Responsive Design */
@media (max-width: 480px) {
  .login-container {
    padding: 2rem 1.5rem;
  }
  
  .login-title {
    font-size: 1.75rem;
  }
}