/**
 * Happy Baby Names - Styles
 * A soft, feminine design for couples finding baby names
 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  touch-action: manipulation;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.feather {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: middle;
}
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #fdf6f9 0%, #fef9f3 100%);
  background-attachment: fixed;
  color: #5a5a5a;
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  overflow-x: hidden;
}
body.page-swipe {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  position: fixed;
  width: 100%;
}
a {
  color: #c06b84;
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: #d4849a;
}
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.page-swipe .app-container {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
}
.page-swipe .main-content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 8px 16px;
}
.app-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #5a5a5a;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}
@media (min-width: 400px) {
  .nav-logo {
    gap: 8px;
    font-size: 1.25rem;
  }
}
.nav-logo .logo-icon {
  font-size: 1.25rem;
}
@media (min-width: 400px) {
  .nav-logo .logo-icon {
    font-size: 1.5rem;
  }
}
.nav-logo .logo-text {
  white-space: nowrap;
}
.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-user .user-name {
  color: #8a8a8a;
  font-size: 0.875rem;
}
.nav-user .nav-link {
  color: #8a8a8a;
  font-size: 0.875rem;
}
.nav-user .nav-link:hover {
  color: #5a5a5a;
}
.nav-user .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.15s ease;
  color: #c06b84;
}
.nav-user .nav-icon .feather {
  width: 18px;
  height: 18px;
}
.nav-user .nav-icon:hover {
  background: #fdf6f9;
  border-color: #d4849a;
  transform: scale(1.05);
}
.flash-message {
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  text-align: center;
  animation: slideDown 0.3s ease;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.flash-message.flash-success {
  background: rgba(125, 181, 154, 0.15);
  border: 1px solid #7db59a;
}
.flash-message.flash-error {
  background: rgba(212, 132, 154, 0.15);
  border: 1px solid #d4849a;
}
.error-message {
  background: rgba(212, 132, 154, 0.15);
  border: 1px solid #d4849a;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-primary {
  background: linear-gradient(135deg, #d4849a, #c06b84);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 4px 20px rgba(212, 132, 154, 0.25);
}
.btn-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 4px 25px rgba(212, 132, 154, 0.35);
}
.btn-primary:active {
  color: white;
  transform: translateY(0);
}
.btn-secondary {
  background: #ffffff;
  color: #5a5a5a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.btn-secondary:hover {
  border-color: #d4849a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.btn-lg {
  padding: 24px 32px;
  font-size: 1.125rem;
  border-radius: 20px;
}
.btn-full {
  width: 100%;
}
.btn-copy {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #5a5a5a;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-copy:hover {
  background: #fdf6f9;
  border-color: #d4849a;
}
.btn-copy.copied {
  background: #7db59a;
  border-color: #7db59a;
  color: white;
  font-weight: 600;
}
.btn-danger {
  background: rgba(220, 100, 100, 0.1);
  border: 1px solid rgba(220, 100, 100, 0.3);
  color: #c06060;
}
.btn-danger:hover {
  background: rgba(220, 100, 100, 0.2);
}
.btn.loading {
  opacity: 0.8;
  cursor: wait;
}
.btn .btn-spinner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #5a5a5a;
}
.form-group input {
  width: 100%;
  padding: 16px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  color: #5a5a5a;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.form-group input::placeholder {
  color: #aaaaaa;
}
.form-group input:focus {
  outline: none;
  border-color: #d4849a;
  box-shadow: 0 0 0 3px rgba(212, 132, 154, 0.2);
}
.input-group {
  display: flex;
  gap: 8px;
}
.input-group input {
  flex: 1;
}
.input-code {
  font-family: monospace;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
}
.landing-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.landing-hero {
  text-align: center;
  padding: 4px 0;
}
.landing-hero .hero-decoration {
  font-size: 3rem;
  margin-bottom: 4px;
  animation: float 3s ease-in-out infinite;
}
.landing-hero .hero-title {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #d4849a, #c06b84);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.landing-hero .hero-tagline {
  color: #8a8a8a;
  font-size: 1.125rem;
}
.landing-main {
  text-align: center;
}
.session-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.landing-note {
  margin-top: 16px;
  color: #aaaaaa;
  font-size: 0.875rem;
  line-height: 1.6;
}
.landing-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.action-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.action-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.action-card h2 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.action-card p {
  color: #8a8a8a;
  margin-bottom: 24px;
}
.card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-divider span {
  background: #fdf6f9;
  padding: 0 16px;
  color: #aaaaaa;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.card-divider::before,
.card-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}
.landing-how-it-works {
  padding: 32px 0;
}
.landing-how-it-works h3 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 32px;
  color: #8a8a8a;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.step {
  display: flex;
  gap: 16px;
}
.step .step-number {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4849a, #c06b84);
  border-radius: 9999px;
  font-weight: 600;
  color: white;
}
.step .step-content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.step .step-content p {
  color: #8a8a8a;
  font-size: 0.875rem;
}
.signup-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 16px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8a8a8a;
  margin-bottom: 24px;
}
.back-link .back-arrow {
  font-size: 1.25rem;
}
.back-link:hover {
  color: #5a5a5a;
}
.signup-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.signup-header {
  text-align: center;
  margin-bottom: 32px;
}
.signup-header .signup-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.signup-header h1 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.signup-header p {
  color: #8a8a8a;
}
.code-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fdf6f9;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
}
.code-display .label {
  color: #8a8a8a;
  font-size: 0.875rem;
}
.code-display .code-value {
  font-family: monospace;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #c06b84;
}
.signup-footer {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.signup-footer p {
  color: #8a8a8a;
  font-size: 0.875rem;
}
.preferences-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.preferences-header {
  text-align: center;
}
.preferences-header h1 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
@media (min-width: 400px) {
  .preferences-header h1 {
    font-size: 1.75rem;
  }
}
.preferences-header p {
  color: #8a8a8a;
}
.share-code-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.share-code-card .share-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.share-code-card h3 {
  font-size: 1rem;
  margin-bottom: 24px;
}
.share-code-card .share-hint {
  color: #aaaaaa;
  font-size: 0.875rem;
  margin-top: 16px;
}
.share-code-card.compact {
  padding: 24px;
}
.code-display-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.code-display-large .code {
  font-family: monospace;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #c06b84;
}
.share-link-container {
  display: flex;
  gap: 8px;
  width: 100%;
}
.share-link-input {
  flex: 1;
  padding: 16px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  background: #fdf6f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  color: #c06b84;
  min-width: 0;
}
.share-link-input:focus {
  outline: none;
  border-color: #d4849a;
}
.preference-section {
  margin-bottom: 32px;
}
.preference-section h2 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.preference-section > p {
  color: #8a8a8a;
  font-size: 0.875rem;
  margin-bottom: 24px;
}
.option-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}
@media (min-width: 400px) {
  .option-cards {
    gap: 16px;
  }
}
.option-cards.option-cards-2x2 {
  grid-template-columns: repeat(2, 1fr);
}
.option-card {
  cursor: pointer;
  min-width: 0;
}
.option-card input {
  display: none;
}
.option-card .card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  text-align: center;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  height: 100%;
}
@media (min-width: 400px) {
  .option-card .card-content {
    padding: 24px 16px;
  }
}
.option-card .card-emoji {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
@media (min-width: 400px) {
  .option-card .card-emoji {
    font-size: 2rem;
    margin-bottom: 8px;
  }
}
.option-card .card-label {
  font-weight: 500;
  font-size: 0.875rem;
}
@media (min-width: 400px) {
  .option-card .card-label {
    font-size: 1rem;
  }
}
.option-card .card-desc {
  color: #aaaaaa;
  font-size: 0.625rem;
  margin-top: 4px;
}
@media (min-width: 400px) {
  .option-card .card-desc {
    font-size: 0.75rem;
  }
}
.option-card input:checked + .card-content {
  border-color: #d4849a;
  background: rgba(212, 132, 154, 0.1);
  box-shadow: 0 4px 20px rgba(212, 132, 154, 0.25);
}
.option-card:hover .card-content {
  border-color: #d4849a;
}
.swipe-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 8px;
  padding-bottom: max(8px, env(safe-area-inset-bottom, 8px));
}
.swipe-header {
  padding: 4px 0;
  flex-shrink: 0;
}
.progress-section {
  display: flex;
  align-items: center;
  gap: 16px;
}
.progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 9999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #d4849a, #c06b84);
  border-radius: 9999px;
  transition: width 0.3s ease;
}
.progress-text {
  font-size: 0.875rem;
  color: #8a8a8a;
  min-width: 60px;
  text-align: right;
}
.progress-text .current {
  color: #5a5a5a;
  font-weight: 600;
}
.partner-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #8a8a8a;
  margin-top: 8px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.partner-progress .partner-label {
  color: #8a8a8a;
  font-weight: 500;
}
.partner-progress .partner-count {
  color: #c06b84;
  font-weight: 600;
  font-size: 1rem;
}
.partner-progress .partner-done {
  color: #7db59a;
  font-weight: 600;
  font-size: 1rem;
}
.partner-progress .partner-waiting {
  font-style: italic;
  color: #aaaaaa;
}
.swipe-deck {
  flex: 1;
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.name-card {
  position: absolute;
  width: calc(100% - 20px);
  max-width: 320px;
  height: 100%;
  max-height: 420px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: none;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  display: none;
}
.name-card.dragging {
  cursor: grabbing;
}
.name-card.active {
  z-index: 10;
}
.name-card.active {
  display: block;
}
.card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}
.card-badge {
  background: #fdf6f9;
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a8a8a;
  margin-bottom: 24px;
}
.card-name {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #5a5a5a;
}
.card-origin {
  color: #8a8a8a;
  font-size: 1rem;
  margin-bottom: 24px;
}
.card-gender {
  color: #aaaaaa;
  font-size: 0.875rem;
}
.swipe-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.swipe-overlay.overlay-like {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(16, 185, 129, 0.7));
  color: white;
}
.swipe-overlay.overlay-nope {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(239, 68, 68, 0.7));
  color: white;
}
.swipe-overlay.overlay-superlike {
  background: linear-gradient(135deg, #f8d56b, #f5c842);
  color: #5a5a5a;
}
.swipe-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 8px 0;
  flex-shrink: 0;
  padding-bottom: 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
}
.action-btn {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.action-btn .action-icon {
  font-size: 1.6rem;
}
.action-btn.action-nope {
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid rgba(239, 68, 68, 0.5);
}
.action-btn.action-nope:hover {
  background: rgba(239, 68, 68, 0.3);
  transform: scale(1.1);
}
.action-btn.action-like {
  background: rgba(16, 185, 129, 0.2);
  border: 2px solid rgba(16, 185, 129, 0.5);
}
.action-btn.action-like:hover {
  background: rgba(16, 185, 129, 0.3);
  transform: scale(1.1);
}
.action-btn.action-superlike {
  background: rgba(248, 181, 0, 0.2);
  border: 2px solid rgba(248, 181, 0, 0.5);
}
.action-btn.action-superlike:hover {
  background: rgba(248, 181, 0, 0.3);
  transform: scale(1.1);
}
.swipe-hints {
  display: none;
  justify-content: space-between;
  padding: 0 8px;
}
.swipe-hints .hint {
  font-size: 0.625rem;
  color: #aaaaaa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) {
  .swipe-hints {
    display: flex;
  }
}
.empty-deck {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}
.empty-deck .empty-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}
.empty-deck h2 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.empty-deck p {
  color: #8a8a8a;
  margin-bottom: 32px;
}
.results-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.waiting-card {
  text-align: center;
  padding: 32px;
}
.waiting-card .waiting-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  animation: pulse 2s ease-in-out infinite;
}
.waiting-card h1 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.75rem;
  margin-bottom: 16px;
}
.waiting-card p {
  color: #8a8a8a;
  margin-bottom: 24px;
}
.waiting-card .waiting-hint {
  color: #aaaaaa;
  font-size: 0.875rem;
}
.waiting-card .waiting-hint.small {
  font-size: 0.75rem;
  margin-top: 8px;
}
.your-stats {
  margin-top: 32px;
  padding: 24px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.your-stats h3 {
  font-size: 0.875rem;
  color: #8a8a8a;
  margin-bottom: 16px;
}
.your-stats .stat-row {
  display: flex;
  justify-content: space-between;
}
.your-stats .stat-row .stat-label {
  color: #8a8a8a;
}
.your-stats .stat-row .stat-value {
  font-weight: 600;
}
.partner-status {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  margin: 32px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.status-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.status-row .status-name {
  font-weight: 500;
}
.status-row .status-indicator {
  font-size: 0.875rem;
}
.status-row .status-indicator.complete {
  color: #7db59a;
}
.status-row .status-indicator.in-progress {
  color: #c06b84;
}
.results-header {
  text-align: center;
  padding: 32px 0;
}
.results-header .results-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  animation: celebrate 0.5s ease-out;
}
.results-header h1 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2rem;
  margin-bottom: 8px;
}
.results-header p {
  color: #8a8a8a;
}
.no-matches {
  text-align: center;
  padding: 48px;
}
.no-matches .no-matches-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}
.no-matches h2 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  margin-bottom: 16px;
}
.no-matches p {
  color: #8a8a8a;
  margin-bottom: 32px;
}
.matches-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.match-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 16px;
  animation: fadeInUp 0.4s ease-out backwards;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.match-card:nth-child(1) {
  animation-delay: 0.1s;
}
.match-card:nth-child(2) {
  animation-delay: 0.15s;
}
.match-card:nth-child(3) {
  animation-delay: 0.2s;
}
.match-card:nth-child(4) {
  animation-delay: 0.25s;
}
.match-card:nth-child(5) {
  animation-delay: 0.3s;
}
.match-card.super-match {
  border-color: #f5c842;
  background: linear-gradient(145deg, rgba(245, 200, 66, 0.1), #ffffff);
}
.match-card.strong-match {
  border-color: rgba(245, 200, 66, 0.5);
}
.match-rank {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdf6f9;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
}
.super-match .match-rank {
  background: linear-gradient(135deg, #f8d56b, #f5c842);
  color: #5a5a5a;
}
.match-content {
  flex: 1;
  min-width: 0;
}
.match-content .match-name {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.match-content .match-details {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  color: #8a8a8a;
}
.match-score {
  text-align: right;
}
.match-score .score-badge {
  font-size: 1.25rem;
}
.match-score .score-badge.super {
  animation: glow 1s ease-in-out infinite alternate;
}
.match-score .score-text {
  display: block;
  font-size: 0.625rem;
  color: #aaaaaa;
  margin-top: 4px;
}
.results-summary {
  text-align: center;
  padding: 24px;
}
.results-summary p {
  color: #8a8a8a;
}
.results-summary p strong {
  color: #c06b84;
}
.unmatched-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.unmatched-section h3 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.125rem;
  margin-bottom: 4px;
  text-align: center;
}
.unmatched-section .section-subtitle {
  text-align: center;
  color: #8a8a8a;
  font-size: 0.875rem;
  margin-bottom: 24px;
}
.unmatched-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.unmatched-card {
  background: #ffffff;
  border: 1px solid rgba(245, 200, 66, 0.3);
  border-radius: 12px;
  padding: 8px 16px;
  text-align: center;
}
.unmatched-card .unmatched-name {
  font-weight: 500;
  margin-bottom: 4px;
}
.unmatched-card .unmatched-who {
  font-size: 0.75rem;
  color: #8a8a8a;
}
.results-actions {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.95);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes celebrate {
  0% {
    transform: scale(0) rotate(-20deg);
  }
  50% {
    transform: scale(1.2) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}
@keyframes glow {
  from {
    filter: drop-shadow(0 0 5px rgba(245, 200, 66, 0.4));
  }
  to {
    filter: drop-shadow(0 0 12px rgba(245, 200, 66, 0.6));
  }
}
@media (min-width: 768px) {
  .main-content {
    max-width: 540px;
    padding: 32px;
  }
  .page-swipe .main-content {
    padding: 16px 32px;
  }
  .landing-hero {
    padding: 4px 0;
  }
  .landing-hero .hero-title {
    font-size: 1.5rem;
  }
  .option-cards.option-cards-2x2 {
    grid-template-columns: repeat(4, 1fr);
  }
  .name-card {
    max-width: 360px;
    max-height: 480px;
  }
  .card-name {
    font-size: 3.5rem;
  }
  .action-btn {
    width: 68px;
    height: 68px;
  }
  .action-btn .action-icon {
    font-size: 1.8rem;
  }
}
@media (min-width: 1024px) {
  .main-content {
    max-width: 600px;
  }
}
.profile-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.profile-header {
  text-align: center;
}
.profile-greeting h1 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.profile-greeting p {
  color: #8a8a8a;
  font-size: 0.875rem;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}
@media (min-width: 400px) {
  .stats-row {
    gap: 16px;
  }
}
.stat-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  min-width: 0;
}
@media (min-width: 400px) {
  .stat-card {
    border-radius: 20px;
    padding: 16px;
  }
}
.stat-card .stat-number {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #c06b84;
}
@media (min-width: 400px) {
  .stat-card .stat-number {
    font-size: 1.75rem;
  }
}
.stat-card .stat-label {
  font-size: 0.625rem;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
@media (min-width: 400px) {
  .stat-card .stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }
}
.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-actions .btn-full {
  width: 100%;
}
.profile-section {
  margin-top: 16px;
}
.profile-section h2 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 24px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.section-header h2 {
  margin-bottom: 0;
}
.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.session-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.session-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.session-info .session-name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.session-info .session-date {
  font-size: 0.75rem;
  color: #8a8a8a;
}
.solo-badge {
  font-size: 0.625rem;
  padding: 2px 6px;
  background: rgba(212, 132, 154, 0.15);
  color: #c06b84;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.session-status {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 9999px;
}
.session-status.complete {
  background: rgba(125, 181, 154, 0.15);
  color: #7db59a;
}
.session-status.in-progress {
  background: rgba(212, 132, 154, 0.15);
  color: #c06b84;
}
.session-details {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  color: #8a8a8a;
  margin-bottom: 8px;
}
.session-matches {
  font-size: 0.875rem;
  margin-bottom: 16px;
}
.session-matches .top-names {
  color: #8a8a8a;
  margin-left: 8px;
}
.session-waiting {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.waiting-badge {
  font-size: 0.75rem;
  padding: 4px 8px;
  background: rgba(212, 132, 154, 0.1);
  color: #c06b84;
  border-radius: 8px;
}
.share-link-btn {
  font-size: 0.75rem;
  color: #c06b84;
}
.share-link-btn:hover {
  text-decoration: underline;
}
.session-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.delete-form {
  display: inline;
}
.empty-state {
  text-align: center;
  padding: 48px;
}
.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.empty-state p {
  color: #8a8a8a;
}
.rankings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ranking-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.ranking-item.top-three {
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.1), #ffffff);
  border: 1px solid rgba(245, 200, 66, 0.3);
}
.ranking-position {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdf6f9;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.top-three .ranking-position {
  background: linear-gradient(135deg, #f8d56b, #f5c842);
  color: #5a5a5a;
}
.ranking-content {
  flex: 1;
  min-width: 0;
}
.ranking-content .ranking-name {
  font-weight: 500;
}
.ranking-content .ranking-meta {
  font-size: 0.75rem;
  color: #8a8a8a;
}
.ranking-score {
  font-size: 1.25rem;
}
.see-more {
  text-align: center;
  padding: 16px;
}
.see-more a {
  font-size: 0.875rem;
  color: #c06b84;
}
.account-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.account-bar span {
  font-size: 0.875rem;
  color: #8a8a8a;
}
.account-promo {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 24px;
  margin-top: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.account-promo .promo-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.account-promo .promo-content {
  flex: 1;
}
.account-promo .promo-content strong {
  display: block;
  margin-bottom: 4px;
}
.account-promo .promo-content p {
  font-size: 0.875rem;
  color: #8a8a8a;
  margin: 0;
}
.account-promo .btn {
  width: 100%;
}
.results-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.signup-prompt {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 24px;
  margin-top: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.signup-prompt .prompt-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.signup-prompt .prompt-content {
  flex: 1;
}
.signup-prompt .prompt-content strong {
  display: block;
  margin-bottom: 4px;
}
.signup-prompt .prompt-content p {
  font-size: 0.875rem;
  color: #8a8a8a;
  margin: 0;
}
.signup-prompt .btn {
  width: 100%;
}
.profile-link {
  text-align: center;
  padding: 24px 0;
}
.profile-link a {
  color: #c06b84;
  font-size: 0.875rem;
}
.share-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 24px;
}
.share-hero {
  text-align: center;
}
.share-hero .share-icon-large {
  font-size: 3rem;
  margin-bottom: 16px;
}
.share-hero h1 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #5a5a5a;
}
.share-hero p {
  color: #8a8a8a;
  font-size: 1rem;
  line-height: 1.5;
}
.share-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.share-link-container {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.share-link-container .share-link-input {
  flex: 1;
  padding: 16px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  background: #fdf6f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  color: #c06b84;
  min-width: 0;
}
.share-link-container .share-link-input:focus {
  outline: none;
  border-color: #d4849a;
}
.share-link-container .btn-copy {
  padding: 16px 24px;
  white-space: nowrap;
}
.share-divider {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.share-divider span {
  padding: 0 16px;
  color: #aaaaaa;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.share-divider::before,
.share-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}
.share-options {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.875rem;
  color: #c06b84;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.15s ease;
}
.share-btn span {
  font-size: 1rem;
}
.share-btn:hover {
  background: #fdf6f9;
}
.share-btn.share-whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}
.share-btn.share-email:hover {
  background: rgba(212, 132, 154, 0.1);
}
.share-actions {
  text-align: center;
  margin-top: auto;
  padding-bottom: 24px;
}
.share-note {
  margin-top: 16px;
  color: #8a8a8a;
  font-size: 0.875rem;
}
.history-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.history-header {
  text-align: center;
}
.history-header .back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.875rem;
}
.history-header h1 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.75rem;
  margin-bottom: 4px;
}
.history-header p {
  color: #8a8a8a;
}
.history-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}
.summary-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  text-decoration: none;
  color: #5a5a5a;
  transition: all 0.15s ease;
  min-width: 0;
  text-align: center;
}
@media (min-width: 400px) {
  .summary-card {
    padding: 16px;
  }
}
.summary-card.active {
  border-color: #d4849a;
  background: rgba(212, 132, 154, 0.1);
}
.summary-card:hover {
  border-color: #d4849a;
}
.summary-card .summary-icon {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
@media (min-width: 400px) {
  .summary-card .summary-icon {
    font-size: 1.5rem;
  }
}
.summary-card .summary-count {
  font-size: 1.25rem;
  font-weight: 600;
}
@media (min-width: 400px) {
  .summary-card .summary-count {
    font-size: 1.5rem;
  }
}
.summary-card .summary-label {
  font-size: 0.625rem;
  color: #8a8a8a;
  white-space: nowrap;
}
@media (min-width: 400px) {
  .summary-card .summary-label {
    font-size: 0.75rem;
  }
}
.filter-active {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: #fdf6f9;
  border-radius: 12px;
  font-size: 0.875rem;
}
.filter-active .clear-filter {
  color: #c06b84;
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.history-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.history-action {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.history-content {
  flex: 1;
  min-width: 0;
}
.history-content .history-name {
  font-weight: 500;
}
.history-content .history-meta {
  font-size: 0.75rem;
  color: #8a8a8a;
}
.history-badge {
  font-size: 0.625rem;
  padding: 4px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.history-badge.superlike {
  background: rgba(245, 200, 66, 0.2);
  color: #c9a000;
}
.history-badge.like {
  background: rgba(125, 181, 154, 0.2);
  color: #7db59a;
}
.history-badge.dislike {
  background: rgba(0, 0, 0, 0.05);
  color: #8a8a8a;
}
.history-who {
  font-size: 0.625rem;
  padding: 4px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.05);
  color: #8a8a8a;
}
.history-who.you {
  background: rgba(212, 132, 154, 0.15);
  color: #c06b84;
}
.history-who.partner {
  background: rgba(125, 181, 154, 0.15);
  color: #7db59a;
}
.history-who.both {
  background: rgba(168, 216, 200, 0.2);
  color: #4a9a7d;
}
.history-note {
  text-align: center;
  color: #aaaaaa;
  font-size: 0.875rem;
  padding: 16px;
}
.page-export .main-content {
  padding: 24px;
}
.export-container {
  max-width: 500px;
  margin: 0 auto;
}
.export-header {
  text-align: center;
  margin-bottom: 32px;
}
.export-header .export-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.export-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #5a5a5a;
}
.export-header p {
  color: #8a8a8a;
  font-size: 0.9375rem;
}
.export-preview {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.export-preview h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a8a8a;
  margin-bottom: 16px;
}
.names-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.preview-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.preview-item:last-child {
  border-bottom: none;
}
.preview-rank {
  font-weight: 600;
  color: #d4849a;
  min-width: 24px;
}
.preview-name {
  flex: 1;
  font-weight: 500;
  color: #5a5a5a;
}
.preview-meta {
  font-size: 0.75rem;
  color: #8a8a8a;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 8px;
  border-radius: 9999px;
}
.preview-more {
  text-align: center;
  color: #8a8a8a;
  font-size: 0.875rem;
  padding-top: 8px;
  font-style: italic;
}
.export-options {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.export-options h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a8a8a;
  margin-bottom: 0;
}
.export-form {
  margin: 0;
}
.export-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fdf6f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
  min-height: 72px;
}
.export-option:hover {
  border-color: #d4849a;
  background: rgba(212, 132, 154, 0.05);
}
.option-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.option-content {
  flex: 1;
  min-width: 0;
}
.option-title {
  font-size: 1rem;
  font-weight: 600;
  color: #5a5a5a;
  margin-bottom: 2px;
}
.option-desc {
  font-size: 0.8125rem;
  color: #8a8a8a;
}
.email-option {
  flex-wrap: wrap;
}
.email-option .option-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.email-option .option-title {
  width: 100%;
  margin-bottom: 4px;
}
.email-option input[type="email"] {
  flex: 1;
  min-width: 150px;
  padding: 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-size: 0.875rem;
  background: #ffffff;
}
.email-option input[type="email"]:focus {
  outline: none;
  border-color: #d4849a;
}
.email-option .btn {
  flex-shrink: 0;
}
.page-login .main-content,
.page-register .main-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.auth-container {
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.auth-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: 16px;
}
.auth-header {
  text-align: center;
  margin-bottom: 32px;
}
.auth-header .auth-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.auth-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #5a5a5a;
}
.auth-header p {
  color: #8a8a8a;
  font-size: 0.9375rem;
}
.auth-form .form-group {
  margin-bottom: 16px;
}
.auth-form .btn {
  margin-top: 16px;
}
.auth-footer {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.auth-footer p {
  margin: 0;
  color: #8a8a8a;
  font-size: 0.9375rem;
}
.auth-footer a {
  color: #d4849a;
  font-weight: 600;
  text-decoration: none;
}
.auth-footer a:hover {
  text-decoration: underline;
}
.account-benefits {
  margin-top: 32px;
  padding: 24px;
  background: #fdf6f9;
  border-radius: 12px;
}
.account-benefits h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #5a5a5a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.account-benefits h3 .feather {
  width: 18px;
  height: 18px;
  color: #c06b84;
}
.account-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.account-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: #5a5a5a;
}
.account-benefits li .feather {
  width: 18px;
  height: 18px;
  color: #c06b84;
  flex-shrink: 0;
}
.account-benefits li::before {
  content: none;
}
.error-message {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #c0392b;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  text-align: center;
}
.page-welcome .main-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.welcome-container {
  max-width: 480px;
  width: 100%;
}
.welcome-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.welcome-card .welcome-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.welcome-card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #5a5a5a;
}
@media (min-width: 400px) {
  .welcome-card h1 {
    font-size: 1.75rem;
  }
}
.welcome-card .welcome-intro {
  color: #8a8a8a;
  margin-bottom: 32px;
}
.welcome-details {
  background: #fdf6f9;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
}
.welcome-details h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a8a8a;
  margin-bottom: 8px;
}
.welcome-details .detail-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.9375rem;
}
.welcome-details .detail-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.welcome-details .detail-label {
  color: #8a8a8a;
}
.welcome-details .detail-value {
  font-weight: 500;
  color: #5a5a5a;
}
.welcome-instructions {
  margin-bottom: 32px;
  text-align: left;
}
.welcome-instructions h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a8a8a;
  margin-bottom: 16px;
  text-align: center;
}
.welcome-instructions .instruction-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.welcome-instructions .instruction-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  background: #fdf6f9;
  border-radius: 12px;
}
.welcome-instructions .instruction-step .step-icon {
  font-size: 1.25rem;
}
.welcome-instructions .instruction-step .step-text {
  font-size: 0.9375rem;
}
.welcome-instructions .instruction-note {
  font-size: 0.875rem;
  color: #8a8a8a;
  text-align: center;
  font-style: italic;
}
.welcome-account-hint {
  text-align: center;
  margin-top: 24px;
}
.welcome-account-hint p {
  font-size: 0.875rem;
  color: #8a8a8a;
}
.welcome-account-hint a {
  color: #d4849a;
  font-weight: 500;
}
.welcome-account-hint a:hover {
  text-decoration: underline;
}
.page-join .main-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px);
}
.join-container {
  max-width: 420px;
  width: 100%;
}
.join-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.join-card .join-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}
.join-card h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #5a5a5a;
}
.join-card .join-intro {
  color: #8a8a8a;
  margin-bottom: 32px;
  font-size: 1rem;
}
.join-details {
  background: #fdf6f9;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
}
.join-details h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8a8a8a;
  margin-bottom: 8px;
  font-weight: 600;
}
.join-details .detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 0.9375rem;
}
.join-details .detail-row .detail-label {
  color: #8a8a8a;
}
.join-details .detail-row .detail-value {
  color: #5a5a5a;
  font-weight: 500;
}
.join-instructions {
  background: #fdf6f9;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 32px;
  text-align: left;
}
.join-instructions h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8a8a8a;
  margin-bottom: 8px;
  font-weight: 600;
}
.join-instructions .instruction-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.join-instructions .instruction-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
}
.join-instructions .instruction-step .step-icon {
  font-size: 1.25rem;
  width: 32px;
  text-align: center;
}
.join-instructions .instruction-step .step-text {
  font-size: 0.9375rem;
  color: #5a5a5a;
}
.join-instructions .instruction-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: #8a8a8a;
  text-align: center;
  font-style: italic;
}
.join-form {
  margin-bottom: 16px;
}
.join-note {
  font-size: 0.875rem;
  color: #8a8a8a;
  text-align: center;
}
.join-note a {
  color: #c06b84;
  font-weight: 500;
}

/* Form divider and note */
.form-divider {
  display: flex;
  align-items: center;
  margin: 24px 0 16px;
  color: #8a8a8a;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}
.form-divider span {
  padding: 0 12px;
}
.form-note {
  font-size: 0.8125rem;
  color: #8a8a8a;
  text-align: center;
  margin: 16px 0;
  font-style: italic;
}

/* Select inputs */
.form-group select {
  width: 100%;
  padding: 16px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  color: #5a5a5a;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group select:focus {
  outline: none;
  border-color: #d4849a;
  box-shadow: 0 0 0 3px rgba(212, 132, 154, 0.2);
}

/* Admin Styles */
.admin-container {
  min-height: 100vh;
  background: #f5f7fa;
}
.admin-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-header h1 {
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-header .admin-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.admin-header .admin-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  transition: color 0.15s ease;
}
.admin-header .admin-nav a:hover,
.admin-header .admin-nav a.active {
  color: white;
}
.admin-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}
.stat-card .stat-label {
  font-size: 0.875rem;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-card.highlight {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.stat-card.highlight .stat-value,
.stat-card.highlight .stat-label {
  color: white;
}
.admin-section {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}
.admin-section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th,
.admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}
.admin-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8a8a8a;
  font-weight: 600;
  background: #f8f9fa;
}
.admin-table tr:hover {
  background: #f8f9fa;
}
.admin-table .badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}
.admin-table .badge-admin {
  background: #667eea;
  color: white;
}
.admin-table .badge-male {
  background: #e3f2fd;
  color: #1565c0;
}
.admin-table .badge-female {
  background: #fce4ec;
  color: #c2185b;
}
.admin-table .badge-other {
  background: #f3e5f5;
  color: #7b1fa2;
}
.admin-login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 24px;
}
.admin-login-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.admin-login-card h1 {
  text-align: center;
  margin-bottom: 8px;
  color: #333;
}
.admin-login-card p {
  text-align: center;
  color: #8a8a8a;
  margin-bottom: 32px;
}
.chart-container {
  height: 250px;
  position: relative;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 200px;
  padding: 0 16px;
  border-bottom: 2px solid #e0e0e0;
}
.chart-bar {
  width: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: all 0.3s ease;
}
.chart-bar:hover {
  opacity: 0.8;
}
.chart-bar .bar-label {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #8a8a8a;
  white-space: nowrap;
}
.chart-bar .bar-value {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: #333;
}
.empty-state-admin {
  text-align: center;
  padding: 40px;
  color: #8a8a8a;
}
.admin-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-filters select,
.admin-filters input {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.875rem;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.pagination a {
  background: white;
  color: #333;
  border: 1px solid #e0e0e0;
}
.pagination a:hover {
  background: #f5f5f5;
  color: #333;
}
.pagination span.current {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

/* Historical session banner */
.historical-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.historical-banner .back-link {
  font-size: 0.875rem;
  color: #c06b84;
  font-weight: 500;
}
.historical-banner .session-name {
  font-size: 0.875rem;
  color: #8a8a8a;
  font-style: italic;
}
