:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --text-dark: #2d3748;
  --text-light: #718096;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
}

.login-bg {
  background: var(--secondary-gradient);
  background-attachment: fixed;
}

.min-vh-100 {
  min-height: 100vh;
}

.login-card {
  width: 100%;
  max-width: 450px;
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.gradient-bar {
  height: 8px;
  width: 100%;
  background: var(--primary-gradient);
}

.logo-img {
  max-height: 80px;
  transition: transform 0.3s ease;
}



.btn-gradient {
  background: var(--primary-gradient);
  border: none;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}



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

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}


.input-group-text {
  background-color: #f8f9fa;
  border-right: none;
  color: var(--text-light);
}

.form-control {
  border-left: none;
  padding-left: 0;
}

.form-control:focus {
  box-shadow: none;
  border-color: #ced4da;
}

.alert-container {
  max-width: 450px;
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
}

.toggle-password {
  cursor: pointer;
  transition: color 0.2s;
}

.toggle-password:hover {
  color: var(--text-dark);
}

/* Form validation */
.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: #dc3545;
}

.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: #28a745;
}

/* Animation classes */
.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}