:root {
  --primary-color: #5469d4;
  --bg-color: #f8f9fa;
  --text-dark: #212529;
  --text-light: #6c757d;
  --border-color: #e9ecef;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 0;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-color);
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.dot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 0, 0, 0.2) 2px, transparent 2px);
  background-size: 4px 4px;
  z-index: -1;
}

.card {
  max-width: 400px;
  width: 100%;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background-color: white;
  z-index: 1;
}

.card-body {
  padding: 32px;
  background-color: #eee;
  border-radius: 9px;
}

h3 {
  text-align: center;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.card-body > p {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
}

.form-floating {
  margin-bottom: 20px;
}

.form-control {
  border-radius: 6px;
  border: 1px solid var(--border-color);
  height: 56px;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  height: 48px;
  border-radius: 6px;
  font-weight: 500;
  margin-top: 8px;
}

.btn-primary:hover {
  background-color: #4559b3;
}

.help-text {
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
  margin-top: 24px;
}

.help-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.help-text a:hover {
  text-decoration: underline;
}

.spinner-grow {
  margin-right: 8px;
  display: none;
}

.btn-primary.loading .spinner-grow {
  display: inline-block;
}

/* Mobile First - Responsive */
@media (max-width: 767.98px) {
  body {
    padding: 0;
    background: #198754;
    align-items: flex-start;
  }
  
  .video-background,
  .dot-overlay {
    display: none;
  }
  
  .card {
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
    height: 100vh;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .card-body {
    padding: 24px;
    background-color: transparent;
  }
  
  h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .card-body > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 32px;
  }
  
  .form-control {
    background-color: white;
    border: none;
    height: 52px;
    font-size: 16px;
  }
  
  .form-floating label {
    font-size: 14px;
  }
  
  .btn-primary {
    height: 52px;
    font-size: 16px;
    margin-top: 12px;
  }
  
  .help-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
  }
  
  .help-text a {
    color: white;
    font-weight: 700;
  }
}