/* evently overrides — loaded after Metronic's style.bundle.css */

.card-body,
.modal-body,
.form-label,
.form-check-label,
.form-control,
.form-select,
.table {
    font-size: 1.15rem;
}

.form-label,
.table thead th,
.table tbody th {
    font-weight: 600;
    color: var(--bs-gray-800);
}

.form-text {
    font-size: 0.95rem;
}

/* Events list — stack action links instead of a dropdown on narrow screens */
@media (max-width: 991px) {
    .row-actions .menu-sub-dropdown {
        position: static !important;
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        gap: .25rem;
        width: auto !important;
        padding: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .row-actions .menu-sub-dropdown .menu-item {
        padding: 0 !important;
    }

    .row-actions .menu-sub-dropdown .menu-link {
        border: 1px solid var(--bs-gray-300);
        border-radius: .35rem;
        padding: .35rem .65rem !important;
        font-size: .95rem;
    }

    .row-actions > .btn {
        display: none !important;
    }
}

/* KTMenu inside table cells: cells don't establish a containing block,
   so absolutely-positioned menus collapse to the page bottom. */
td.row-actions {
    position: relative;
}

td.row-actions .menu-sub-dropdown {
    z-index: 105;
}

/* Metronic styles a.menu-link on hover; our dropdown actions are buttons. */
.menu-state-bg-light-primary .menu-item button.menu-link:hover,
.menu-state-bg-light-primary .menu-item button.menu-link:focus {
    background-color: var(--bs-primary-light);
    color: var(--bs-primary);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.menu-state-bg-light-primary .menu-item button.menu-link.text-danger:hover,
.menu-state-bg-light-primary .menu-item button.menu-link.text-danger:focus {
    background-color: var(--bs-danger-light);
    color: var(--bs-danger) !important;
}

.menu-item form {
    margin: 0;
}

/* KTMenu's hover rule targets .menu-item.hover > .menu-link — a direct child.
   Our action buttons are wrapped in a form, so the selector misses them. */
.menu-item form {
    margin: 0;
}

.menu-sub-dropdown button.menu-link:hover,
.menu-sub-dropdown button.menu-link:focus {
    background-color: #f1faff;
    color: #009ef7;
}

.menu-sub-dropdown button.menu-link.text-danger:hover,
.menu-sub-dropdown button.menu-link.text-danger:focus {
    background-color: #fff5f8;
    color: #f1416c !important;
}

.menu-sub-dropdown button.menu-link:hover {
    background-color: #f1faff !important;
    color: #009ef7 !important;
}
.menu-sub-dropdown button.menu-link.text-danger:hover {
    background-color: #fff5f8 !important;
    color: #f1416c !important;
}

/* Sidebar: push the footer to the bottom when the menu is short. */
.app-sidebar-menu {
    flex-grow: 1;
}

#kt_app_sidebar_menu {
    overflow-y: visible;
}

#kt_app_sidebar_footer {
    margin-top: auto;
}

/* Hide badges with titles when the sidebar is minimized (theme only fades .menu-title). */
@media (min-width: 992px) {
    [data-kt-app-sidebar-minimize=on]:not([data-kt-app-sidebar-hoverable=true]) .app-sidebar .app-sidebar-menu .menu-badge,
    [data-kt-app-sidebar-minimize=on][data-kt-app-sidebar-hoverable=true] .app-sidebar:not(:hover) .app-sidebar-menu .menu-badge {
        opacity: 0;
        transition: opacity 0.3s ease !important;
        pointer-events: none;
    }
}

.event-hero-text,
.event-hero-text h1,
.event-hero-text div,
.event-hero-text span {
    color: #fff !important;
}

/* Duotone icons in the picker grid — lift the faint second layer. */
#icon_grid .icon-choice .ki-duotone {
    color: #181c32;
}

#icon_grid .icon-choice .ki-duotone .path1,
#icon_grid .icon-choice .ki-duotone .path2,
#icon_grid .icon-choice .ki-duotone .path3,
#icon_grid .icon-choice .ki-duotone .path4,
#icon_grid .icon-choice .ki-duotone .path5 {
    opacity: 1 !important;
}

