/* Event Selector — post-login, pre-planner */
#eventSelector {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
}
#eventSelector.hidden { display: none; }

.es-content {
  width: 100%;
  max-width: 520px;
  padding: 32px;
}

.es-header {
  text-align: center;
  margin-bottom: 36px;
}
.es-logo {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: -.2px;
  margin-bottom: 24px;
}
.es-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
  word-break: break-word;
}
.es-header p {
  font-size: .9rem;
  color: #64748B;
}

/* Event cards */
.es-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.es-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .1s;
  text-align: left;
  width: 100%;
}
.es-card:hover {
  border-color: #6366F1;
  box-shadow: 0 2px 12px rgba(99,102,241,.12);
}
.es-card:active {
  transform: scale(.99);
}
.es-card-soon {
  cursor: default;
  opacity: .6;
  border-style: dashed;
}
.es-card-soon:hover {
  border-color: #E2E8F0;
  box-shadow: none;
  transform: none;
}
.es-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EEF2FF;
  color: #4F46E5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.es-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.es-card-info strong {
  font-size: .95rem;
  font-weight: 600;
  color: #0F172A;
}
.es-card-info span {
  font-size: .8rem;
  color: #64748B;
}
.es-card-count {
  font-size: .75rem;
  color: #4F46E5;
  font-weight: 500;
  margin-top: 2px;
}
.es-card-arrow {
  color: #94A3B8;
  flex-shrink: 0;
  transition: color .2s, transform .2s;
}
.es-card:hover .es-card-arrow {
  color: #4F46E5;
  transform: translateX(2px);
}

/* Responsive */
@media (max-width: 600px) {
  .es-content { padding: 24px 16px; }
  .es-card { padding: 16px; }
}
