:root {
  --primary-color: #4e73df;
  --secondary-color: #224abe;
  --gradient-start: #f3f7fe;
  --gradient-end: #d6e3ff;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) fixed;
    animation: gradientShift 2s ease infinite alternate;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.login-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.login-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease;
}

.login-card:hover {
  transform: translateY(-5px);
}

.login-header {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 25px;
  position: relative;
  overflow: hidden;
}

.login-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  animation: pulse 8s linear infinite;
}

@keyframes pulse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.login-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
    background-color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.login-logo img {
    width: 60px;
    height: 60px;
}
.login-body {
    padding: 30px;
}
.form-control:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}
.btn-login {
    background-color: #4e73df;
    border: none;
    width: 100%;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-login:hover {
    background-color: #3a5bc7;
}
.error-message {
    color: #e74a3b;
    font-size: 0.9rem;
    margin-top: 5px;
}