/* ThriveWealth.ai - Login Page Styles (Burnt Orange / Navy / White) */

.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #cc5500 0%, #ffffff 80%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 2rem;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Burnt orange aurora orbs */
.login-page::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,85,0,0.1) 0%, transparent 65%);
  top: -250px;
  left: -150px;
  pointer-events: none;
  animation: login-orb-1 12s ease-in-out infinite alternate;
}

.login-page::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,85,0,0.06) 0%, transparent 65%);
  bottom: -200px;
  right: -100px;
  pointer-events: none;
  animation: login-orb-2 10s ease-in-out infinite alternate;
}

@keyframes login-orb-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.06); }
}

@keyframes login-orb-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-20px, -15px) scale(1.04); }
}

/* Third orb — warm burnt orange accent */
.login-bg-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,85,0,0.07) 0%, transparent 60%);
  top: 50%;
  right: 20%;
  transform: translateY(-50%);
  pointer-events: none;
  animation: login-orb-3 14s ease-in-out infinite alternate;
  filter: blur(20px);
}

@keyframes login-orb-3 {
  0% { transform: translateY(-50%) scale(1); opacity: 0.6; }
  100% { transform: translateY(-50%) scale(1.1); opacity: 1; }
}

/* Glow line at bottom — burnt orange / navy */
.login-glow-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a1a2e, #cc5500, #1a1a2e, #cc5500, #1a1a2e);
  background-size: 200% 100%;
  animation: login-glow-shift 4s linear infinite;
  z-index: 10;
}

@keyframes login-glow-shift {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.login-container {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 2;
  margin: auto 0;
}

.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo .logo,
.login-logo .brand {
  display: inline-flex;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.login-logo p {
  color: #777;
  font-size: 0.95rem;
}

.login-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 8px 40px rgba(204,85,0,0.06);
  position: relative;
  z-index: 1;
}

.login-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(204,85,0,0.05);
  border: 1px solid rgba(204,85,0,0.12);
  border-radius: 14px;
  margin-bottom: 1.75rem;
}

.login-card-title h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.125rem;
}

.login-card-title p {
  font-size: 0.8125rem;
  color: #777;
}

.login-form {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.875rem 1.125rem;
  font-size: 0.9375rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  background: #f9f9f7;
  color: #1a1a2e;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #cc5500;
  box-shadow: 0 0 0 3px rgba(204,85,0,0.15);
  background: #fff;
}

.form-group input::placeholder {
  color: #aaa;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: #fff;
  color: #1a1a2e;
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.375rem;
}

.login-form .btn {
  margin-top: 0.75rem;
  background: linear-gradient(135deg, #000000 0%, #000000 12%, #0d0d20 18%, #141428 22%, #1a1a2e 28%, #cc5500 80%);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  display: block;
  text-align: center;
  padding: 0.875rem;
  border-radius: 14px;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 6px 20px rgba(204,85,0,.15);
}

.login-form .btn:hover {
  background: linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 12%, #1d1d30 18%, #222238 22%, #2a2a42 28%, #e06600 80%);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(204,85,0,.45), 0 0 40px rgba(204,85,0,.25), 0 10px 28px rgba(204,85,0,.3);
}

.login-links {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.login-links a {
  color: #cc5500;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

.login-links a:hover {
  color: #e06600;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #999;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 2rem;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

.back-link:hover {
  color: #cc5500;
  transform: translateX(-4px);
}

/* Responsive */
@media (max-width: 768px) {
  .login-page {
    padding: 2rem 1.5rem;
  }

  .login-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .login-page {
    padding: 1rem;
  }

  .login-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .login-links {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}
