/* event.css — page styles (moved out of the page). Linked from: event.aspx */
@property --ed-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ---------- Hero (lives in general.Master) ---------- */
#secHeader {
    position: relative;
    background-attachment: scroll;
}
#secHeader::before { display: block;
            content: "";
            position: absolute;
            top: 0; right: 0; bottom: 0; left: 0;
            background:
                radial-gradient(1200px 400px at 10% 0%, rgba(34, 184, 207, .25), transparent 60%),
                linear-gradient(180deg, rgba(8, 24, 48, .25) 0%, rgba(8, 24, 48, .72) 70%, rgba(8, 24, 48, .9) 100%);
            pointer-events: none;
        }
#secHeader .page-header {
    position: relative;
    z-index: 1;
    background: transparent !important;
    border: 0 !important;
    padding: 72px 0 96px !important;
}
#secHeader .page-header .container {
    max-width: 1200px;
    width: 100% !important;
    padding: 0 20px;
}
#txtBreadcrumbTitle {
    color: #fff;
    line-height: 1.2;
    letter-spacing: .01em;
    font-weight: 700 !important;
    max-width: 900px;
    margin: 0 0 14px;
    animation: ed-rise .6s ease both;
}
#txtDesc {
    display: block;
    animation: ed-rise .6s .1s ease both;
}
.ed-hero-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    margin-bottom: 12px;
}
.ed-hero-date .fa { color: var(--ed-accent); }
.ed-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ed-hero-cea {
    display: inline-block;
    margin-top: 10px;
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    text-shadow: none;
}
.ed-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-shadow: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    transition: transform .2s ease, background .2s ease;
}
.ed-chip:hover { transform: translateY(-1px); }
.ed-chip-glass {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ed-chip-ls { background: linear-gradient(135deg, #f59e0b, #d97706); border-color: transparent; }
.ed-chip-qs { background: linear-gradient(135deg, #3d9970, #2f7a57); border-color: transparent; }
.ed-chip-blue { background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); border-color: transparent; }
.ed-chip-red { background: linear-gradient(135deg, #ef4444, #b91c1c); border-color: transparent; }
.ed-cea-badge {
    color:white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    padding: 5px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    box-shadow: 0 6px 18px -6px rgba(239, 68, 68, .7);
    text-shadow: none;
    margin-bottom: 10px;
    vertical-align: middle;
}
#Breadcrumb {
    display: inline-flex !important;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 14px;
    margin: 6px 0 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 12.5px;
}
#Breadcrumb li, #Breadcrumb li a { color: rgba(255, 255, 255, .85); text-transform: capitalize; }
#Breadcrumb li.active { color: #fff; font-weight: 600; }
#Breadcrumb li a:hover { color: #fff; }

/* ---------- Page shell ---------- */
#edPage {
    max-width: 1200px;
    margin: -64px auto 0;
    padding: 0 20px 40px;
    position: relative;
    z-index: 2;
    color: var(--ed-ink);
}
#edPage *, #edPage *::before, #edPage *::after { box-sizing: border-box; }
.ed-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: none;
    margin: 0 6px 12px 0;
    vertical-align: middle;
}
.ed-eyebrow .fa { color: var(--ed-accent); }

/* ---------- Step tracker ---------- */
.ed-steps {
    list-style: none;
    margin: 0 0 24px;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: var(--ed-radius);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: var(--ed-shadow);
    animation: ed-rise .5s ease both;
}
.ed-steps > li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    min-width: 0;
}
.ed-steps > li::before {
    content: "";
    position: absolute;
    top: 18px;
    left: calc(-50% + 24px);
    right: calc(50% + 24px);
    height: 3px;
    border-radius: 3px;
    background: var(--ed-line);
}
.ed-steps > li:first-child::before { display: none; }
.ed-steps > li.is-done::before,
.ed-steps > li.is-current::before {
    background: linear-gradient(90deg, var(--ed-primary-2), var(--ed-accent));
}
.ed-steps > li > a,
.ed-steps > li > span.ed-step-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    color: inherit;
}
.ed-step-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--ed-muted);
    background: var(--ed-soft);
    border: 2px solid var(--ed-line);
    position: relative;
    z-index: 1;
    transition: transform .2s ease;
}
.ed-step-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ed-muted);
    line-height: 1.25;
}
.ed-steps > li.is-done .ed-step-dot {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--ed-accent), #0e7490);
}
.ed-steps > li.is-done .ed-step-label { color: var(--ed-ink); }
.ed-steps > li.is-done > a:hover .ed-step-dot { transform: scale(1.08); }
.ed-steps > li.is-done > a:hover .ed-step-label { color: var(--ed-primary-2); }
.ed-steps > li.is-current .ed-step-dot {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary));
    box-shadow: 0 0 0 6px rgba(29, 111, 209, .15);
    animation: ed-ring 2s ease-in-out infinite;
}
.ed-steps > li.is-current .ed-step-label { color: var(--ed-primary); }

