/* My Sign-Ups — app-specific styles. Shared chrome (masthead, beta banner,
   buttons, spinner, auth screen) comes from theme.css. This app overrides the
   theme .container to a plain centered wrapper and renders each block as its
   own white card (same pattern as activities-list). */

.container {
  max-width: 900px;
  margin: 0 auto;
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

/* Header card */
.page-header {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-header h1 {
  color: #333;
  font-size: 2rem;
  font-weight: 600;
}

/* Screens (loading / auth / main) as white cards */
.screen {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
}

#loading-screen,
#auth-screen {
  text-align: center;
}

.intro {
  color: #666;
  margin-bottom: 24px;
}

/* Activity cards */
.activities-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.activity-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  background: #f9f9f9;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.activity-card h3 {
  font-size: 1.25rem;
  color: #02133e;
  margin-bottom: 6px;
}

.activity-date {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.activity-date strong {
  color: #333;
}

/* Per-person blocks within an activity */
.people {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.person {
  background: #fff;
  border: 1px solid #e9ecef;
  border-left-width: 4px;
  border-radius: 6px;
  padding: 12px 16px;
}

.person-ok {
  border-left-color: #34a853;
}

.person-needs {
  border-left-color: #f0ad4e;
}

.person-name {
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.flags {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flag {
  background: #fff4e5;
  border: 1px solid #f0ad4e;
  color: #8a6d3b;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.flag-link {
  margin-left: 8px;
  color: #02133e;
  font-weight: 700;
}

.all-set {
  color: #1e7e34;
  font-weight: 600;
  font-size: 0.9rem;
}

.empty-state {
  color: #999;
  font-style: italic;
  text-align: center;
  padding: 40px 20px;
}

/* Messages */
.error-message {
  background: #fee;
  color: #c33;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #c33;
}

@media (max-width: 600px) {
  .activity-header {
    flex-direction: column;
  }
}
