﻿/* ========================================
   Login wrapper — centering + animation
   All styles scoped to .login-wrapper
   ======================================== */

.login-wrapper {
  width: 420px;
  margin: 4vh auto 0;
  position: relative;
  opacity: 0;
  transform: translateY(-60px);
  animation: loginSlideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.login-wrapper .brand {
  text-align: center;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(-20px);
  animation: loginSlideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.login-wrapper .brand img {
  max-width: 200px;
  height: auto;
}

.login-wrapper .card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 20px 60px rgba(0,0,0,0.3),
    0 8px 24px rgba(0,0,0,0.2);
}

.login-wrapper .step-header {
  text-align: center;
  margin-bottom: 28px;
}

.login-wrapper .step-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4A1528 0%, #6B2340 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #E2C97E;
  box-shadow: 0 4px 20px rgba(14,26,46,0.25);
}

.login-wrapper .step-title {
  font-size: 22px;
  font-weight: 700;
  color: #4A1528;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.login-wrapper .step-subtitle {
  font-size: 14px;
  color: #1C1008;
}

.login-wrapper .field-group {
  margin-bottom: 16px;
}

.login-wrapper .lf-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.login-wrapper .input-field {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  background: #f8fafc;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.login-wrapper .input-field::placeholder {
  color: #94a3b8;
}

.login-wrapper .input-field:focus {
  border-color: #6b9fff;
  box-shadow: 0 0 0 3px rgba(107,159,255,0.15);
  background: #fff;
}

.login-wrapper .btn-login {
  width: 100%;
  padding: 12px 0;
  margin-top: 6px;
  background: #4A1528;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(14,26,46,0.3);
}

.login-wrapper .btn-login:hover {
  box-shadow: 0 6px 20px rgba(14,26,46,0.4);
  transform: translateY(-1px);
}

.login-wrapper .error-msg {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #ef4444;
  font-weight: 500;
}

.login-wrapper .site-footer {
  text-align: center;
  margin-top: 24px;
  opacity: 0.4;
  font-size: 12px;
  color: #4A1528;
}

@keyframes loginSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-wrapper .forgot-link {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #94a3b8;
}

.login-wrapper .forgot-link a {
  color: #3b82f6;
  font-weight: 600;
  text-decoration: none;
}

.login-wrapper .forgot-link a:hover {
  color: #2563eb;
}