/* ---------- Layout / cards ---------- */
.ed-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}
.ed-main { min-width: 0; display: grid; gap: 22px; }
.ed-aside { position: sticky; top: 90px; }
.ed-card {
    background: var(--ed-surface);
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius);
    box-shadow: var(--ed-shadow);
    padding: 24px;
    animation: ed-rise .5s .08s ease both;
}
.ed-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.ed-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--ed-ink);
}
.ed-card-title .ed-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary));
    box-shadow: 0 8px 16px -8px rgba(29, 111, 209, .8);
}
.ed-card-title .ed-ico.is-teal { background: linear-gradient(135deg, #22b8cf, #0e7490); box-shadow: 0 8px 16px -8px rgba(34, 184, 207, .8); }
.ed-card-title .ed-ico.is-violet { background: linear-gradient(135deg, #8b5cf6, #5b21b6); box-shadow: 0 8px 16px -8px rgba(139, 92, 246, .8); }
.ed-card-title .ed-ico.is-amber { background: linear-gradient(135deg, #f59e0b, #c2410c); box-shadow: 0 8px 16px -8px rgba(245, 158, 11, .8); }
.ed-card-sub { font-size: 13px; color: var(--ed-muted); font-weight: 500; margin-top: 2px; }
.ed-count {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ed-primary-2);
    background: rgba(29, 111, 209, .1);
}

/* ---------- Buttons ---------- */
.ed-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    color: #fff !important;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none !important;
    cursor: pointer;
    background: linear-gradient(135deg, var(--ed-primary-2) 0%, var(--ed-primary) 100%);
    box-shadow: 0 12px 24px -12px rgba(29, 111, 209, .9), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, filter .2s ease;
}
.ed-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(29, 111, 209, 1); }
.ed-btn-primary:active { transform: translateY(0) scale(.98); }
.ed-btn-primary .ed-plus {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .2);
    transition: transform .3s ease;
}
.ed-btn-primary:hover .ed-plus { transform: rotate(90deg); }
.ed-btn-block { display: flex; width: 100%; height: 54px; font-size: 16px; border-radius: 16px; }
.ed-btn-shine::before {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    animation: ed-shine 3.2s ease-in-out infinite;
}
.ed-btn-primary .ed-arrow {
    width: 32px; height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .18);
    transition: transform .25s ease;
}
.ed-btn-primary:hover .ed-arrow { transform: translateX(4px); }
.ed-btn-primary[disabled],
.ed-btn-primary.disabled {
    filter: grayscale(.6);
    opacity: .55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}
.ed-btn-primary[disabled]::before { animation: none; display: none; }
.ed-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--ed-line);
    background: var(--ed-surface);
    color: var(--ed-ink) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: all .2s ease;
}
.ed-btn-ghost:hover { border-color: var(--ed-primary-2); color: var(--ed-primary-2) !important; }

