*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f0f2f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  color: #1a1a1a;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
  padding: 40px 40px 36px;
  width: 100%;
  max-width: 440px;
  animation: fadeUp 0.35s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.logo-wrap img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.card-title {
  font-size: 17px;
  font-weight: 600;
  color: #111;
  margin-bottom: 6px;
  text-align: center;
}

.card-sub {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.5;
}

.field {
  position: relative;
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #999;
  margin-bottom: 6px;
  padding-left: 2px;
}

.field input {
  width: 100%;
  height: 52px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}

.field input:focus {
  border-color: #00703c;
  background: #fff;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn {
  display: block;
  width: 100%;
  height: 52px;
  background: #00703c;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 24px;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
  letter-spacing: 0.2px;
}

.btn:hover  { background: #005c32; }
.btn:active { transform: scale(0.99); }

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 12px;
  color: #bbb;
}

.secure-note svg {
  flex-shrink: 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  stroke: #00703c;
}

.success-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #111;
  margin-bottom: 8px;
}

.success-msg {
  font-size: 13px;
  color: #888;
  text-align: center;
  line-height: 1.6;
}

.spin-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e0e0e0;
  border-top-color: #00703c;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
  .card { padding: 32px 24px 28px; }
}