:root {
  --primary-color: #0d6efd;
  --bg-gradient-start: #eef2f3;
  --bg-gradient-end: #8e9eab;
}

body {
  font-family: 'Outfit', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg-gradient-start);
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.bg-shape {
  position: absolute;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.6;
  border-radius: 50%;
  animation: float-anim 15s infinite ease-in-out alternate;
}

.shape1 {
  width: 400px;
  height: 400px;
  background: rgba(13, 110, 253, 0.4);
  top: -100px;
  left: -100px;
}

.shape2 {
  width: 300px;
  height: 300px;
  background: rgba(111, 66, 193, 0.3);
  bottom: -50px;
  right: -50px;
  animation-delay: -5s;
}

.shape3 {
  width: 250px;
  height: 250px;
  background: rgba(32, 201, 151, 0.3);
  bottom: 20%;
  left: 20%;
  animation-delay: -10s;
}

.login-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  max-width: 420px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.login-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.logo-circle {
  width: 80px;
  height: 80px;
  background: rgba(13, 110, 253, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-title {
  font-weight: 700;
  font-size: 1.8rem;
  color: #2b3035;
  margin-bottom: 0.2rem;
}

.brand-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
}

.form-floating > .form-control {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.9);
  height: calc(3.5rem + 2px);
  padding: 1rem 1.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
  background-color: #fff;
}

.form-floating > label {
  padding: 1rem 1.25rem;
  font-weight: 500;
}

.btn-login {
  background: var(--primary-color);
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border: none;
  border-radius: 12px;
  padding: 0.9rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  color: white;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(13, 110, 253, 0.4);
  color: white;
}

.btn-login:active {
  transform: translateY(1px);
}

.btn-back {
  padding: 0.8rem;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background-color: #f8f9fa;
  transform: translateY(-1px);
}

.hover-link {
  transition: color 0.2s ease;
}

.hover-link:hover {
  color: #0a58ca !important;
  text-decoration: underline !important;
}

@keyframes float-anim {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}