/* ---------- Summary card (animated gradient border) ---------- */
.ed-sum-card {
    position: relative;
    border-radius: 22px;
    padding: 2px;
    background: conic-gradient(from var(--ed-angle), var(--ed-primary), var(--ed-primary-2), var(--ed-accent), #8b5cf6, var(--ed-primary));
    animation: ed-spin 6s linear infinite;
    box-shadow: var(--ed-shadow-lg);
}
.ed-sum-inner { background: var(--ed-surface); border-radius: 20px; padding: 22px; }
.ed-sum-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ed-muted);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ed-sum-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ed-sum-table td { padding: 9px 0; color: #475569; vertical-align: middle; }
.ed-sum-table td:last-child { text-align: right; font-weight: 700; color: var(--ed-ink); white-space: nowrap; }
.ed-sum-table label { font-weight: 500; margin: 0; }
.ed-sum-table tr.ed-sum-total td {
    padding-top: 14px;
    border-top: 1px dashed #cbd5e1;
    font-size: 15px;
    font-weight: 700;
    color: var(--ed-ink);
}
.ed-sum-table tr.ed-sum-total td:last-child {
    font-size: 22px;
    background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ed-sum-note { font-size: 12.5px; color: var(--ed-muted); margin: 12px 0 0; }

/* ---------- Custom checkbox (consent / T&C) ---------- */
.ed-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    margin: 16px 0;
    border-radius: 14px;
    background: var(--ed-soft);
    border: 1px solid var(--ed-line);
    cursor: pointer;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: 1.55;
    color: #334155;
    transition: border-color .2s ease, background .2s ease;
}
.ed-check:hover { border-color: #c7d4e5; }
.ed-check input[type=checkbox] {
    -webkit-appearance: none;
    appearance: none;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 1px 0 0 !important;
    border-radius: 7px;
    border: 2px solid #b6c3d4;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all .2s ease;
    position: static !important;
}
.ed-check input[type=checkbox]::after {
    content: "";
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) scale(0);
    margin-top: -2px;
    transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
}
.ed-check input[type=checkbox]:checked {
    border-color: transparent;
    background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary));
    box-shadow: 0 6px 12px -6px rgba(29, 111, 209, .9);
}
.ed-check input[type=checkbox]:checked::after { transform: rotate(45deg) scale(1); }
.ed-check input[type=checkbox]:focus-visible { outline: 3px solid rgba(29, 111, 209, .35); outline-offset: 2px; }
.ed-check a { color: var(--ed-primary-2); font-weight: 700; }

/* ---------- Form fields (Bootstrap grid kept for validation) ---------- */
.ed-form .row { margin-left: -8px; margin-right: -8px; }
.ed-form .row > [class*="col-"] { padding-left: 8px; padding-right: 8px; margin-bottom: 14px; }
.ed-form label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    color: #475569;
    margin-bottom: 6px;
}
.ed-form .form-control {
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid #dbe3ee;
    background: #fbfcfe;
    box-shadow: none;
    font-size: 14px;
    color: var(--ed-ink);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.ed-form .form-control:hover { border-color: #c3cfdf; }
.ed-form .form-control:focus {
    border-color: var(--ed-primary-2);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(29, 111, 209, .12);
}
.ed-form .form-control[readonly] { background: var(--ed-soft); }
.ed-form .has-error .form-control { border-color: #f04438; box-shadow: 0 0 0 4px rgba(240, 68, 56, .1); }
.ed-form .has-success .form-control { border-color: #12b76a; }
.ed-form .help-block { font-size: 12px; margin: 6px 0 0; }
.ed-form .form-control-feedback { top: 26px; }
.ed-form small { color: var(--ed-muted); }
.ed-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 14px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ed-primary);
}
.ed-section-label::after { content: ""; flex: 1; height: 1px; background: var(--ed-line); }

/* ---------- Modals ---------- */
.ed-modal .modal-content {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(8, 24, 48, .45);
}
.ed-modal .modal-header {
    padding: 20px 24px;
    border: 0;
    color: #fff;
    background:
        radial-gradient(600px 200px at 0% 0%, rgba(34, 184, 207, .35), transparent 60%),
        linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary));
}
.ed-modal .modal-title { font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.ed-modal .modal-header .close {
    color: #fff;
    opacity: .85;
    text-shadow: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .15);
    margin-top: -4px;
    transition: background .2s ease, transform .2s ease;
}
.ed-modal .modal-header .close:hover { opacity: 1; background: rgba(255, 255, 255, .25); transform: rotate(90deg); }
.ed-modal .modal-body { padding: 24px; }
.ed-modal .modal-footer { border-top: 1px solid var(--ed-line); padding: 14px 24px; }
.ed-modal .modal-footer .btn { border-radius: 10px; font-weight: 700; }

