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

html {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #2d3748;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

body {
  padding: 24px;
}

.view {
  max-width: 500px;
  margin: 0 auto;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.subtitle {
  text-align: center;
  color: #718096;
  margin-bottom: 24px;
  font-size: 16px;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: #f7fafc;
  color: #4a5568;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.tab-btn.active {
  background: #667eea;
  color: white;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input {
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  width: 100%;
  transition: border 0.2s;
}

input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: #667eea;
  color: white;
}

.btn-primary:hover {
  background: #5a67d8;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #2d3748;
}

.btn-secondary:hover {
  background: #f7fafc;
}

.error-message {
  color: #e53e3e;
  background: #fff5f5;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 16px;
  display: none;
}

.error-message:not(:empty) {
  display: block;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background: white;
  padding: 20px 32px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.payment-status {
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
}

.payment-status strong {
  color: #22543d;
}

ul {
  margin-left: 24px;
  margin-top: 12px;
}

li {
  margin-bottom: 8px;
}

.payment-container {
  max-width: 500px;
  margin: 0 auto;
}

.auth-container {
  max-width: 500px;
  margin: 0 auto;
}