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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', sans-serif;
  background: #f5f5f5;
  color: #333;
  min-height: 100vh;
}

.screen {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-top: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 22px;
  color: #1a1a1a;
}

h2 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 20px;
}

p {
  text-align: center;
  margin-bottom: 16px;
  color: #666;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus {
  outline: none;
  border-color: #06C755;
  box-shadow: 0 0 0 3px rgba(6, 199, 85, 0.1);
}

.btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 10px;
}

.btn:active {
  opacity: 0.7;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: #06C755;
  color: #fff;
}

.btn-secondary {
  background: #e8e8e8;
  color: #333;
}

/* Loading spinner */
#loading {
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e8e8e8;
  border-top-color: #06C755;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}

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