/* /assets/cdn/register.css */

body {
  background-color: #f9fafb;
  font-family: 'Open Sans', sans-serif;
}

.register-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.register-box {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 400px;
}

.register-title {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  color: #0E7D88;
  margin-bottom: 1.5rem;
}

.register-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.register-form input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.75rem;
  font-size: 1rem;
}

.register-btn {
  width: 100%;
  background: #0E7D88;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: background 0.2s;
}

.register-btn:hover {
  background: #0C6C76;
}

.required-label {
  color: #b91c1c;
  font-weight: 600;
}

.readonly-field {
  background-color: #e5e7eb;
}

.register-error {
  background: #E6F4F6;
  border: 1px solid #0E7D88;
  color: #0E7D88;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 1rem;
}

.referral-notice {
  background: #E6F4F6;
  border: 1px solid #FF5733;
  color: #FF5733;
  padding: 0.75rem;
  font-size: 0.9rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  text-align: center;
}

.mpesa-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mpesa-input img {
  width: 24px;
  height: 16px;
}

.hint {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.switch-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.switch-link a {
  color: #0E7D88;
  font-weight: 600;
  text-decoration: none;
}

.switch-link a:hover {
  text-decoration: underline;
}