/* ---------- Keyframes ---------- */
@keyframes ed-spin { to { --ed-angle: 360deg; } }
@keyframes ed-shine { 0% { left: -80%; } 55%, 100% { left: 130%; } }
@keyframes ed-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ed-pop { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ed-ring {
    0%, 100% { box-shadow: 0 0 0 6px rgba(29, 111, 209, .15); }
    50% { box-shadow: 0 0 0 10px rgba(29, 111, 209, .06); }
}
@keyframes ed-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .ed-layout { grid-template-columns: minmax(0, 1fr); }
    .ed-aside { position: static; }
}
@media (max-width: 767px) {
    #secHeader .page-header { padding: 48px 0 84px !important; }
    #edPage { padding: 0 14px 30px; }
    .ed-hero-chips { justify-content: center; }
    .ed-steps { padding: 14px 8px; }
    .ed-step-dot { width: 32px; height: 32px; font-size: 13px; }
    .ed-steps > li::before { top: 15px; left: calc(-50% + 20px); right: calc(50% + 20px); }
    .ed-step-label { font-size: 11px; }
    .ed-card { padding: 18px; }
    .ed-modal .modal-body { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    #edPage *, #secHeader *, .ed-modal * { animation: none !important; transition: none !important; }
}

.ed-hero-sub { display: block; font-size: 15px; max-width: 720px; opacity: .92; margin-top: 2px; }

/* ---------- Filter bar ---------- */
.ev-filters {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr);
    gap: 14px;
    align-items: end;
    padding: 18px 20px;
    margin-bottom: 24px;
    border-radius: var(--ed-radius);
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: var(--ed-shadow-lg);
    animation: ed-rise .5s ease both;
}
.ev-field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ed-muted);
    margin: 0 0 6px;
}
.ev-search { position: relative; }
.ev-search .fa-search {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ed-muted);
    pointer-events: none;
}
.ev-input,
.ev-select {
    width: 100%;
    height: 46px;
    border-radius: 14px;
    border: 1.5px solid #dbe3ee;
    background: #fbfcfe;
    font-size: 14px;
    color: var(--ed-ink);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    outline: none;
}
.ev-input { padding: 0 40px 0 42px; }
.ev-select { padding: 0 12px; }
.ev-input:focus, .ev-select:focus {
    border-color: var(--ed-primary-2);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(29, 111, 209, .12);
}
.ev-search:focus-within .fa-search { color: var(--ed-primary-2); }
#edKwClear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 0;
    background: var(--ed-soft);
    color: var(--ed-muted);
    display: none;
    cursor: pointer;
}
#edKwClear:hover { background: #e7edf5; color: var(--ed-ink); }

