* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #14213d;
    background: #f7faf7;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
.secondary-action {
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

button:hover,
.secondary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(20, 33, 61, 0.18);
}

.portal-shell {
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(12, 22, 38, 0.88), rgba(21, 74, 61, 0.74)),
        url("https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=1800&q=80") center/cover fixed;
}

.topbar {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.logo {
    width: 74px;
    height: auto;
    display: block;
}

.primary-logo {
    width: 118px;
    max-height: 54px;
    object-fit: contain;
}

.dark-brand .primary-logo {
    padding: 7px;
    border-radius: 8px;
    background: #14213d;
}

.secondary-logo {
    width: 52px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 600;
}

.nav-action {
    margin: 0;
    padding: 10px 18px;
    background: #f7b801;
    color: #14213d;
    font-weight: 700;
}

.hero {
    width: min(1120px, calc(100% - 40px));
    min-height: 520px;
    margin: 0 auto;
    padding: 64px 0 46px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 42px;
    color: white;
}

.hero-content {
    max-width: 710px;
}

.eyebrow {
    color: #8ee3b0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.hero h1 {
    margin-top: 14px;
    font-size: clamp(2.5rem, 6vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 620px;
    margin-top: 24px;
    color: #e7eef4;
    font-size: 1.18rem;
    line-height: 1.7;
}

.hero-badges {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-badges span {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #eaf7ef;
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions button,
.secondary-action {
    min-height: 48px;
    padding: 13px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.hero-actions button {
    background: #22c55e;
    color: #07140c;
}

.secondary-action {
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.public-panel {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.portal-health {
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

.portal-health div {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(12, 22, 38, 0.28);
}

.portal-health span,
.privacy-stack span {
    color: #dbeafe;
    font-size: 0.92rem;
}

.portal-health strong {
    display: block;
    margin-top: 7px;
    color: white;
    font-size: 1.22rem;
}

.public-meter {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    gap: 10px;
}

.public-meter div:not(.meter-track) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.public-meter span {
    color: #dbeafe;
    font-size: 0.88rem;
    font-weight: 700;
}

.public-meter strong {
    color: #bbf7d0;
    font-size: 0.92rem;
}

.meter-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.meter-track span {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e, #f7b801);
}

.privacy-stack {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.privacy-stack span {
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.16);
    color: #dcfce7;
    font-weight: 700;
}

.event-panel {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.panel-header,
.event-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.panel-header {
    margin-bottom: 30px;
    color: #dbeafe;
    font-weight: 700;
}

.panel-header strong {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f7b801;
    color: #14213d;
    font-size: 0.78rem;
}

.event-panel h2 {
    font-size: 2rem;
    line-height: 1.15;
}

.event-panel p {
    margin-top: 16px;
    color: #e2e8f0;
    line-height: 1.7;
}

.event-meta {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #bbf7d0;
    font-size: 0.92rem;
    font-weight: 800;
}

.stats {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    transform: translateY(50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 22px 50px rgba(20, 33, 61, 0.14);
}

.stats div {
    padding: 28px;
    display: grid;
    gap: 6px;
    border-right: 1px solid #e5e7eb;
}

.stats div:last-child {
    border-right: none;
}

.stats strong {
    color: #0f766e;
    font-size: 2.1rem;
}

.stats span {
    color: #526173;
    font-weight: 700;
}

.section {
    padding: 120px 20px 74px;
    background: #f7faf7;
}

.feature-band {
    padding-top: 74px;
    background: #14213d;
    color: white;
}

.section-heading,
.event-grid,
.feature-list,
.insight-grid,
.intelligence-grid,
.access-layout {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
    align-items: end;
    gap: 28px;
}

.split-heading > p,
.access-layout > div:first-child p:not(.eyebrow) {
    color: #526173;
    line-height: 1.7;
}

.section-heading h2 {
    margin-top: 10px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
}

.event-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.event-card,
.feature-list div,
.insight-grid article,
.intelligence-grid article,
.access-matrix article {
    border-radius: 8px;
    background: white;
    padding: 24px;
    box-shadow: 0 12px 34px rgba(20, 33, 61, 0.08);
}

.event-date {
    display: inline-flex;
    margin-bottom: 24px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-weight: 800;
    font-size: 0.84rem;
}

.event-card h3,
.feature-list h3,
.insight-grid h3,
.intelligence-grid h3 {
    font-size: 1.25rem;
    line-height: 1.25;
}

.event-card p,
.feature-list p,
.insight-grid p,
.intelligence-grid p {
    margin-top: 12px;
    color: #526173;
    line-height: 1.65;
}

.intelligence-section {
    padding-top: 118px;
    background: #f7faf7;
}

.intelligence-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.intelligence-grid article {
    border: 1px solid #dde7e3;
}

.mini-label {
    display: inline-grid;
    width: 38px;
    height: 38px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 50%;
    background: #14213d;
    color: white;
    font-weight: 900;
}

.public-insights {
    padding-top: 74px;
    background: #eef7f1;
}

.insight-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.insight-grid article {
    border: 1px solid #dbe8df;
    box-shadow: 0 16px 38px rgba(20, 33, 61, 0.07);
}

.insight-grid span {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-weight: 800;
    font-size: 0.78rem;
}

.access-section {
    background:
        linear-gradient(90deg, rgba(20, 33, 61, 0.96), rgba(15, 118, 110, 0.88)),
        url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80") center/cover;
    color: white;
}

.access-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
    align-items: start;
    gap: 34px;
}

.access-layout h2 {
    margin-top: 10px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.access-layout > div:first-child p:not(.eyebrow) {
    margin-top: 18px;
    color: #dbeafe;
}

.access-matrix {
    display: grid;
    gap: 12px;
}

.access-matrix article {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.access-matrix strong {
    color: #bbf7d0;
}

.access-matrix span {
    color: #e7eef4;
    line-height: 1.5;
}

.feature-list {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-list div {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.feature-list p {
    color: #cbd5e1;
}

.overlay {
    min-height: 100vh;
    padding: 24px;
    background:
        linear-gradient(90deg, rgba(12, 22, 38, 0.88), rgba(21, 74, 61, 0.7)),
        url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1800&q=80") center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.auth-box {
    width: min(560px, 100%);
    padding: 44px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    backdrop-filter: blur(16px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.auth-box h2 {
    margin-bottom: 28px;
    font-size: 2.3rem;
}

.auth-box .auth-control,
.auth-box input,
.auth-box select {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 68px;
    padding: 20px 22px;
    margin: 12px 0 5px;
    border: 2px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #14213d;
    font: inherit;
    font-size: 1.1rem;
    line-height: 1.2;
}

.auth-box select.auth-control,
.auth-box select {
    display: block;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    background-image:
        linear-gradient(45deg, transparent 50%, #14213d 50%),
        linear-gradient(135deg, #14213d 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.auth-box #category.auth-control,
.auth-box #category {
    width: 100%;
    min-height: 68px;
}

.auth-box button[type="submit"] {
    width: 100%;
    min-height: 62px;
    margin-top: 24px;
    padding: 17px 20px;
    background: #22c55e;
    color: #07140c;
    font-weight: 800;
}

.auth-box p {
    margin-top: 18px;
    color: #dbeafe;
    cursor: pointer;
}

.role-select {
    display: flex;
    margin-bottom: 15px;
    gap: 10px;
}

.role {
    flex: 1;
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: white;
    font-weight: 700;
}

.role.active {
    background: #f7b801;
    color: #14213d;
}

.auth-page {
    min-height: 100vh;
    padding: 24px;
    color: white;
    background:
        linear-gradient(90deg, rgba(12, 22, 38, 0.92), rgba(15, 76, 92, 0.72)),
        url("https://images.unsplash.com/photo-1515187029135-18ee286d815b?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.auth-brand {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.auth-layout {
    width: min(1120px, 100%);
    min-height: calc(100vh - 110px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 560px;
    align-items: center;
    gap: 56px;
}

.auth-copy h1 {
    margin-top: 14px;
    max-width: 720px;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1;
}

.auth-copy p:not(.eyebrow) {
    max-width: 590px;
    margin-top: 22px;
    color: #dbeafe;
    font-size: 1.1rem;
    line-height: 1.7;
}

.auth-highlights {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.auth-highlights span {
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 700;
}

.auth-note {
    margin: -10px 0 18px;
    color: #dbeafe;
    line-height: 1.5;
}

.auth-box .auth-error {
    min-height: 20px;
    margin: 6px 0 0;
    color: #fecaca;
    cursor: default;
    font-size: 0.9rem;
}

.auth-box label {
    display: grid;
    gap: 9px;
    margin-top: 15px;
    text-align: left;
    color: #e7eef4;
    font-size: 1rem;
    font-weight: 700;
}

.dashboard-body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 250px 1fr;
    background: #eef4f2;
    color: #14213d;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px;
    display: flex;
    flex-direction: column;
    background: #101827;
    color: white;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 800;
}

.side-nav {
    margin-top: 42px;
    display: grid;
    gap: 10px;
}

.side-nav a,
.logout-btn {
    padding: 12px 14px;
    border-radius: 8px;
    color: #dbeafe;
    font-weight: 700;
}

.side-nav a.active,
.side-nav a:hover {
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
}

.logout-btn {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.08);
    text-align: left;
}

.dashboard-main {
    min-width: 0;
    padding: 32px;
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.dashboard-top h1 {
    margin-top: 8px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
}

.dashboard-top p:last-child {
    margin-top: 8px;
    color: #526173;
    font-weight: 700;
}

.search-box {
    width: min(340px, 100%);
}

.search-box input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d5ddd9;
    border-radius: 8px;
    background: white;
    font: inherit;
}

.dashboard-stats {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card,
.dashboard-panel {
    border: 1px solid #dde7e3;
    border-radius: 8px;
    background: white;
    box-shadow: 0 16px 34px rgba(20, 33, 61, 0.07);
}

.stat-card {
    padding: 22px;
    text-align: left;
    color: #14213d;
}

.stat-card:hover,
.stat-card.active {
    border-color: #22c55e;
    background: #f7fffa;
    transform: translateY(-3px);
}

.stat-card.active {
    box-shadow: 0 18px 38px rgba(34, 197, 94, 0.16);
}

.dashboard-stats span,
.stat-card span {
    color: #526173;
    font-weight: 800;
}

.dashboard-stats strong,
.stat-card strong {
    display: block;
    margin-top: 10px;
    color: #0f766e;
    font-size: 2.1rem;
}

.dashboard-stats p,
.stat-card p {
    margin-top: 6px;
    color: #667085;
}

.metric-detail {
    margin-top: 18px;
}

.metric-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.metric-detail-header h2 {
    margin-top: 6px;
    font-size: 1.65rem;
}

.metric-detail-header strong {
    color: #0f766e;
    font-size: 2.4rem;
}

.metric-detail > p {
    max-width: 760px;
    margin-top: 12px;
    color: #526173;
    line-height: 1.65;
}

.metric-list {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.metric-list div {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fbfdfc;
}

.metric-list span {
    color: #526173;
    font-weight: 700;
}

.metric-list strong {
    color: #14213d;
}

.dashboard-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: 18px;
}

.dashboard-panel {
    padding: 24px;
}

.large-panel {
    grid-row: span 2;
}

.panel-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.panel-title h2 {
    margin-top: 6px;
    font-size: 1.55rem;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tabs button {
    margin: 0;
    padding: 9px 12px;
    background: #eef4f2;
    color: #14213d;
    font-weight: 800;
}

.filter-tabs button.active {
    background: #14213d;
    color: white;
}

.dashboard-events {
    display: grid;
    gap: 14px;
}

.dashboard-event {
    padding: 18px;
    display: grid;
    grid-template-columns: 64px 1fr auto auto;
    align-items: center;
    gap: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fbfdfc;
}

.event-day {
    min-height: 64px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #dcfce7;
    color: #166534;
    font-size: 1.35rem;
    font-weight: 900;
}

.event-day span {
    margin-top: -12px;
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.dashboard-event h3 {
    font-size: 1.12rem;
}

.dashboard-event p {
    margin-top: 7px;
    color: #526173;
    line-height: 1.55;
}

.tag-row {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-row span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef4f2;
    color: #415164;
    font-size: 0.78rem;
    font-weight: 800;
}

.dashboard-event button {
    margin: 0;
    padding: 10px 15px;
    background: #22c55e;
    color: #07140c;
    font-weight: 900;
}

.dashboard-event button.registered {
    background: #14213d;
    color: white;
    cursor: default;
}

.progress-list,
.announcement-list {
    display: grid;
    gap: 12px;
}

.progress-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.progress-list div:last-child {
    border-bottom: none;
}

.progress-list span,
.announcement-list p {
    color: #526173;
    line-height: 1.6;
}

.progress-list strong {
    color: #0f766e;
}

.announcement-list p {
    padding-left: 14px;
    border-left: 3px solid #22c55e;
}

.app-body {
    min-height: 100vh;
    background: #f6f8ff;
}

.app-header {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dde3f3;
}

.dark-brand {
    color: #11183d;
}

.app-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #3b4568;
    font-weight: 800;
}

.app-main {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 34px 0 70px;
}

.page-hero {
    padding: 36px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(17, 24, 61, 0.92), rgba(97, 43, 214, 0.66)),
        url("https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=1600&q=80") center/cover;
    color: white;
}

.compact-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.page-hero h1 {
    max-width: 720px;
    margin-top: 8px;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.05;
}

.page-hero p:not(.eyebrow) {
    max-width: 660px;
    margin-top: 14px;
    color: #e7eef4;
    line-height: 1.7;
}

.wide-search {
    min-width: min(360px, 100%);
}

.catalog-toolbar {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-toolbar button,
.manager-action {
    margin: 0;
    padding: 10px 15px;
    background: white;
    color: #11183d;
    border: 1px solid #dde3f3;
    font-weight: 900;
}

.catalog-toolbar button.active,
.catalog-toolbar button:hover,
.manager-action {
    background: #5b2ce5;
    color: white;
}

.catalog-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.catalog-card {
    overflow: hidden;
    border: 1px solid #dde3f3;
    border-radius: 8px;
    background: white;
    box-shadow: 0 16px 34px rgba(17, 24, 61, 0.08);
}

.catalog-card img,
.detail-card img {
    width: 100%;
    height: 180px;
    display: block;
    object-fit: cover;
}

.catalog-card > div {
    padding: 20px;
}

.catalog-card h2 {
    margin-top: 14px;
    font-size: 1.28rem;
}

.catalog-card p {
    margin-top: 10px;
    color: #526173;
    line-height: 1.6;
}

.card-link,
.mini-link {
    margin-top: 16px;
    display: inline-flex;
    color: #5b2ce5;
    font-weight: 900;
}

.journey-section {
    padding-top: 74px;
}

.journey-flow {
    width: min(1120px, 100%);
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.journey-flow a {
    min-height: 84px;
    padding: 16px;
    display: grid;
    place-items: center;
    border: 1px solid #dde3f3;
    border-radius: 8px;
    background: white;
    color: #11183d;
    text-align: center;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(17, 24, 61, 0.07);
}

.process-section {
    padding-top: 74px;
    background: white;
}

.process-flow {
    width: min(1120px, 100%);
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.process-flow div {
    min-height: 120px;
    padding: 16px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    border: 1px solid #dde3f3;
    border-radius: 8px;
    background: #f6f8ff;
    text-align: center;
}

.process-flow strong {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #5b2ce5;
    color: white;
}

.process-flow span {
    color: #11183d;
    font-weight: 900;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
}

.detail-card,
.checkout-card,
.certificate-preview,
.certificate-list article {
    border: 1px solid #dde3f3;
    border-radius: 8px;
    background: white;
    box-shadow: 0 16px 34px rgba(17, 24, 61, 0.08);
}

.detail-card {
    overflow: hidden;
}

.detail-card img {
    height: 320px;
}

.detail-content {
    padding: 28px;
}

.detail-content h1 {
    margin-top: 14px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
}

.detail-content p {
    margin-top: 14px;
    color: #526173;
    line-height: 1.7;
}

.detail-facts {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 12px;
}

.detail-facts div {
    padding: 14px;
    border-radius: 8px;
    background: #f6f8ff;
}

.detail-facts span,
.checkout-row span {
    display: block;
    color: #667085;
    font-weight: 800;
}

.detail-facts strong,
.checkout-row strong {
    display: block;
    margin-top: 6px;
    color: #11183d;
}

.checkout-card {
    padding: 24px;
    align-self: start;
    position: sticky;
    top: 20px;
}

.checkout-card h2 {
    margin-top: 8px;
}

.checkout-row {
    margin-top: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.event-registration-form {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.event-registration-form label {
    display: grid;
    gap: 6px;
    color: #11183d;
    font-weight: 800;
}

.event-registration-form input {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d7deee;
    border-radius: 8px;
    font: inherit;
}

.checkout-card button,
.create-event-form button,
.approval-list button {
    width: 100%;
    margin-top: 22px;
    padding: 13px 18px;
    background: #22c55e;
    color: #07140c;
    font-weight: 900;
}

.payment-note {
    margin-top: 12px;
    color: #667085;
    line-height: 1.5;
}

.manager-help-text {
    margin: 4px 0 0;
    color: #667085;
    font-size: 0.92rem;
}

.manager-scanner-preview {
    width: min(220px, 100%);
    aspect-ratio: 1;
    object-fit: contain;
    padding: 10px;
    border: 1px solid #d7deee;
    border-radius: 8px;
    background: #fff;
}

.certificate-layout {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 22px;
}

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

.certificate-list article,
.approval-list article,
.manager-event-list article {
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.certificate-list h3,
.approval-list h3,
.manager-event-list h3 {
    font-size: 1.05rem;
}

.certificate-list p,
.approval-list p,
.manager-event-list p {
    margin-top: 6px;
    color: #667085;
}

.certificate-list button,
.muted-button {
    margin: 0;
    padding: 10px 14px;
    background: #5b2ce5;
    color: white;
    font-weight: 900;
}

.muted-button {
    background: #eef1f8;
    color: #667085;
}

.certificate-preview {
    min-height: 430px;
    padding: 34px;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    border: 8px double #d4a017;
}

.certificate-preview p {
    color: #5b2ce5;
    font-weight: 900;
}

.certificate-preview h2 {
    margin-top: 12px;
    text-transform: uppercase;
}

.certificate-preview span,
.certificate-preview small {
    margin-top: 16px;
    color: #667085;
}

.certificate-preview strong {
    margin-top: 10px;
    font-size: 1.7rem;
}

.certificate-preview h3 {
    margin-top: 10px;
    color: #11183d;
}

.manager-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1fr);
    gap: 18px;
}

.manager-mail-panel {
    margin-top: 22px;
}

.manager-search-row {
    display: grid;
    gap: 10px;
}

.manager-search-row input {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid #d5ddd9;
    border-radius: 8px;
    background: white;
    color: #14213d;
    font: inherit;
    font-weight: 700;
}

.manager-hidden-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.manager-search-results {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.manager-search-results button {
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #e5e7eb;
    background: #fbfdfc;
    color: #14213d;
    text-align: left;
}

.manager-search-results button.active {
    border-color: #22c55e;
    background: #ecfdf3;
}

.manager-search-results span {
    color: #667085;
    font-size: 0.9rem;
    font-weight: 800;
}

.manager-action-row {
    margin-top: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.manager-action-row button {
    width: 100%;
    margin: 0;
    padding: 13px 16px;
    background: #22c55e;
    color: #07140c;
    font-weight: 900;
}

.manager-action-row button + button {
    background: #5b2ce5;
    color: white;
}

.manager-mail-panel > p {
    margin-top: 12px;
    color: #667085;
    line-height: 1.5;
}

.create-event-form {
    grid-row: span 2;
}

.advanced-create-event-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 0 14px;
}

.advanced-create-event-form .panel-title,
.advanced-create-event-form .form-section-title,
.advanced-create-event-form .full-field,
.advanced-create-event-form button {
    grid-column: 1 / -1;
}

.form-section-title {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    color: #14213d;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.create-event-form label {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    color: #526173;
    font-weight: 800;
}

.create-event-form input,
.create-event-form select,
.create-event-form textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d5ddd9;
    border-radius: 8px;
    background: white;
    font: inherit;
}

.create-event-form textarea {
    min-height: 90px;
    resize: vertical;
    line-height: 1.5;
}

.manager-event-list,
.approval-list,
.report-bars {
    display: grid;
    gap: 12px;
}

.manager-event-list article,
.approval-list article {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fbfdfc;
}

.manager-event-list span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #efe9ff;
    color: #5b2ce5;
    font-weight: 900;
}

.approval-list button {
    width: auto;
    margin: 0;
}

.report-bars div {
    display: grid;
    gap: 8px;
    color: #526173;
    font-weight: 800;
}

.report-bars strong {
    height: 12px;
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, #5b2ce5, #22c55e);
}

.mini-link {
    margin: 0;
    justify-self: end;
    align-self: center;
}

.toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
    max-width: 320px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #11183d;
    color: white;
    box-shadow: 0 18px 36px rgba(17, 24, 61, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: 0.2s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.backend-status {
    position: fixed;
    right: 22px;
    top: 18px;
    z-index: 30;
    max-width: calc(100vw - 44px);
    padding: 9px 12px;
    border: 1px solid #d5ddd9;
    border-radius: 8px;
    background: white;
    color: #526173;
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(20, 33, 61, 0.12);
}

.backend-status.connected {
    border-color: #22c55e;
    color: #116b36;
    background: #f3fff7;
}

.backend-status.offline {
    border-color: #f59e0b;
    color: #7a4a00;
    background: #fffbeb;
}

@media (max-width: 820px) {
    .topbar,
    .hero {
        width: min(100% - 28px, 1120px);
    }

    .topbar {
        align-items: flex-start;
        gap: 16px;
    }

    .nav-links {
        gap: 12px;
        font-size: 0.92rem;
    }

    .hero {
        min-height: auto;
        padding-top: 42px;
        grid-template-columns: 1fr;
    }

    .event-panel {
        max-width: 520px;
    }

    .stats,
    .event-grid,
    .feature-list,
    .insight-grid,
    .intelligence-grid {
        grid-template-columns: 1fr;
    }

    .split-heading,
    .access-layout {
        grid-template-columns: 1fr;
    }

    .public-panel {
        max-width: 560px;
    }

    .stats {
        transform: none;
        margin-top: 20px;
    }

    .stats div {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .stats div:last-child {
        border-bottom: none;
    }

    .section {
        padding-top: 66px;
    }

    .auth-layout,
    .dashboard-grid,
    .detail-layout,
    .certificate-layout,
    .manager-grid,
    .advanced-create-event-form {
        grid-template-columns: 1fr;
    }

    .compact-hero,
    .app-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-grid,
    .journey-flow,
    .process-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .checkout-card {
        position: static;
    }

    .dashboard-body {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        height: auto;
    }

    .side-nav {
        margin-top: 22px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .logout-btn {
        margin-top: 18px;
    }

    .dashboard-top,
    .panel-title {
        flex-direction: column;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .topbar {
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .logo {
        width: 62px;
    }

    .primary-logo {
        width: 104px;
        max-height: 48px;
    }

    .secondary-logo {
        width: 46px;
    }

    .hero h1 {
        font-size: 2.55rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .event-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-page,
    .dashboard-main {
        padding: 18px;
    }

    .auth-layout {
        gap: 28px;
        padding-top: 36px;
    }

    .side-nav {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-stats,
    .dashboard-event,
    .metric-list,
    .catalog-grid,
    .journey-flow,
    .process-flow,
    .detail-facts,
    .manager-action-row,
    .access-matrix article {
        grid-template-columns: 1fr;
    }

    .hero-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-panel,
    .access-matrix article {
        padding: 20px;
    }

    .dashboard-event button,
    .mini-link {
        width: 100%;
        justify-self: stretch;
        justify-content: center;
    }

    .certificate-list article,
    .approval-list article,
    .manager-event-list article {
        align-items: flex-start;
        flex-direction: column;
    }

    .app-nav {
        flex-wrap: wrap;
    }

    .event-tabs {
        grid-column: 1 / -1;
    }

    .tabs-nav {
        flex-wrap: wrap;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .checkout-card {
        position: static;
    }
}

/* Advanced Event Details Styles */

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 20px auto;
    border: 3px solid #e5e7eb;
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.agenda-loading,
.speakers-loading,
.reviews-loading,
.related-loading {
    text-align: center;
    padding: 40px 20px;
    color: #667085;
}

.placeholder-text {
    color: #9ca3af;
    font-style: italic;
}

/* Tab Icons */
.tab-icon {
    font-size: 1.2rem;
    margin-right: 6px;
}

.tab-label {
    font-weight: 600;
}

/* Detail Card Loading */
.detail-loading {
    text-align: center;
    padding: 60px 20px;
    color: #667085;
}

/* Checkout Card Enhancements */
.checkout-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.checkout-details {
    margin: 20px 0;
    padding: 16px;
    background: #f9fbff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.checkout-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.checkout-row:last-child {
    border-bottom: none;
}

.checkout-row span {
    color: #667085;
    font-size: 0.9rem;
    font-weight: 600;
}

.checkout-row strong {
    color: #11183d;
    font-size: 0.95rem;
}

.fee-free {
    color: #22c55e !important;
}

.certificate-included {
    color: #5b2ce5 !important;
}

/* Progress Status Badge */
.progress-status {
    margin-top: 12px;
    text-align: center;
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.available {
    background: #dcfce7;
    color: #166534;
}

.status-badge.limited {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.full {
    background: #fee2e2;
    color: #991b1b;
}

/* Form Enhancements */
.form-header {
    margin-bottom: 20px;
    text-align: center;
}

.form-header h3 {
    color: #11183d;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.form-subtitle {
    color: #667085;
    font-size: 0.9rem;
    margin: 0;
}

.input-group {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
}

.input-label {
    color: #11183d;
    font-weight: 700;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #d7deee;
    border-radius: 8px;
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.input-hint {
    color: #667085;
    font-size: 0.85rem;
    font-style: italic;
}

/* Button Enhancements */
.btn-primary {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

/* Share Buttons */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.share-btn {
    padding: 12px 8px;
    background: #eef1f8;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.share-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-icon {
    font-size: 1.5rem;
}

.share-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #11183d;
}

/* Rating Breakdown */
.rating-breakdown {
    margin-top: 16px;
    display: grid;
    gap: 8px;
}

.rating-bar {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.rating-bar span:first-child {
    color: #667085;
    font-weight: 600;
}

.rating-bar span:last-child {
    color: #11183d;
    font-weight: 700;
    text-align: right;
}

.bar-fill {
    height: 8px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 999px;
    transition: width 0.3s ease;
}

/* Speaker Cards */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.speaker-card {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    text-align: center;
    transition: all 0.2s ease;
}

.speaker-card:hover {
    border-color: #22c55e;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.12);
    transform: translateY(-4px);
}

.speaker-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.speaker-card h4 {
    color: #11183d;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.speaker-title {
    color: #22c55e;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.speaker-company {
    color: #667085;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.speaker-bio {
    color: #526173;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

/* Reviews */
.review-item {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fbfdfc;
    margin-bottom: 16px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-author {
    font-weight: 700;
    color: #11183d;
}

.review-rating {
    color: #fbbf24;
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-text {
    color: #526173;
    line-height: 1.6;
    margin: 0;
}

.review-date {
    margin-top: 10px;
    color: #9ca3af;
    font-size: 0.85rem;
}

/* Related Events */
.related-event-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    overflow: hidden;
    transition: all 0.2s ease;
}

.related-event-card:hover {
    border-color: #22c55e;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.12);
    transform: translateY(-4px);
}

.related-event-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-event-card h4 {
    padding: 16px 16px 8px;
    color: #11183d;
    font-size: 1rem;
    margin: 0;
}

.related-event-card p {
    padding: 0 16px;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.related-event-link {
    display: block;
    padding: 12px;
    text-align: center;
    color: #22c55e;
    font-weight: 700;
    background: #f0fdf4;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-event-link:hover {
    background: #22c55e;
    color: white;
}

/* Event Stats */
.event-stats {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat {
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    background: #f9fbff;
    border: 1px solid #e5e7eb;
}

.stat span {
    display: block;
    font-size: 1.5rem;
    color: #22c55e;
    font-weight: 900;
    margin-bottom: 4px;
}

.stat p {
    margin: 0;
    color: #667085;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .speakers-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
    }
    
    .event-stats {
        grid-template-columns: 1fr;
    }
    
    .rating-bar {
        grid-template-columns: 40px 1fr 40px;
        gap: 8px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .tab-icon {
        display: none;
    }
    
    .tab-label {
        font-size: 0.9rem;
    }
    
    .tab-button {
        padding: 12px 8px;
    }
}

/* Event Tabs */
.event-tabs {
    margin-top: 28px;
    border: 1px solid #dde3f3;
    border-radius: 8px;
    background: white;
    box-shadow: 0 16px 34px rgba(17, 24, 61, 0.08);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    border-bottom: 2px solid #eef1f8;
    background: #f9fbff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-button {
    flex: 1;
    min-width: 100px;
    padding: 16px 18px;
    background: transparent;
    color: #667085;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    margin: 0;
    transform: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.tab-button:hover {
    color: #11183d;
    background: #f0f3ff;
    transform: none;
    box-shadow: none;
}

.tab-button.active {
    color: #22c55e;
    border-bottom-color: #22c55e;
    background: white;
}

.tab-content {
    padding: 28px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overview Tab */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.overview-section {
    padding: 20px;
    border-radius: 8px;
    background: #f9fbff;
    border: 1px solid #e5e7eb;
}

.overview-section h3 {
    color: #11183d;
    font-size: 1.1rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #22c55e;
}

.overview-section p,
.overview-section ul {
    color: #526173;
    line-height: 1.7;
    margin: 0;
}

.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
}

.custom-list li:last-child {
    border-bottom: none;
}

.custom-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

/* Agenda Styles */
.agenda-section {
    display: grid;
    gap: 12px;
}

.agenda-section ol {
    list-style: none;
    counter-reset: agenda-counter;
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.agenda-section li {
    counter-increment: agenda-counter;
    padding: 16px 16px 16px 56px;
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fbfdfc;
    color: #11183d;
    font-weight: 600;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.agenda-section li::before {
    content: counter(agenda-counter);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-size: 0.85rem;
    font-weight: 800;
}

.agenda-section li:hover {
    border-color: #22c55e;
    background: #f0fdf4;
    transform: translateX(4px);
}

.agenda-section li::after {
    content: "";
    position: absolute;
    left: 28px;
    bottom: -6px;
    width: 2px;
    height: 12px;
    background: #dde3f3;
    display: none;
}

.agenda-section li:not(:last-child)::after {
    display: block;
}

/* Reviews Section */
.reviews-section {
    display: grid;
    gap: 24px;
}

.reviews-summary {
    padding: 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f9fbff, #f0f3ff);
    border: 1px solid #e5e7eb;
}

.rating-box {
    display: grid;
    gap: 12px;
}

.rating-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rating-value {
    font-size: 2.5rem;
    color: #22c55e;
    font-weight: 900;
}

.rating-stars {
    color: #fbbf24;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.rating-count {
    color: #667085;
    font-size: 0.95rem;
}

.reviews-list {
    display: grid;
    gap: 16px;
}

/* Related Events */
.related-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Event Progress */
.event-progress {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #667085;
    font-weight: 700;
    font-size: 0.9rem;
}

.progress-bar {
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 999px;
    transition: width 0.3s ease;
}

/* Payment Section */
.payment-note {
    margin-top: 12px;
    color: #667085;
    line-height: 1.5;
    font-size: 0.9rem;
}

.payment-qr {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.payment-qr img {
    max-width: 100%;
    height: auto;
}

.secondary-button {
    width: 100%;
    padding: 12px 16px;
    background: #eef1f8;
    color: #11183d;
    border: 1px solid #dde3f3;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.secondary-button:hover {
    background: #dde3f3;
    transform: translateY(-2px);
}

/* Toast Notifications */
.toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
    max-width: 320px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #11183d;
    color: white;
    box-shadow: 0 18px 36px rgba(17, 24, 61, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: 0.2s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments for advanced features */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .overview-grid,
    .speakers-grid,
    .related-events-grid {
        grid-template-columns: 1fr;
    }

    .tabs-nav {
        flex-wrap: wrap;
    }

    .tab-button {
        flex: 1 1 45%;
    }

    .agenda-item {
        grid-template-columns: 1fr;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rating-stars {
        margin-top: 8px;
    }
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #14213d;
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    max-width: min(500px, calc(100% - 40px));
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Event Tabs */
.event-tabs {
    margin-top: 28px;
    border: 1px solid #dde3f3;
    border-radius: 8px;
    background: white;
    box-shadow: 0 16px 34px rgba(17, 24, 61, 0.08);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    border-bottom: 2px solid #eef1f8;
    background: #f9fbff;
}

.tab-button {
    flex: 1;
    padding: 16px 18px;
    background: transparent;
    color: #667085;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    margin: 0;
    transform: none;
    transition: all 0.2s ease;
}

.tab-button:hover {
    color: #11183d;
    background: #f0f3ff;
    transform: none;
    box-shadow: none;
}

.tab-button.active {
    color: #22c55e;
    border-bottom-color: #22c55e;
    background: white;
}

.tab-content {
    padding: 28px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overview Tab */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.overview-section {
    padding: 18px;
    border-radius: 8px;
    background: #f9fbff;
    border: 1px solid #e5e7eb;
}

.overview-section h3 {
    color: #11183d;
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.overview-section ul {
    list-style: none;
}

.overview-section li {
    padding: 8px 0;
    color: #526173;
    line-height: 1.6;
}

/* Agenda Styles */
.agenda-section {
    display: grid;
    gap: 12px;
}

.agenda-section ol {
    list-style: none;
    counter-reset: agenda-counter;
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.agenda-section li {
    counter-increment: agenda-counter;
    padding: 16px 16px 16px 56px;
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fbfdfc;
    color: #11183d;
    font-weight: 600;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.agenda-section li::before {
    content: counter(agenda-counter);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-size: 0.85rem;
    font-weight: 800;
}

.agenda-section li:hover {
    border-color: #22c55e;
    background: #f0fdf4;
    transform: translateX(4px);
}

.agenda-section li::after {
    content: "";
    position: absolute;
    left: 28px;
    bottom: -6px;
    width: 2px;
    height: 12px;
    background: #dde3f3;
    display: none;
}

.agenda-section li:not(:last-child)::after {
    display: block;
}

.agenda-item {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fbfdfc;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    align-items: start;
}

.agenda-time {
    display: grid;
    gap: 6px;
}

.agenda-time strong {
    color: #11183d;
    font-size: 0.95rem;
}

.agenda-time span {
    color: #667085;
    font-size: 0.85rem;
}

.agenda-content h4 {
    color: #11183d;
    margin-bottom: 6px;
}

/* Speaker Styles */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.speaker-card {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fbfdfc;
    text-align: center;
}

.speaker-avatar {
    font-size: 3rem;
    margin-bottom: 12px;
}

.speaker-card h4 {
    color: #11183d;
    margin-bottom: 6px;
}

.speaker-title {
    color: #22c55e;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.speaker-company {
    color: #667085;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.speaker-bio {
    color: #526173;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Reviews Styles */
.reviews-section {
    display: grid;
    gap: 24px;
}

.reviews-summary {
    padding: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f9fbff, #f0f3ff);
    border: 1px solid #e5e7eb;
}

.rating-box {
    display: grid;
    gap: 10px;
    align-items: center;
}

.rating-value {
    font-size: 2rem;
    color: #22c55e;
    font-weight: 900;
}

.rating-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.rating-count {
    color: #667085;
    font-size: 0.9rem;
}

.reviews-list {
    display: grid;
    gap: 16px;
}

.review-item {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fbfdfc;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-header strong {
    color: #11183d;
}

.review-rating {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.review-item p {
    color: #526173;
    line-height: 1.6;
}

/* Related Events */
.related-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.related-event-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    overflow: hidden;
    transition: all 0.2s ease;
}

.related-event-card:hover {
    border-color: #22c55e;
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.12);
}

.related-event-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-event-card h4,
.related-event-card p {
    padding: 0 12px;
}

.related-event-card h4 {
    margin-top: 10px;
    color: #11183d;
    font-size: 0.95rem;
}

.related-event-card p {
    margin-top: 6px;
    color: #667085;
    font-size: 0.85rem;
}

.related-event-card .card-link {
    display: block;
    padding: 12px;
    margin-top: 10px;
    text-align: center;
    color: #22c55e;
    font-weight: 700;
    background: #f0fdf4;
    border-radius: 0 0 8px 8px;
    transition: all 0.2s ease;
}

.related-event-card:hover .card-link {
    background: #22c55e;
    color: white;
}

/* Event Progress Bar */
.event-progress {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #667085;
    font-weight: 700;
    font-size: 0.9rem;
}

.progress-bar {
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 999px;
    transition: width 0.3s ease;
}

/* Share Section */
.share-section {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

.share-section .eyebrow {
    display: block;
    margin-bottom: 10px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    background: #eef1f8;
    color: #667085;
    font-size: 1.2rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    cursor: pointer;
}

.share-btn:hover {
    background: #e5e7eb;
    color: #11183d;
    transform: translateY(-2px);
}

/* Event Stats */
.event-stats {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    background: #f9fbff;
}

.stat span {
    display: block;
    font-size: 1.5rem;
    color: #22c55e;
    font-weight: 900;
}

.stat p {
    margin-top: 6px;
    color: #667085;
    font-size: 0.85rem;
}

/* Placeholder */
.placeholder {
    color: #9ca3af;
    text-align: center;
    padding: 40px 20px;
    font-style: italic;
}

/* Responsive adjustments for advanced features */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .overview-grid,
    .speakers-grid,
    .related-events-grid {
        grid-template-columns: 1fr;
    }

    .tabs-nav {
        flex-wrap: wrap;
    }

    .tab-button {
        flex: 1 1 45%;
    }

    .agenda-item {
        grid-template-columns: 1fr;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rating-stars {
        margin-top: 8px;
    }
}
