:root {
  /* Brand colors matching iOS app */
  --primary: #667eea; /* Purple-blue */
  --primary-dark: #764ba2; /* Purple */
  --bg-dark: #0f0f1a; /* Dark background top */
  --bg-dark-bottom: #1a1a2e; /* Dark background bottom */

  /* Legacy aliases for existing pages */
  --primary-green: #667eea;
  --secondary-green: #764ba2;
  --gold: #667eea;
  --gold-hover: #764ba2;
  --text-dark: #1a1a2e;
  --text-light: #f5f5f5;
  --bg-light: #f8f9fa;
  --bg-cream: #f8f9fc; /* Light background with slight blue tint */
  --white: #ffffff;
}

/* Consistent arrow styling for single-selects */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center; /* move arrow slightly left from edge */
  background-size: 12px 8px;
  padding-right: 40px; /* ensure text doesn't overlap the arrow */
}

@media (prefers-color-scheme: dark) {
  select {
    background-color: #2a2a2a;
    color: #ffffff;
    border-color: #cccccc; /* match lighter outline for visibility */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ddd' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
  select option {
    color: #ffffff;
    background-color: #2a2a2a;
  }
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  width: 300px;
  border-radius: 8px;
  border: none;
  margin: 2rem auto;
  display: block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
  background: #cccccc;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}