/* Auto-scrolling exhibitor strip on the public event page. */
.exhibitor-marquee {
    overflow: hidden;
    position: relative;
}

.exhibitor-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: exhibitor-scroll 30s linear infinite;
}

.exhibitor-marquee:hover .exhibitor-track {
    animation-play-state: paused;
}

.exhibitor-item {
    background: #f9f9f9;
    border-radius: 0.475rem;
    padding: 1rem 2rem;
    font-size: 21px;
    font-weight: 600;
    color: #3f4254;
    white-space: nowrap;
}

@keyframes exhibitor-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .exhibitor-track { animation: none; }
}

.exhibitor-track.exhibitor-static {
    animation: none;
    justify-content: center;
    width: 100%;
}

.exhibitor-track.exhibitor-static .exhibitor-item[aria-hidden="true"] {
    display: none;
}

/* --------------------------------------------------------------------------
   Landing — Expoze brand (black + teal / magenta / blue from logo mark)
   -------------------------------------------------------------------------- */
:root {
    --expoze-black: #0b0b0f;
    --expoze-ink: #14141a;
    --expoze-teal: #14c4b0;
    --expoze-magenta: #e91e8c;
    --expoze-blue: #3b9eff;
    --expoze-orange: #ff9f1a;
}

.landing-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 85% 20%, rgba(233, 30, 140, 0.28), transparent 55%),
        radial-gradient(ellipse 70% 50% at 10% 80%, rgba(20, 196, 176, 0.22), transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 0%, rgba(59, 158, 255, 0.15), transparent 45%),
        var(--expoze-black);
}

.landing-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.45;
}

.landing-hero__glow--teal {
    width: 280px;
    height: 280px;
    background: var(--expoze-teal);
    bottom: -80px;
    left: 8%;
}

.landing-hero__glow--magenta {
    width: 220px;
    height: 220px;
    background: var(--expoze-magenta);
    top: -40px;
    right: 18%;
}

.landing-kicker {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--expoze-teal);
    background: rgba(20, 196, 176, 0.12);
    border: 1px solid rgba(20, 196, 176, 0.35);
}

.landing-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.15;
    color: #fff!important;
}

.landing-logo-panel {
    width: 280px;
    height: 280px;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 1px rgba(20, 196, 176, 0.15), 0 24px 60px rgba(0, 0, 0, 0.45);
}

.landing-logo-panel__img {
    max-width: 78%;
    height: auto;
}

.btn-landing-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--expoze-teal);
    --bs-btn-border-color: var(--expoze-teal);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0fa896;
    --bs-btn-hover-border-color: #0fa896;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0d9787;
    --bs-btn-active-border-color: #0d9787;
    font-weight: 600;
}

.btn-landing-ghost {
    --bs-btn-color: #fff;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(255, 255, 255, 0.35);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
    --bs-btn-hover-border-color: rgba(255, 255, 255, 0.55);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(255, 255, 255, 0.12);
    --bs-btn-active-border-color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
}

.landing-section {
    background: #f6f7f9;
}

.landing-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--expoze-magenta);
}

.landing-card {
    border: 0;
    box-shadow: 0 8px 30px rgba(11, 11, 15, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(11, 11, 15, 0.1);
}

.landing-card__media {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: var(--expoze-ink);
}

.landing-card__media-fallback {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(20, 196, 176, 0.85), transparent 55%),
        linear-gradient(225deg, rgba(233, 30, 140, 0.75), transparent 50%),
        linear-gradient(0deg, var(--expoze-ink), var(--expoze-ink));
}

.landing-badge {
    background: rgba(20, 196, 176, 0.12) !important;
    color: #0d7f72 !important;
}

