:root {
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --slate-900: #0f172a;
  --slate-950: #020617;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body.login-body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--slate-950);
  background-image: radial-gradient(at 0% 0%, rgba(124, 58, 237, 0.15) 0px, transparent 50%),
                    radial-gradient(at 100% 100%, rgba(15, 23, 42, 1) 0px, transparent 50%);
  overflow: hidden;
  position: relative;
}

.login-container {
  width: 100%;
  max-width: 500px;
  padding: 40px;
  z-index: 10;
  animation: slideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 3rem 2.5rem;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-logo {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3),
              inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.login-title {
  color: white;
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -1.5px;
}

.login-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 250px;
}

.login-form .form-group {
  margin-bottom: 1.25rem;
}

.login-form .form-control {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  padding: 1rem 1.25rem !important;
  color: white !important;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease !important;
  width: 100%;
  height: auto !important;
}

.login-form .form-control:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(124, 58, 237, 0.5) !important;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15) !important;
  outline: none;
}

.input-icon {
  display: none; /* Removed icons as per minimal design in image */
}

.login-btn {
  width: auto;
  min-width: 200px;
  background: #8b5cf6;
  border: none;
  border-radius: 20px;
  padding: 1.25rem 2.5rem;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 2rem;
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
}

.login-btn:hover {
  transform: translateY(-5px) scale(1.02);
  background: #7c3aed;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
}

.login-btn:active {
  transform: translateY(-2px);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

::placeholder {
  color: rgba(255, 255, 255, 0.25) !important;
}

@media (max-width: 768px) {
  .login-container {
    padding: 20px;
  }
  
  .login-card {
    padding: 3rem 2rem;
    border-radius: 35px;
  }
  
  .login-title {
    font-size: 2.5rem;
  }
  
  .login-btn {
    width: 100%;
  }
}

/* Custom Checkbox Styling for Remember Me */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin-top: 5px;
}

.custom-checkbox input {
  display: none;
}

.custom-checkbox .custom-control-label {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.5) !important;
  font-weight: 600;
  cursor: pointer;
}

.custom-checkbox .custom-control-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.custom-checkbox input:checked + .custom-control-label::before {
  background: var(--primary);
  border-color: var(--primary);
}

.custom-checkbox input:checked + .custom-control-label::after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 10px;
}
