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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f4f7f4;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid #d4e4d6;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 4px 24px rgba(40, 80, 46, 0.08);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Headings */
h1 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 28px;
  line-height: 1.5;
}

/* Form fields */
.field {
  margin-bottom: 16px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

input {
  width: 100%;
  background: #f9faf9;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  color: #111;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus {
  border-color: #28502E;
  box-shadow: 0 0 0 3px rgba(40, 80, 46, 0.1);
}

input::placeholder {
  color: #9ca3af;
}

select {
  width: 100%;
  background: #f9faf9;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  color: #111;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  cursor: pointer;
}

select:focus {
  border-color: #28502E;
  box-shadow: 0 0 0 3px rgba(40, 80, 46, 0.1);
}

/* Buttons */
.btn {
  display: block;
  width: 100%;
  background: #28502E;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  margin-top: 8px;
}

.btn:hover {
  background: #1f3f23;
}

.btn:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #6b7280;
  margin-top: 12px;
}

.btn-secondary:hover {
  background: #f4f7f4;
  color: #374151;
}

/* Success state */
.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(40, 80, 46, 0.1);
  border: 1px solid rgba(40, 80, 46, 0.3);
  color: #28502E;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.sms-preview {
  background: #f4f7f4;
  border: 1px solid #d4e4d6;
  border-radius: 10px;
  padding: 16px;
  margin: 20px 0 24px;
}

.sms-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 10px;
}

.sms-bubble {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Error state */
.error-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.error-msg {
  color: #dc2626;
  word-break: break-word;
}
