.santa-body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #134e3a;
  color: #f9fafb;
  min-height: 100vh;
}

.santa-app {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.santa-snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.snowflake {
  position: absolute;
  top: -10vh;
  left: var(--x, 50%);
  width: var(--size, 3px);
  height: var(--size, 3px);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  opacity: 0;
  animation: snow-down var(--duration, 12s) linear infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes snow-down {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--drift, 8px), 110vh, 0);
    opacity: 0;
  }
}

.santa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #b91c1c;
  color: #fff7ed;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.santa-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.santa-logo {
  font-size: 24px;
}

.santa-title {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.santa-subtitle {
  font-size: 13px;
  color: #e5e7eb;
}

#santa-party-description {
  white-space: pre-line;
}

.santa-main {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.santa-flash {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.santa-flash.info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
}

.santa-flash.error {
  background: #fef2f2;
  border-color: #fecdd3;
  color: #991b1b;
}

.santa-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #0f172a;
  backdrop-filter: blur(6px);
}

.santa-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.santa-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.santa-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: #0f172a;
}

.santa-form input,
.santa-form textarea,
.santa-inline-form input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 15px;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.santa-form input:focus,
.santa-form textarea:focus,
.santa-inline-form input:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.santa-inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.santa-button {
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  background: #dc2626;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
}

.santa-button:hover {
  transform: translateY(-1px);
}

.santa-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.santa-button.ghost {
  background: #ffffff;
  color: #166534;
  border: 1px solid #e5e7eb;
  box-shadow: none;
}

.santa-button.small {
  padding: 8px 10px;
  font-size: 13px;
}

.santa-muted {
  color: #6b7280;
  margin: 4px 0 10px;
}

.santa-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 16px 0;
}

.santa-link-row {
  margin-top: 8px;
  padding: 10px;
  background: #ecfeff;
  border: 1px solid #67e8f9;
  border-radius: 12px;
  color: #0e7490;
  font-size: 14px;
  word-break: break-all;
}

.santa-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.santa-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 12px;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 700;
  font-size: 13px;
}

.santa-editable {
  cursor: pointer;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
  display: inline-block;
  padding-bottom: 2px;
}

.santa-badge.subtle {
  background: #e5e7eb;
  color: #1f2937;
}

.santa-assignment {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #fef9c3;
  border: 1px solid #fef08a;
  color: #854d0e;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.santa-participants {
  margin: 10px 0;
}

.santa-admin-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.santa-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 10px;
}

.santa-list li {
  padding: 8px 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  margin-bottom: 6px;
  font-size: 14px;
}

.santa-auth-form {
  display: none;
}

.santa-auth-form.active {
  display: flex;
}

.santa-auth-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.santa-tab {
  flex: 1;
  padding: 10px;
  background: #fef2f2;
  border: 1px solid #fecdd3;
  color: #991b1b;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
}

.santa-tab.active {
  background: #166534;
  color: #fff;
  border-color: #166534;
}
@media (min-width: 900px) {
  .santa-main {
    grid-template-columns: 1fr 1fr;
  }
}