.landing-cta {
    padding: 2.5rem 2.75rem;
    border-radius: 1rem;
    background:
        radial-gradient(ellipse 60% 80% at 100% 50%, rgba(233, 30, 140, 0.35), transparent 55%),
        radial-gradient(ellipse 50% 70% at 0% 50%, rgba(20, 196, 176, 0.3), transparent 50%),
        var(--expoze-black);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   Exhibitor pass — compact badge (not A4)
   -------------------------------------------------------------------------- */
.exhibitor-pass-page {
    min-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 1rem 3rem;
    background:
        radial-gradient(ellipse 50% 40% at 50% 0%, rgba(20, 196, 176, 0.08), transparent 60%),
        #f3f4f6;
}

.exhibitor-pass {
    --pass-ink: #12131a;
    --pass-muted: #6b7280;
    --pass-line: rgba(18, 19, 26, 0.08);
    position: relative;
    width: min(100%, 22rem);
    overflow: hidden;
    border-radius: 1.15rem;
    background: #fff;
    color: var(--pass-ink);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 18px 50px rgba(11, 11, 15, 0.14),
        0 2px 8px rgba(11, 11, 15, 0.06);
}

.exhibitor-pass__accent {
    height: 5px;
    background: linear-gradient(90deg, var(--expoze-teal), var(--expoze-blue) 55%, var(--expoze-magenta));
}

.exhibitor-pass__header {
    padding: 1.15rem 1.35rem 0.85rem;
    text-align: center;
    border-bottom: 1px solid var(--pass-line);
}

.exhibitor-pass__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.exhibitor-pass__logo img {
    max-height: 52px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.4rem;
}

.exhibitor-pass__kind {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0d7f72;
    background: rgba(20, 196, 176, 0.12);
}

.exhibitor-pass__event {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--pass-ink);
}

.exhibitor-pass__organizer {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: var(--pass-muted);
}

.exhibitor-pass__person {
    padding: 1.1rem 1.35rem 0.35rem;
    text-align: center;
}

.exhibitor-pass__name {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.exhibitor-pass__email {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: var(--pass-muted);
    word-break: break-word;
}

.exhibitor-pass__company {
    padding: 0.55rem 1.35rem 1rem;
    text-align: center;
}

.exhibitor-pass__company-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--pass-ink);
}

.exhibitor-pass__meta {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    color: var(--pass-muted);
}

.exhibitor-pass__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--pass-line);
    border-bottom: 1px solid var(--pass-line);
}

.exhibitor-pass__fact {
    padding: 0.7rem 0.9rem;
    border-right: 1px solid var(--pass-line);
    border-bottom: 1px solid var(--pass-line);
}

.exhibitor-pass__fact:nth-child(2n) {
    border-right: none;
}

.exhibitor-pass__fact:nth-last-child(-n+2) {
    border-bottom: none;
}

.exhibitor-pass__fact:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: none;
}

.exhibitor-pass__fact dt {
    margin: 0 0 0.15rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pass-muted);
}

.exhibitor-pass__fact dd {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--pass-ink);
    word-break: break-word;
}

.exhibitor-pass__qr {
    padding: 1.1rem 1.35rem 1.35rem;
    text-align: center;
}

.exhibitor-pass__qr-frame {
    display: inline-flex;
    padding: 0.65rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid var(--pass-line);
    box-shadow: 0 4px 14px rgba(11, 11, 15, 0.06);
}

.exhibitor-pass__qr-frame svg {
    display: block;
    width: 148px;
    height: 148px;
}

.exhibitor-pass__qr-hint {
    margin: 0.65rem 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pass-muted);
}

.exhibitor-pass-actions {
    width: min(100%, 22rem);
    text-align: center;
}

.exhibitor-pass-actions__note {
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    color: #6b7280;
}

@media print {
    @page {
        size: 85mm 128mm;
        margin: 0;
    }

    body {
        padding-top: 0 !important;
        background: #fff !important;
    }

    body > header,
    body > footer,
    .exhibitor-pass-actions {
        display: none !important;
    }

    main {
        margin: 0 !important;
        padding: 0 !important;
    }

    .exhibitor-pass-page {
        min-height: auto;
        padding: 0;
        background: #fff;
        display: block;
    }

    .exhibitor-pass {
        width: 85mm;
        min-height: 128mm;
        border-radius: 0;
        box-shadow: none;
        break-inside: avoid;
        page-break-inside: avoid;
    }
}


