@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --velmora-cream: #fafaf5;
  --velmora-forest: #2d5016;
  --velmora-gold: #c9a84c;
  --velmora-charcoal: #2c2c2c;
}

.velmora-login-page,
.velmora-login-page * {
  box-sizing: border-box;
}

.velmora-login-page {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 48px 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.velmora-login-card {
  width: min(100%, 544px);
  margin: 0 auto;
  padding: 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 24px 60px rgba(45, 80, 22, .10), inset 0 0 0 1px rgba(45, 80, 22, .08);
  backdrop-filter: blur(12px);
}

.velmora-login-title {
  margin: 0;
  color: var(--velmora-charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  line-height: 1.15;
}

.velmora-login-subtitle {
  margin: 12px 0 0;
  color: rgba(44, 44, 44, .7);
  font-size: 14px;
  line-height: 1.75;
}

.velmora-login-form {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.velmora-login-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--velmora-charcoal);
  font-size: 14px;
  font-weight: 700;
}

.velmora-login-field input {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(45, 80, 22, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .6);
  color: var(--velmora-charcoal);
  font-size: 14px;
  box-shadow: none;
}

.velmora-login-field input:focus {
  border-color: rgba(201, 168, 76, .88);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(201, 168, 76, .14);
}

.velmora-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.velmora-btn:disabled {
  opacity: .7;
  cursor: wait;
}

.velmora-btn-primary {
  border: 0;
  background: var(--velmora-forest);
  color: var(--velmora-cream);
}

.velmora-btn-primary:hover {
  background: #234112;
  color: var(--velmora-cream);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(45, 80, 22, .16);
}

.velmora-btn-outline {
  border: 1px solid rgba(45, 80, 22, .10);
  background: rgba(255, 255, 255, .5);
  color: var(--velmora-charcoal);
}

.velmora-btn-outline:hover {
  background: rgba(45, 80, 22, .05);
  color: var(--velmora-charcoal);
}

.velmora-login-feedback {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.velmora-login-feedback.is-error {
  color: #ad2a2a;
}

.velmora-login-feedback.is-success {
  color: #2d5016;
}

.velmora-login-footer {
  margin: 16px 0 0;
  color: rgba(44, 44, 44, .7);
  font-size: 12px;
  line-height: 1.6;
}

.velmora-login-footer a {
  color: var(--velmora-forest);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 640px) {
  .velmora-login-page {
    padding: 24px 12px;
  }

  .velmora-login-card {
    padding: 24px 20px;
  }
}