/* Segmented division control */
.ed-seg {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    background: var(--ed-soft);
    border: 1px solid var(--ed-line);
    height: 46px;
}
.ed-seg-btn {
    border: 0;
    background: transparent;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ed-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s ease;
}
.ed-seg-btn:hover { color: var(--ed-ink); background: rgba(255, 255, 255, .8); }
.ed-seg-btn.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary));
    box-shadow: 0 6px 14px -6px rgba(14, 65, 111, .8);
}
.ed-seg-btn[data-value="LS"].is-active { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 6px 14px -6px rgba(217, 119, 6, .8); }
.ed-seg-btn[data-value="QS"].is-active { background: linear-gradient(135deg, #3d9970, #2f7a57); box-shadow: 0 6px 14px -6px rgba(47, 122, 87, .8); }
#edCatWrap.is-disabled .ev-select { opacity: .55; }

/* ---------- Results header ---------- */
.ev-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 6px;
    flex-wrap: wrap;
}
.ev-results-title { font-size: 18px; font-weight: 700; margin: 0; color: var(--ed-ink); display: flex; align-items: center; gap: 10px; }
.ev-results-head { flex-wrap: nowrap; margin-bottom: 2px; }
.ev-results-head .ev-len { float: none; margin: 0; text-align: right !important; flex: 0 0 auto; }
.ev-results-head .ev-len label { display: inline-flex; align-items: center; gap: 0; margin: 0; padding: 0 !important; white-space: nowrap; }

/* ---------- DataTable as a card list ---------- */
#tblCPDEvent_wrapper { margin: 0; }
#tblCPDEvent_wrapper > .row { margin: 0; }
#tblCPDEvent_wrapper > .row > [class*="col-"] { padding: 0; }
#tblCPDEvent {
    width: 100% !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 14px !important;
    margin: 0 !important;
    background: transparent;
}
#tblCPDEvent thead { display: none; }
#tblCPDEvent > tbody > tr,
#tblCPDEvent > tbody > tr:hover { background: transparent !important; }
#tblCPDEvent > tbody > tr > td {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    white-space: normal;
}
.dataTables_length label,
.dataTables_info { font-size: 13px; color: var(--ed-muted); font-weight: 600; padding-top: 6px !important; }
.dataTables_length select {
    height: 34px;
    border-radius: 10px;
    border: 1.5px solid #dbe3ee;
    margin: 0 6px;
    padding: 0 6px;
}
.dataTables_filter { display: none; }
.dataTables_paginate .pagination { margin: 4px 0 0; display: inline-flex; gap: 6px; }
.dataTables_paginate .pagination > li > a,
.dataTables_paginate .pagination > li > span {
    min-width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0 10px;
    border-radius: 12px !important;
    border: 1px solid var(--ed-line);
    color: var(--ed-ink);
    font-weight: 700;
    background: #fff;
    transition: all .2s ease;
}
.dataTables_paginate .pagination > li > a:hover { border-color: var(--ed-primary-2); color: var(--ed-primary-2); background: #fff; }
.dataTables_paginate .pagination > .active > a,
.dataTables_paginate .pagination > .active > a:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary));
    box-shadow: 0 6px 14px -6px rgba(14, 65, 111, .8);
}
.dataTables_paginate .pagination > .disabled > a { opacity: .45; }

