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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  background: #ffffff;
  color: #222;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.invite-card {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#invite-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.invite-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  background: #ffffff;
  font-size: 16px;
  color: #222;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.invite-input::placeholder {
  color: #b0b0b0;
}

.invite-input:focus {
  border-color: #3b82f6;
  background: #fff;
}

.invite-input:disabled {
  opacity: 0.7;
}

.invite-button {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.invite-button:hover:not(:disabled) {
  background: #1d4ed8;
}

.invite-button:active:not(:disabled) {
  background: #1e40af;
}

.invite-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.invite-message {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  color: #6b7280;
}

.invite-message.error {
  color: #dc2626;
}

.invite-message.success {
  color: #16a34a;
}
