    :root {
      --bg: #ffffff;
      --bg-accent: #f4f5f9;
      --card: rgba(255, 255, 255, 0.96);
      --card-border: rgba(0, 0, 0, 0.08);
      --text: #000000;
      --muted: #737373;
      --accent: #f23a2e;
      --accent-2: #f89d13;
      --danger: #f23a2e;
      --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
      --radius: 24px;
    }

    * {
      box-sizing: border-box;
    }

    html, body {
      margin: 0;
      min-height: 100%;
      font-family: Inter, Arial, Helvetica, sans-serif;
      background: #ffffff;
      color: var(--text);
    }

    body {
      padding: 32px 18px 48px;
    }

    .shell {
      max-width: 1100px;
      margin: 0 auto;
    }

    .topbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      margin-bottom: 28px;
      flex-wrap: wrap;
    }

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

    .brand-badge {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: url(images/flogo.jpg) center/cover no-repeat;
      display: grid;
      place-items: center;
      font-weight: 800;
      box-shadow: 0 10px 30px rgba(242, 58, 46, 0.2);
    }

    .brand h1 {
      margin: 0;
      font-size: 1.25rem;
      letter-spacing: 0.01em;
    }

    .brand p {
      margin: 4px 0 0;
      color: var(--muted);
      font-size: 0.95rem;
    }

    .actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    button {
      border: 0;
      border-radius: 14px;
      padding: 12px 16px;
      font-size: 0.95rem;
      font-weight: 700;
      cursor: pointer;
      transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
    }

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

    button:disabled {
      opacity: 0.65;
      cursor: wait;
      transform: none;
    }

    .primary-btn {
      color: #fff;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      box-shadow: 0 10px 22px rgba(242, 58, 46, 0.2);
    }

    .ghost-btn {
      color: var(--text);
      background: rgba(0, 0, 0, 0.04);
      border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .layout {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 24px;
    }

    .card {
      background: var(--card);
      backdrop-filter: blur(18px);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .hero {
      padding: 30px;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: auto -100px -100px auto;
      width: 280px;
      height: 280px;
      background: radial-gradient(circle, rgba(242, 58, 46, 0.18), transparent 65%);
      pointer-events: none;
    }

    .hero-top {
      display: flex;
      gap: 22px;
      align-items: center;
      flex-wrap: wrap;
      position: relative;
      z-index: 1;
    }

    .avatar-wrap {
      position: relative;
      width: 112px;
      height: 112px;
      flex: 0 0 auto;
    }

    .avatar,
    .avatar-fallback {
      width: 112px;
      height: 112px;
      border-radius: 28px;
      display: grid;
      place-items: center;
      object-fit: cover;
      background: linear-gradient(135deg, rgba(242, 58, 46, 0.12), rgba(248, 157, 19, 0.12));
      border: 1px solid rgba(0, 0, 0, 0.08);
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    }

    .avatar-fallback {
      font-size: 2rem;
      font-weight: 800;
      color: white;
    }

    .hero-copy {
      flex: 1 1 280px;
      min-width: 0;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 12px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.04);
      color: #737373;
      font-size: 0.82rem;
      font-weight: 700;
      margin-bottom: 14px;
    }

    .hero h2 {
      margin: 0 0 8px;
      font-size: clamp(1.8rem, 3vw, 2.8rem);
      line-height: 1.05;
    }

    .hero .email {
      margin: 0 0 16px;
      color: var(--muted);
      font-size: 1rem;
      word-break: break-word;
    }

    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .chip {
      padding: 9px 12px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.04);
      color: var(--text);
      border: 1px solid rgba(0, 0, 0, 0.08);
      font-size: 0.88rem;
      font-weight: 700;
    }

    .chip.green {
      background: rgba(34, 197, 94, 0.12);

      border-color: rgba(34, 197, 94, 0.18);
    }

    .details,
    .summary,
    .status-panel {
      padding: 28px;
    }

    .section-title {
      margin: 0 0 18px;
      font-size: 1.05rem;
      font-weight: 800;
      letter-spacing: 0.01em;
    }

    .field-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .field {
      padding: 16px;
      border-radius: 18px;
      background: rgba(0, 0, 0, 0.03);
      border: 1px solid rgba(0, 0, 0, 0.08);
      min-height: 96px;
    }

    .field label {
      display: block;
      font-size: 0.82rem;
      color: var(--muted);
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
    }

    .field .value {
      font-size: 1rem;
      font-weight: 700;
      line-height: 1.45;
      word-break: break-word;
    }

    .summary-list {
      display: grid;
      gap: 14px;
    }

    .summary-item {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      align-items: center;
      padding: 16px 18px;
      border-radius: 18px;
      background: rgba(0, 0, 0, 0.03);
      border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .summary-item span:first-child {
      color: var(--muted);
      font-weight: 600;
    }

    .summary-item span:last-child {
      font-weight: 800;
      text-align: right;
    }

    .status-panel {
      margin-top: 24px;
      display: flex;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
    }

    .status-message {
      font-size: 0.95rem;
      color: var(--muted);
      min-height: 24px;
    }

    .status-message.error {
      color: var(--danger);
    }

    .status-message.success {
      color: #86efac;
    }

    .loader {
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: var(--accent);
      box-shadow: 0 0 0 0 rgba(242, 58, 46, 0.6);
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(242, 58, 46, 0.55); }
      70% { box-shadow: 0 0 0 12px rgba(242, 58, 46, 0); }
      100% { box-shadow: 0 0 0 0 rgba(242, 58, 46, 0); }
    }

    @media (max-width: 920px) {
      .layout {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      body {
        padding: 20px 12px 32px;
      }

      .hero,
      .details,
      .summary,
      .status-panel {
        padding: 22px;
      }

      .field-grid {
        grid-template-columns: 1fr;
      }

      .hero-top {
        align-items: flex-start;
      }
    }

    .reservation-list {
      display: grid;
      gap: 14px;
    }

    .reservation-empty {
      padding: 18px;
      border-radius: 18px;
      background: rgba(0, 0, 0, 0.03);
      border: 1px solid rgba(0, 0, 0, 0.08);
      color: var(--muted);
    }

    .reservation-card {
      display: grid;
      gap: 14px;
      padding: 18px;
      border-radius: 18px;
      background: rgba(0, 0, 0, 0.03);
      border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .reservation-top {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: flex-start;
      flex-wrap: wrap;
    }

    .reservation-title {
      margin: 0;
      font-size: 1rem;
      font-weight: 800;
    }

    .reservation-subtitle {
      margin: 6px 0 0;
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.45;
    }

    .reservation-meta {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .reservation-meta-item {
      padding: 12px 14px;
      border-radius: 14px;
      background: rgba(0, 0, 0, 0.03);
      border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .reservation-meta-item label {
      display: block;
      font-size: 0.78rem;
      color: var(--muted);
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
    }

    .reservation-meta-item div {
      font-weight: 700;
      line-height: 1.4;
      word-break: break-word;
    }

    .danger-btn {
      color: white;
      background: linear-gradient(135deg, #ef4444, #dc2626);
      box-shadow: 0 10px 22px rgba(239, 68, 68, 0.2);
    }

    .danger-btn:hover {
      box-shadow: 0 14px 26px rgba(239, 68, 68, 0.24);
    }

    @media (max-width: 640px) {
      .reservation-meta {
        grid-template-columns: 1fr;
      }
    }

.app-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eee;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 42px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  position: relative;
}

.nav-link:hover {
  color: #f23a2e;
}

.nav-link.active {
  color: #f23a2e;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f23a2e;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-button {
  background: #f23a2e;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logout-btn {
  border: none;
  background: #eee;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.logout-btn:hover {
  background: #ddd;
}

    .registered-events-list {
  display: grid;
  gap: 12px;
}

.registered-event-card {
  border: 1px solid var(--border, #f0d5d2);
  background: white;
  border-radius: 18px;
  padding: 16px;
}

.registered-event-card h3 {
  margin: 8px 0;
}

.event-type {
  width: fit-content;
  background: #fff2f0;
  color: #d92e23;
  border: 1px solid #ffd7d2;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-meta {
  display: grid;
  gap: 6px;
  color: #6f6f6f;
}