/* ---------- Event card ---------- */
.ev-card {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 40px;
    gap: 20px;
    align-items: center;
    padding: 18px;
    border-radius: var(--ed-radius);
    background: #fff;
    border: 1px solid var(--ed-line);
    box-shadow: var(--ed-shadow);
    color: inherit !important;
    text-decoration: none !important;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    animation: ed-pop .35s ease both;
}
.ev-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--ed-primary-2), var(--ed-accent));
    opacity: 0;
    transition: opacity .25s ease;
}
.ev-card:hover { transform: translateY(-3px); box-shadow: var(--ed-shadow-lg); border-color: #d3deeb; }
.ev-card:hover::before { opacity: 1; }
.ev-date {
    width: 92px;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    border: 1px solid var(--ed-line);
    box-shadow: 0 10px 20px -14px rgba(16, 36, 64, .6);
}
.ev-date-m {
    display: block;
    padding: 6px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary));
}
.ev-date.is-ls .ev-date-m { background: linear-gradient(135deg, #f59e0b, #d97706); }
.ev-date.is-qs .ev-date-m { background: linear-gradient(135deg, #3d9970, #2f7a57); }
.ev-date.is-past .ev-date-m { background: linear-gradient(135deg, #94a3b8, #64748b); }
.ev-date-d { display: block; font-size: 32px; font-weight: 700; line-height: 1.1; color: var(--ed-ink); padding-top: 6px; }
.ev-date-y { display: block; font-size: 11.5px; font-weight: 700; color: var(--ed-muted); padding-bottom: 8px; }
.ev-title {
    margin: 0 0 8px;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ed-ink);
    transition: color .2s ease;
}
.ev-card:hover .ev-title { color: var(--ed-primary-2); }
.ev-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ev-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    background: var(--ed-soft);
    color: #475569;
    border: 1px solid var(--ed-line);
}
.ev-chip-new { color: #067647; background: #ecfdf3; border-color: #abefc6; }
.ev-chip-past { color: #64748b; }
.ev-chip-red { color: #b42318; background: #fef3f2; border-color: #fecdca; }
.ev-chip-org { color: #5b21b6; background: #f5f3ff; border-color: #ddd6fe; }
.ev-chip-div.is-ls { color: #b45309; background: #fffbeb; border-color: #fde68a; }
.ev-chip-div.is-qs { color: #2f7a57; background: #ecfdf5; border-color: #a7f3d0; }
.ev-chip-div.is-vgp { color: #334155; background: #eff6ff; border-color: #d3deeb; }
.ev-dot { width: 7px; height: 7px; border-radius: 50%; background: #12b76a; animation: ed-pulse 1.8s infinite; }
.ev-desc {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ed-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ev-go {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--ed-primary-2);
    background: rgba(29, 111, 209, .08);
    transition: all .25s ease;
}
.ev-card:hover .ev-go { color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); transform: translateX(3px); }
.highlight { background: #fef08a; border-radius: 3px; padding: 0 2px; }

/* Skeleton while loading */
.ev-skel {
    height: 128px;
    border-radius: var(--ed-radius);
    margin-bottom: 14px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e5ebf2 37%, #f1f5f9 63%);
    background-size: 400% 100%;
    animation: ed-shimmer 1.4s ease infinite;
}

/* Empty state */
.ed-empty { text-align: center; padding: 40px 20px; border-radius: 16px; border: 2px dashed #d3deeb; background: var(--ed-soft); white-space: normal; }
.ed-empty-ico {
    width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 20px;
    display: grid; place-items: center; font-size: 24px; color: #fff;
    background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-accent));
    animation: ed-float 3s ease-in-out infinite;
}
.ed-empty h4 { margin: 0 0 6px; font-weight: 700; color: var(--ed-ink); }
.ed-empty p { margin: 0 0 16px; color: var(--ed-muted); font-size: 14px; }
.dataTables_empty { padding: 0 !important; border: 0 !important; background: transparent !important; }

/* ---------- Sidebar ---------- */
.ev-action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 12px;
    color: #fff !important;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    box-shadow: var(--ed-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.ev-action::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    transition: transform .4s ease;
}
.ev-action:hover { transform: translateY(-3px); box-shadow: var(--ed-shadow-lg); }
.ev-action:hover::after { transform: scale(1.4); }
.ev-action.is-blue { background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); }
.ev-action.is-red { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.ev-action-ico { flex: 0 0 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 18px; background: rgba(255, 255, 255, .18); }
.ev-action b { display: block; font-size: 15px; }
.ev-action small { display: block; font-size: 12px; opacity: .85; }
.ev-action .fa-arrow-right { margin-left: auto; transition: transform .25s ease; position: relative; z-index: 1; }
.ev-action:hover .fa-arrow-right { transform: translateX(4px); }
.ev-about h4 { font-size: 16px; font-weight: 700; margin: 0 0 8px; color: var(--ed-ink); display: flex; align-items: center; gap: 10px; }
.ev-about h4 .ed-ico-sm { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 14px; background: linear-gradient(135deg, #22b8cf, #0e7490); }
.ev-about p { font-size: 13.5px; line-height: 1.7; color: #475569; margin: 0 0 12px; }
.ev-about a.ed-more { font-weight: 700; color: var(--ed-primary-2); }

@keyframes ed-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@keyframes ed-pulse {
    0% { box-shadow: 0 0 0 0 rgba(18, 183, 106, .55); }
    70% { box-shadow: 0 0 0 7px rgba(18, 183, 106, 0); }
    100% { box-shadow: 0 0 0 0 rgba(18, 183, 106, 0); }
}

@media (max-width: 991px) {
    .ev-filters { grid-template-columns: 1fr 1fr; }
    .ev-filters .ev-search-wrap { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .ev-filters { grid-template-columns: 1fr; }
    .ed-seg { width: 100%; }
    .ed-seg-btn { flex: 1; padding: 0 6px; }
    .ev-card { grid-template-columns: 68px minmax(0, 1fr); gap: 14px; padding: 14px; }
    .ev-go { display: none; }
    .ev-date { width: 68px; }
    .ev-date-d { font-size: 24px; }
    .ev-title { font-size: 14.5px; }
    .dataTables_length, .dataTables_info, .dataTables_paginate { text-align: center !important; }
}
