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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #1a472a;
  color: #333;
  min-height: 100vh;
}

.container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

header {
  text-align: center;
  padding: 24px 0;
  color: #fff;
}

.santa-icon {
  font-size: 64px;
  margin-bottom: 8px;
}

h1 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 1rem;
  opacity: 0.85;
}

form {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  margin-bottom: 24px;
}

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

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

input[type="text"],
input[type="date"] {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
}

input:focus {
  outline: none;
  border-color: #c41e3a;
}

button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: #c41e3a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

button[type="submit"]:hover {
  background: #a01830;
}

button[type="submit"]:active {
  transform: scale(0.98);
}

button[type="submit"]:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.message {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
}

.message.success {
  background: #e8f5e9;
  color: #2e7d32;
}

.message.error {
  background: #ffebee;
  color: #c62828;
}

#predictions-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#predictions-section h2 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 16px;
  text-align: center;
}

.predictions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prediction-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #f8f8f8;
  border-radius: 8px;
  border-left: 4px solid #1a472a;
}

.prediction-card.is-you {
  background: #fff3e0;
  border-left-color: #c41e3a;
}

.prediction-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.prediction-name .you-badge {
  font-size: 0.75rem;
  background: #c41e3a;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 500;
}

.prediction-date {
  font-size: 0.9rem;
  color: #666;
  white-space: nowrap;
}

.loading, .empty {
  text-align: center;
  color: #999;
  padding: 20px 0;
  font-size: 0.9rem;
}
