/* EventHouse Events - Frontend */
.eh-events-section,
.eh-single-event {
    --eh-navy: #071a34;
    --eh-navy-2: #102c55;
    --eh-gold: #d7a64a;
    --eh-gold-2: #f3d28a;
    --eh-ink: #172033;
    --eh-muted: #667085;
    --eh-border: rgba(12, 31, 62, 0.10);
    --eh-card: rgba(255, 255, 255, 0.94);
    --eh-soft: #f6f8fc;
    direction: rtl;
    font-family: inherit;
    box-sizing: border-box;
}

.eh-events-section *,
.eh-single-event * {
    box-sizing: border-box;
}

.eh-events-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(28px, 5vw, 64px);
    margin: 32px auto;
    border-radius: 34px;
    background:
        radial-gradient(circle at 9% 15%, rgba(215, 166, 74, 0.18), transparent 26%),
        radial-gradient(circle at 88% 20%, rgba(16, 44, 85, 0.14), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f7f9fd 47%, #edf3fb 100%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 24px 70px rgba(7, 26, 52, 0.10);
}

.eh-events-bg {
    position: absolute;
    pointer-events: none;
    z-index: -1;
    border-radius: 999px;
    filter: blur(4px);
    opacity: 0.8;
}

.eh-events-bg-one {
    width: 240px;
    height: 240px;
    right: -90px;
    top: -80px;
    background: rgba(215, 166, 74, 0.18);
}

.eh-events-bg-two {
    width: 320px;
    height: 320px;
    left: -130px;
    bottom: -150px;
    background: rgba(7, 26, 52, 0.10);
}

.eh-events-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 760px;
    margin-bottom: 28px;
}

.eh-events-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--eh-gold);
    background: rgba(215, 166, 74, 0.10);
    border: 1px solid rgba(215, 166, 74, 0.24);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.eh-events-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--eh-gold);
    box-shadow: 0 0 0 6px rgba(215, 166, 74, 0.14);
}

.eh-events-head h2 {
    margin: 0;
    color: var(--eh-navy);
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.35;
    font-weight: 900;
}

.eh-events-head p {
    margin: 0;
    color: var(--eh-muted);
    font-size: 15px;
    line-height: 2;
}

.eh-events-grid {
    display: grid;
    gap: 22px;
}

.eh-events-columns-1 { grid-template-columns: 1fr; }
.eh-events-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eh-events-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eh-events-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.eh-event-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 28px;
    background: var(--eh-card);
    border: 1px solid var(--eh-border);
    box-shadow: 0 18px 45px rgba(7, 26, 52, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eh-event-card::after {
    content: "";
    position: absolute;
    inset: auto 22px 0 22px;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, transparent, var(--eh-gold), transparent);
    opacity: 0.72;
}

.eh-event-card:hover {
    transform: translateY(-7px);
    border-color: rgba(215, 166, 74, 0.35);
    box-shadow: 0 24px 60px rgba(7, 26, 52, 0.14);
}

.eh-event-media {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(135deg, var(--eh-navy), var(--eh-navy-2));
    text-decoration: none !important;
}

.eh-event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.eh-event-card:hover .eh-event-media img {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.03);
}

.eh-event-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 26, 52, 0.02) 0%, rgba(7, 26, 52, 0.52) 100%);
}

.eh-event-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.84);
    background:
        radial-gradient(circle at 30% 20%, rgba(215, 166, 74, 0.36), transparent 32%),
        linear-gradient(135deg, var(--eh-navy), var(--eh-navy-2));
    font-weight: 900;
    letter-spacing: 1px;
}

.eh-event-pill {
    position: absolute;
    z-index: 2;
    right: 16px;
    top: 16px;
    max-width: calc(100% - 32px);
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(7, 26, 52, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eh-event-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    padding: 22px;
}

.eh-event-body h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.55;
    color: var(--eh-navy);
    font-weight: 900;
}

.eh-event-body h3 a {
    color: inherit;
    text-decoration: none !important;
}

.eh-event-excerpt {
    margin: 0;
    color: var(--eh-muted);
    font-size: 14px;
    line-height: 2;
}

.eh-event-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
}

.eh-event-meta div {
    min-width: 0;
    padding: 11px 12px;
    border-radius: 16px;
    background: rgba(246, 248, 252, 0.92);
    border: 1px solid rgba(12, 31, 62, 0.07);
}

.eh-event-meta .eh-event-location {
    grid-column: 1 / -1;
}

.eh-event-meta span {
    display: block;
    margin-bottom: 5px;
    color: #8992a3;
    font-size: 11px;
    font-weight: 800;
}

.eh-event-meta strong {
    display: block;
    color: var(--eh-ink);
    font-size: 13px;
    line-height: 1.8;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.eh-event-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.eh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.eh-btn:hover {
    transform: translateY(-2px);
}

.eh-btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--eh-navy), var(--eh-navy-2));
    box-shadow: 0 14px 28px rgba(7, 26, 52, 0.18);
}

.eh-btn-primary:hover {
    box-shadow: 0 17px 34px rgba(7, 26, 52, 0.25);
}

.eh-btn-ghost {
    color: var(--eh-navy) !important;
    background: rgba(215, 166, 74, 0.12);
    border: 1px solid rgba(215, 166, 74, 0.35);
}

.eh-events-empty {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px dashed rgba(7, 26, 52, 0.20);
    color: var(--eh-muted);
}

.eh-events-empty strong {
    color: var(--eh-navy);
}

/* Single event */
.eh-single-event {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 0 56px;
}

.eh-single-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: stretch;
    padding: clamp(24px, 4vw, 44px);
    border-radius: 36px;
    background:
        radial-gradient(circle at 15% 20%, rgba(215, 166, 74, 0.20), transparent 28%),
        linear-gradient(135deg, var(--eh-navy) 0%, #0e2a50 58%, #153d70 100%);
    box-shadow: 0 28px 80px rgba(7, 26, 52, 0.18);
}

.eh-single-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    left: -160px;
    bottom: -170px;
    border-radius: 50%;
    background: rgba(215, 166, 74, 0.13);
}

.eh-single-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
}

.eh-single-hero-content h1 {
    margin: 18px 0 14px;
    color: #fff;
    font-size: clamp(30px, 4vw, 58px);
    line-height: 1.35;
    font-weight: 950;
}

.eh-single-hero-content p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 2.15;
}

.eh-single-register {
    margin-top: 24px;
    background: linear-gradient(135deg, var(--eh-gold), #b98023) !important;
    color: var(--eh-navy) !important;
}

.eh-single-hero-media {
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 360px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.20);
}

.eh-single-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eh-single-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: -30px auto 28px;
    padding: 0 clamp(16px, 3vw, 34px);
    position: relative;
    z-index: 3;
}

.eh-single-facts div {
    padding: 19px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--eh-border);
    box-shadow: 0 18px 44px rgba(7, 26, 52, 0.10);
}

.eh-single-facts span {
    display: block;
    margin-bottom: 8px;
    color: var(--eh-muted);
    font-size: 12px;
    font-weight: 900;
}

.eh-single-facts strong {
    display: block;
    color: var(--eh-navy);
    font-size: 16px;
    line-height: 1.8;
    font-weight: 950;
}

.eh-single-content-card,
.eh-single-gallery-wrap {
    padding: clamp(24px, 4vw, 38px);
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--eh-border);
    box-shadow: 0 18px 48px rgba(7, 26, 52, 0.07);
    margin-bottom: 22px;
}

.eh-single-content-card h2,
.eh-single-section-head h2 {
    margin: 0 0 18px;
    color: var(--eh-navy);
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.45;
    font-weight: 950;
}

.eh-single-content-text {
    color: var(--eh-ink);
    font-size: 16px;
    line-height: 2.25;
}

.eh-single-content-text p:last-child {
    margin-bottom: 0;
}

.eh-single-boxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.eh-single-info-box {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 0 0, rgba(215, 166, 74, 0.16), transparent 32%),
        linear-gradient(135deg, #fff, #f8fafc);
    border: 1px solid rgba(215, 166, 74, 0.20);
    box-shadow: 0 16px 42px rgba(7, 26, 52, 0.07);
}

.eh-single-info-box h3 {
    margin: 0 0 10px;
    color: var(--eh-navy);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 950;
}

.eh-single-info-box p {
    margin: 0;
    color: var(--eh-muted);
    line-height: 2.05;
    font-size: 14px;
}

.eh-single-section-head span {
    display: block;
    margin-bottom: 8px;
    color: var(--eh-gold);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 1px;
}

.eh-single-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.eh-gallery-link {
    position: relative;
    overflow: hidden;
    display: block;
    aspect-ratio: 1.24 / 1;
    border-radius: 22px;
    background: var(--eh-soft);
    border: 1px solid var(--eh-border);
}

.eh-gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.eh-gallery-link:hover img {
    transform: scale(1.07);
}

@media (max-width: 1100px) {
    .eh-events-columns-4,
    .eh-events-columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eh-single-hero {
        grid-template-columns: 1fr;
    }

    .eh-single-hero-media {
        min-height: 280px;
    }
}

@media (max-width: 780px) {
    .eh-events-section {
        padding: 22px;
        border-radius: 26px;
        margin: 22px auto;
    }

    .eh-events-columns-4,
    .eh-events-columns-3,
    .eh-events-columns-2,
    .eh-events-grid,
    .eh-single-facts,
    .eh-single-boxes,
    .eh-single-gallery {
        grid-template-columns: 1fr;
    }

    .eh-event-media {
        height: 205px;
    }

    .eh-event-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .eh-btn {
        width: 100%;
    }

    .eh-single-event {
        padding: 8px 0 36px;
    }

    .eh-single-hero {
        border-radius: 28px;
        padding: 22px;
    }

    .eh-single-hero-media {
        min-height: 230px;
        border-radius: 22px;
    }

    .eh-single-facts {
        margin: 14px 0 18px;
        padding: 0;
    }

    .eh-single-content-card,
    .eh-single-gallery-wrap {
        border-radius: 24px;
        padding: 22px;
    }
}

@media (max-width: 460px) {
    .eh-events-section {
        padding: 18px;
    }

    .eh-event-body {
        padding: 18px;
    }

    .eh-event-meta {
        grid-template-columns: 1fr;
    }
}

/* EventHouse Events - v1.1 additions */
.eh-single-topics-card,
.eh-single-instructors-wrap {
    padding: clamp(24px, 4vw, 38px);
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--eh-border);
    box-shadow: 0 18px 48px rgba(7, 26, 52, 0.07);
    margin-bottom: 22px;
}

.eh-topic-list {
    display: grid;
    gap: 12px;
}

.eh-topic-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(215, 166, 74, 0.13), transparent 32%),
        linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid rgba(12, 31, 62, 0.08);
}

.eh-topic-number {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    color: var(--eh-navy);
    background: rgba(215, 166, 74, 0.18);
    border: 1px solid rgba(215, 166, 74, 0.34);
    font-weight: 950;
    letter-spacing: 0.5px;
}

.eh-topic-item h3 {
    margin: 0 0 8px;
    color: var(--eh-navy);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 950;
}

.eh-topic-item p {
    margin: 0;
    color: var(--eh-muted);
    font-size: 14px;
    line-height: 2.05;
}

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

.eh-instructor-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 20px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(215, 166, 74, 0.13), transparent 34%),
        linear-gradient(135deg, #fff, #f8fafc);
    border: 1px solid rgba(12, 31, 62, 0.08);
    box-shadow: 0 14px 34px rgba(7, 26, 52, 0.06);
}

.eh-instructor-photo {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--eh-navy), var(--eh-navy-2));
    color: #fff;
    font-size: 34px;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}

.eh-instructor-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eh-instructor-info h3 {
    margin: 0 0 6px;
    color: var(--eh-navy);
    font-size: 19px;
    line-height: 1.6;
    font-weight: 950;
}

.eh-instructor-info strong {
    display: block;
    margin-bottom: 10px;
    color: var(--eh-gold);
    font-size: 13px;
    line-height: 1.8;
    font-weight: 900;
}

.eh-instructor-info p {
    margin: 0 0 12px;
    color: var(--eh-muted);
    font-size: 14px;
    line-height: 2;
}

.eh-resume-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--eh-navy) !important;
    background: rgba(215, 166, 74, 0.14);
    border: 1px solid rgba(215, 166, 74, 0.36);
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 950;
}

@media (max-width: 900px) {
    .eh-instructors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .eh-single-topics-card,
    .eh-single-instructors-wrap {
        border-radius: 24px;
        padding: 22px;
    }

    .eh-topic-item,
    .eh-instructor-card {
        grid-template-columns: 1fr;
    }

    .eh-topic-number,
    .eh-instructor-photo {
        width: 76px;
        height: 76px;
        border-radius: 22px;
    }
}

/* EventHouse Events - v1.4 registration */
.eh-event-registration,
.eh-my-tickets {
    padding: clamp(24px, 4vw, 38px);
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--eh-border);
    box-shadow: 0 18px 48px rgba(7, 26, 52, 0.07);
    margin-bottom: 22px;
}

.eh-registration-note {
    margin: 0 0 18px;
    color: var(--eh-muted);
    font-size: 15px;
    line-height: 2.05;
}

.eh-registration-notice {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.9;
}

.eh-registration-success {
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.eh-registration-error {
    color: #7f1d1d;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.eh-registration-form {
    display: grid;
    gap: 18px;
}

.eh-ticket-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.eh-ticket-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.eh-ticket-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.eh-ticket-option-body {
    display: flex;
    min-height: 154px;
    flex-direction: column;
    gap: 7px;
    padding: 18px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(215, 166, 74, 0.12), transparent 38%),
        linear-gradient(135deg, #fff, #f8fafc);
    border: 1px solid rgba(12, 31, 62, 0.10);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.eh-ticket-option input:checked + .eh-ticket-option-body {
    border-color: rgba(215, 166, 74, 0.75);
    box-shadow: 0 14px 30px rgba(7, 26, 52, 0.10);
    transform: translateY(-2px);
}

.eh-ticket-option.is-disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.eh-ticket-option-body strong {
    color: var(--eh-navy);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 950;
}

.eh-ticket-option-body small,
.eh-ticket-option-body em {
    color: var(--eh-muted);
    font-style: normal;
    font-size: 13px;
    line-height: 1.8;
}

.eh-ticket-option-body b {
    margin-top: auto;
    color: var(--eh-gold);
    font-size: 15px;
    font-weight: 950;
}

.eh-registration-fields,
.eh-ticket-lookup-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.eh-registration-fields p,
.eh-ticket-lookup-form p {
    margin: 0;
}

.eh-registration-fields label,
.eh-ticket-lookup-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--eh-navy);
    font-size: 13px;
    font-weight: 900;
}

.eh-registration-fields label span {
    color: #b91c1c;
}

.eh-registration-fields input,
.eh-registration-fields select,
.eh-registration-fields textarea,
.eh-ticket-lookup-form input {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border-radius: 16px;
    border: 1px solid var(--eh-border);
    background: #fff;
    color: var(--eh-ink);
    font: inherit;
    box-sizing: border-box;
}

.eh-registration-fields textarea {
    min-height: 92px;
    resize: vertical;
}

.eh-registration-full {
    grid-column: 1 / -1;
}

.eh-registration-submit {
    width: fit-content;
    border: 0;
    cursor: pointer;
}

.eh-ticket-list {
    display: grid;
    gap: 12px;
}

.eh-ticket-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff, #f8fafc);
    border: 1px solid rgba(12, 31, 62, 0.10);
}

.eh-ticket-card span {
    display: block;
    margin-bottom: 5px;
    color: var(--eh-muted);
    font-size: 12px;
    font-weight: 900;
}

.eh-ticket-card strong {
    color: var(--eh-navy);
    font-size: 14px;
    line-height: 1.8;
    font-weight: 950;
}

.eh-instructor-resume-text {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(12, 31, 62, 0.04);
    border: 1px solid rgba(12, 31, 62, 0.07);
    color: var(--eh-ink);
    font-size: 13px;
    line-height: 2;
}

@media (max-width: 900px) {
    .eh-ticket-options,
    .eh-ticket-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .eh-event-registration,
    .eh-my-tickets {
        border-radius: 24px;
        padding: 22px;
    }

    .eh-registration-fields,
    .eh-ticket-lookup-form {
        grid-template-columns: 1fr;
    }

    .eh-registration-submit {
        width: 100%;
    }
}

/* EventHouse v1.4.1 - clean instructor resume modal */
.eh-instructors-grid {
    max-width: 980px;
    margin-inline: auto;
    align-items: stretch;
}

.eh-instructor-card {
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    max-width: 680px;
    min-height: 176px;
    margin-inline: auto;
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(12, 31, 62, 0.10);
    box-shadow: 0 16px 42px rgba(7, 26, 52, 0.07);
}

.eh-instructor-photo {
    width: 128px;
    height: 128px;
    border-radius: 24px;
}

.eh-instructor-info {
    min-width: 0;
}

.eh-instructor-info h3 {
    margin-bottom: 4px;
    font-size: 21px;
}

.eh-instructor-info strong {
    margin-bottom: 8px;
    color: var(--eh-navy);
    opacity: 0.72;
}

.eh-instructor-bio {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 420px;
}

.eh-resume-link,
button.eh-resume-link {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    cursor: pointer;
    margin-top: 2px;
    background: linear-gradient(135deg, var(--eh-gold), #f5b21d);
    color: var(--eh-navy) !important;
    box-shadow: 0 10px 22px rgba(215, 166, 74, 0.20);
}

.eh-resume-link:hover,
button.eh-resume-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(215, 166, 74, 0.28);
}

body.eh-modal-open {
    overflow: hidden;
}

.eh-resume-modal[hidden] {
    display: none !important;
}

.eh-resume-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.eh-resume-modal.is-open {
    display: flex;
}

.eh-resume-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 18, 33, 0.62);
    backdrop-filter: blur(7px);
}

.eh-resume-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: 84vh;
    overflow: auto;
    padding: clamp(22px, 4vw, 34px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0, rgba(215, 166, 74, 0.14), transparent 32%),
        #fff;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.30);
    direction: rtl;
}

.eh-resume-modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(12, 31, 62, 0.07);
    color: var(--eh-navy);
    font-size: 25px;
    line-height: 1;
}

.eh-resume-modal-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-inline-start: 42px;
    margin-bottom: 18px;
}

.eh-resume-modal-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--eh-navy), var(--eh-navy-2));
    color: #fff;
    font-size: 25px;
    font-weight: 950;
}

.eh-resume-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eh-resume-modal-head h3 {
    margin: 0;
    color: var(--eh-navy);
    font-size: 25px;
    line-height: 1.6;
    font-weight: 950;
}

.eh-resume-modal-head p {
    margin: 0;
    color: var(--eh-muted);
    font-size: 14px;
    line-height: 1.9;
}

.eh-resume-modal-body {
    color: var(--eh-ink);
    font-size: 15px;
    line-height: 2.25;
}

.eh-resume-modal-body p {
    margin: 0 0 12px;
}

.eh-resume-modal-actions {
    display: flex;
    margin-top: 20px;
}

/* EventHouse v1.4.1 - cleaner public ticket lookup panel */
.eh-my-tickets {
    max-width: 900px;
    margin-inline: auto;
}

.eh-ticket-lookup-form {
    align-items: end;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(12, 31, 62, 0.04), rgba(215, 166, 74, 0.08));
    border: 1px solid rgba(12, 31, 62, 0.08);
}

.eh-ticket-lookup-form .eh-btn {
    width: 100%;
    min-height: 46px;
}

.eh-ticket-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background:
        radial-gradient(circle at 0 0, rgba(215, 166, 74, 0.16), transparent 34%),
        linear-gradient(135deg, #fff, #f8fafc);
}

.eh-ticket-card::before {
    content: "";
    position: absolute;
    inset-block: 18px;
    right: 0;
    width: 5px;
    border-radius: 999px 0 0 999px;
    background: var(--eh-gold);
}

@media (max-width: 780px) {
    .eh-instructor-card {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .eh-instructor-bio {
        max-width: none;
    }

    .eh-resume-modal-dialog {
        border-radius: 22px;
    }

    .eh-resume-modal-head {
        padding-inline-start: 0;
        padding-top: 34px;
    }
}

/* EventHouse v1.4.2 - public user ticket panel */
.eh-user-panel {
    --eh-navy: #071a34;
    --eh-navy-2: #102c55;
    --eh-gold: #d7a64a;
    --eh-gold-2: #f3d28a;
    --eh-ink: #172033;
    --eh-muted: #667085;
    --eh-border: rgba(12, 31, 62, 0.10);
    --eh-card: rgba(255, 255, 255, 0.94);
    --eh-soft: #f6f8fc;
    direction: rtl;
    font-family: inherit;
    box-sizing: border-box;
    max-width: 1120px;
    margin: 48px auto;
    padding: 0;
    color: var(--eh-ink);
}

.eh-user-panel *,
.eh-user-panel *::before,
.eh-user-panel *::after {
    box-sizing: border-box;
}

.eh-user-panel-hero {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    padding: 32px;
    border: 1px solid rgba(12, 31, 62, 0.08);
    border-radius: 30px;
    background:
        radial-gradient(circle at 8% 10%, rgba(215, 166, 74, 0.20), transparent 30%),
        radial-gradient(circle at 100% 10%, rgba(12, 31, 62, 0.12), transparent 32%),
        linear-gradient(135deg, #fff, #f8fafc);
    box-shadow: 0 24px 70px rgba(12, 31, 62, 0.08);
}

.eh-user-panel-hero h2 {
    margin: 10px 0 8px;
    color: var(--eh-navy);
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.5;
    font-weight: 950;
}

.eh-user-panel-hero p {
    max-width: 660px;
    margin: 0;
    color: var(--eh-muted);
    font-size: 15px;
    line-height: 2;
}

.eh-user-panel-badge {
    display: grid;
    place-items: center;
    align-content: center;
    flex: 0 0 148px;
    min-height: 148px;
    border-radius: 28px;
    border: 1px solid rgba(215, 166, 74, 0.32);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.eh-user-panel-badge strong {
    color: var(--eh-navy);
    font-size: 38px;
    line-height: 1;
    font-weight: 950;
}

.eh-user-panel-badge span {
    margin-top: 8px;
    color: var(--eh-muted);
    font-size: 13px;
    font-weight: 800;
}

.eh-user-panel-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: -20px 24px 20px;
    position: relative;
    z-index: 2;
}

.eh-user-panel-stats div {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(12, 31, 62, 0.08);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 44px rgba(12, 31, 62, 0.06);
}

.eh-user-panel-stats span {
    display: block;
    margin-bottom: 8px;
    color: var(--eh-muted);
    font-size: 12px;
    font-weight: 800;
}

.eh-user-panel-stats strong {
    color: var(--eh-navy);
    font-size: 24px;
    font-weight: 950;
}

.eh-user-panel-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(12, 31, 62, 0.04);
    border: 1px solid rgba(12, 31, 62, 0.06);
}

.eh-user-panel-tabs button {
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 16px;
    color: var(--eh-navy);
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    transition: 0.2s ease;
}

.eh-user-panel-tabs button.is-active,
.eh-user-panel-tabs button:hover {
    color: #fff;
    background: var(--eh-navy);
    box-shadow: 0 12px 26px rgba(12, 31, 62, 0.18);
}

.eh-user-panel-content {
    padding: 24px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(12, 31, 62, 0.08);
    box-shadow: 0 22px 66px rgba(12, 31, 62, 0.06);
}

.eh-user-panel-pane {
    display: none;
}

.eh-user-panel-pane.is-active {
    display: block;
}

.eh-panel-note,
.eh-panel-empty {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(12, 31, 62, 0.08);
    background: #f8fafc;
}

.eh-panel-note strong,
.eh-panel-empty strong {
    display: block;
    margin-bottom: 6px;
    color: var(--eh-navy);
    font-size: 15px;
    font-weight: 950;
}

.eh-panel-note span,
.eh-panel-empty span {
    display: block;
    color: var(--eh-muted);
    font-size: 13px;
    line-height: 1.9;
}

.eh-panel-note-soft {
    background: linear-gradient(135deg, rgba(215, 166, 74, 0.10), rgba(12, 31, 62, 0.03));
}

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

.eh-panel-ticket-card {
    padding: 22px;
    border: 1px solid rgba(12, 31, 62, 0.08);
}

.eh-ticket-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.eh-ticket-card-head span,
.eh-ticket-event-title span,
.eh-ticket-card-grid span {
    display: block;
    margin-bottom: 5px;
    color: var(--eh-muted);
    font-size: 12px;
    font-weight: 800;
}

.eh-ticket-card-head strong {
    display: block;
    color: var(--eh-navy);
    direction: ltr;
    text-align: right;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: 0.4px;
}

.eh-ticket-card-head mark {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #065f46;
    background: rgba(16, 185, 129, 0.14);
    font-size: 12px;
    font-weight: 900;
}

.eh-panel-ticket-card.is-pending .eh-ticket-card-head mark {
    color: #92400e;
    background: rgba(245, 158, 11, 0.16);
}

.eh-panel-ticket-card.is-cancelled .eh-ticket-card-head mark {
    color: #991b1b;
    background: rgba(239, 68, 68, 0.14);
}

.eh-ticket-event-title {
    padding: 14px;
    border-radius: 18px;
    background: rgba(12, 31, 62, 0.04);
    margin-bottom: 14px;
}

.eh-ticket-event-title h3 {
    margin: 0;
    color: var(--eh-navy);
    font-size: 18px;
    line-height: 1.7;
    font-weight: 950;
}

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

.eh-ticket-card-grid div {
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(12, 31, 62, 0.06);
    background: rgba(255, 255, 255, 0.78);
}

.eh-ticket-card-grid strong {
    color: var(--eh-ink);
    font-size: 13px;
    line-height: 1.8;
    font-weight: 900;
}

.eh-ticket-card-wide {
    grid-column: 1 / -1;
}

.eh-ticket-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.eh-ticket-card-actions .eh-btn {
    flex: 1 1 150px;
    justify-content: center;
    min-height: 44px;
}

.eh-panel-lookup-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    margin-bottom: 16px;
}

.eh-panel-lookup-form p {
    margin: 0;
}

.eh-panel-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.eh-panel-event-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(12, 31, 62, 0.08);
    background: #fff;
    box-shadow: 0 18px 52px rgba(12, 31, 62, 0.06);
}

.eh-panel-event-media {
    position: relative;
    display: block;
    height: 170px;
    overflow: hidden;
    background: rgba(12, 31, 62, 0.05);
}

.eh-panel-event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.eh-panel-event-card:hover .eh-panel-event-media img {
    transform: scale(1.04);
}

.eh-panel-event-media span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--eh-navy);
    background: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 950;
}

.eh-panel-event-body {
    padding: 16px;
}

.eh-panel-event-body h3 {
    margin: 0 0 10px;
    color: var(--eh-navy);
    font-size: 17px;
    line-height: 1.8;
    font-weight: 950;
}

.eh-panel-event-body h3 a {
    color: inherit;
    text-decoration: none;
}

.eh-panel-event-meta,
.eh-panel-ticket-types-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.eh-panel-event-meta span,
.eh-panel-ticket-types-mini span {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(12, 31, 62, 0.05);
    color: var(--eh-muted);
    font-size: 11px;
    font-weight: 800;
}

.eh-panel-event-body .eh-btn {
    width: 100%;
    justify-content: center;
}

@media print {
    body.eh-printing-ticket * {
        visibility: hidden !important;
    }

    body.eh-printing-ticket .eh-ticket-card.is-printing,
    body.eh-printing-ticket .eh-ticket-card.is-printing * {
        visibility: visible !important;
    }

    body.eh-printing-ticket .eh-ticket-card.is-printing {
        position: absolute;
        inset: 24px auto auto 24px;
        width: calc(100% - 48px);
        box-shadow: none !important;
    }

    body.eh-printing-ticket .eh-ticket-card-actions {
        display: none !important;
    }
}

@media (max-width: 920px) {
    .eh-user-panel-stats,
    .eh-panel-ticket-list,
    .eh-panel-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eh-panel-lookup-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .eh-user-panel {
        margin: 28px auto;
    }

    .eh-user-panel *,
.eh-user-panel *::before,
.eh-user-panel *::after {
    box-sizing: border-box;
}

.eh-user-panel-hero {
        display: block;
        padding: 24px;
        border-radius: 24px;
    }

    .eh-user-panel-badge {
        width: 100%;
        min-height: 104px;
        margin-top: 18px;
    }

    .eh-user-panel-stats,
    .eh-panel-ticket-list,
    .eh-panel-events-grid,
    .eh-ticket-card-grid {
        grid-template-columns: 1fr;
    }

    .eh-user-panel-stats {
        margin: 14px 0 18px;
    }

    .eh-user-panel-content {
        padding: 16px;
        border-radius: 22px;
    }

    .eh-user-panel-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* EventHouse account / frontend auth */
.eh-auth-panel {
    --eh-navy: #071a34;
    --eh-gold: #d7a64a;
    --eh-ink: #172033;
    --eh-muted: #667085;
    --eh-border: rgba(12, 31, 62, 0.12);
    --eh-soft: #f6f8fc;
    direction: rtl;
    max-width: 1120px;
    margin: 42px auto;
    padding: clamp(22px, 4vw, 44px);
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 10%, rgba(215, 166, 74, 0.18), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f7f9fd 100%);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: 0 24px 70px rgba(7, 26, 52, 0.10);
    font-family: inherit;
    box-sizing: border-box;
}

.eh-auth-panel *,
.eh-auth-panel *::before,
.eh-auth-panel *::after {
    box-sizing: border-box;
}

.eh-auth-hero {
    max-width: 760px;
    margin-bottom: 24px;
}

.eh-auth-hero h2,
.eh-auth-logged-in h2 {
    margin: 14px 0 10px;
    color: var(--eh-navy);
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.35;
    font-weight: 900;
}

.eh-auth-hero p,
.eh-auth-logged-in p {
    margin: 0;
    color: var(--eh-muted);
    font-size: 15px;
    line-height: 2;
}

.eh-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.eh-auth-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
    padding: clamp(18px, 3vw, 28px);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--eh-border);
    box-shadow: 0 18px 45px rgba(7, 26, 52, 0.08);
}

.eh-auth-card-head {
    margin-bottom: 4px;
}

.eh-auth-card-head strong {
    display: block;
    color: var(--eh-navy);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.6;
}

.eh-auth-card-head span {
    display: block;
    color: var(--eh-muted);
    font-size: 13px;
    line-height: 1.9;
}

.eh-auth-form p {
    margin: 0;
}

.eh-auth-form label:not(.eh-auth-check) {
    display: block;
    margin-bottom: 7px;
    color: var(--eh-ink);
    font-size: 13px;
    font-weight: 800;
}

.eh-auth-form input[type="text"],
.eh-auth-form input[type="email"],
.eh-auth-form input[type="tel"],
.eh-auth-form input[type="password"] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(12, 31, 62, 0.14);
    border-radius: 14px;
    background: #fff;
    color: var(--eh-ink);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eh-auth-form input:focus {
    border-color: rgba(215, 166, 74, 0.80);
    box-shadow: 0 0 0 4px rgba(215, 166, 74, 0.14);
}

.eh-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--eh-muted);
    font-size: 13px;
    line-height: 1.8;
}

.eh-auth-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--eh-gold);
}

.eh-auth-card .eh-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.eh-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.eh-auth-logged-in {
    text-align: right;
}

@media (max-width: 820px) {
    .eh-auth-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .eh-auth-panel {
        margin: 28px auto;
        padding: 18px;
        border-radius: 22px;
    }

    .eh-auth-card {
        padding: 18px;
        border-radius: 18px;
    }
}

.eh-panel-account-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(12, 31, 62, 0.10);
}

.eh-panel-account-bar strong,
.eh-panel-account-bar span {
    display: block;
}

.eh-panel-account-bar strong {
    color: var(--eh-navy, #071a34);
    font-weight: 900;
    line-height: 1.7;
}

.eh-panel-account-bar span {
    color: var(--eh-muted, #667085);
    font-size: 13px;
    direction: ltr;
    text-align: right;
}

@media (max-width: 640px) {
    .eh-panel-account-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .eh-panel-account-bar .eh-btn {
        justify-content: center;
        width: 100%;
    }
}

/* EventHouse v1.4.4 - IMDAC-like auth gateway redesign */
.eh-auth-panel {
    --eh-auth-navy: #032237;
    --eh-auth-navy-2: #071a34;
    --eh-auth-gold: #ffb200;
    --eh-auth-gold-soft: rgba(255, 178, 0, 0.14);
    --eh-auth-white: #ffffff;
    --eh-auth-text: #102033;
    --eh-auth-muted: #667085;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    gap: 0;
    max-width: 1180px;
    margin: clamp(28px, 5vw, 64px) auto;
    padding: 0;
    border-radius: 34px;
    color: var(--eh-auth-text);
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 178, 0, 0.23), transparent 30%),
        radial-gradient(circle at 86% 8%, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(135deg, var(--eh-auth-navy) 0%, #082f3e 48%, var(--eh-auth-navy-2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 32px 90px rgba(3, 34, 55, 0.18);
    isolation: isolate;
}

.eh-auth-panel::before,
.eh-auth-panel::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.eh-auth-panel::before {
    width: 360px;
    height: 360px;
    left: -140px;
    top: -130px;
    border-radius: 999px;
    background: rgba(255, 178, 0, 0.18);
    filter: blur(8px);
}

.eh-auth-panel::after {
    width: 1px;
    inset: 28px auto 28px 53%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.eh-auth-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(30px, 5vw, 58px);
    color: #fff;
}

.eh-auth-panel .eh-events-kicker {
    width: max-content;
    max-width: 100%;
    color: #052033;
    background: linear-gradient(135deg, #ffd369, var(--eh-auth-gold));
    border: 0;
    box-shadow: 0 14px 30px rgba(255, 178, 0, 0.22);
}

.eh-auth-hero h2,
.eh-auth-logged-in h2 {
    margin: 16px 0 12px;
    color: #fff;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.35;
    letter-spacing: -0.03em;
    font-weight: 950;
}

.eh-auth-hero p,
.eh-auth-logged-in p {
    max-width: 470px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 2.05;
}

.eh-auth-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.eh-auth-hero-points span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.90);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 12px;
    font-weight: 850;
    backdrop-filter: blur(10px);
}

.eh-auth-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    padding: clamp(20px, 3vw, 34px);
    background: rgba(248, 250, 252, 0.96);
    border-radius: 30px 0 0 30px;
}

.eh-auth-card {
    min-height: auto;
    height: auto;
    padding: clamp(20px, 2.4vw, 28px);
    gap: 13px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 178, 0, 0.11), transparent 34%),
        #ffffff;
    border: 1px solid rgba(3, 34, 55, 0.08);
    box-shadow: 0 18px 50px rgba(3, 34, 55, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.eh-auth-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 178, 0, 0.28);
    box-shadow: 0 26px 64px rgba(3, 34, 55, 0.13);
}

.eh-auth-card-head {
    position: relative;
    margin-bottom: 2px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(3, 34, 55, 0.07);
}

.eh-auth-card-head::before {
    content: "";
    display: inline-flex;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 13px;
    background:
        linear-gradient(135deg, rgba(255, 178, 0, 0.95), rgba(255, 211, 105, 0.95));
    box-shadow: 0 12px 24px rgba(255, 178, 0, 0.22);
}

.eh-auth-card-head strong {
    color: var(--eh-auth-navy);
    font-size: 20px;
    font-weight: 950;
}

.eh-auth-card-head span {
    margin-top: 4px;
    color: var(--eh-auth-muted);
    font-size: 12.5px;
    line-height: 1.9;
}

.eh-auth-form p {
    margin: 0;
}

.eh-auth-form label:not(.eh-auth-check) {
    margin-bottom: 7px;
    color: #1d2939;
    font-size: 12.5px;
    font-weight: 900;
}

.eh-auth-form input[type="text"],
.eh-auth-form input[type="email"],
.eh-auth-form input[type="tel"],
.eh-auth-form input[type="password"] {
    min-height: 48px;
    padding: 0 15px;
    border-radius: 16px;
    border: 1px solid rgba(3, 34, 55, 0.11);
    background: #f9fafb;
    color: var(--eh-auth-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.eh-auth-form input[type="text"]:focus,
.eh-auth-form input[type="email"]:focus,
.eh-auth-form input[type="tel"]:focus,
.eh-auth-form input[type="password"]:focus {
    border-color: rgba(255, 178, 0, 0.95);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 178, 0, 0.16);
}

.eh-auth-check {
    margin-top: 2px;
    color: #667085;
    font-size: 12.5px;
    font-weight: 750;
}

.eh-auth-check input {
    accent-color: var(--eh-auth-gold);
}

.eh-auth-card .eh-btn {
    width: 100%;
    min-height: 50px;
    margin-top: 8px;
    border-radius: 18px;
    color: var(--eh-auth-navy) !important;
    background: linear-gradient(135deg, #ffd369, var(--eh-auth-gold));
    box-shadow: 0 16px 30px rgba(255, 178, 0, 0.26);
}

.eh-auth-card:first-child .eh-btn {
    color: #fff !important;
    background: linear-gradient(135deg, var(--eh-auth-navy), #0b4052);
    box-shadow: 0 16px 30px rgba(3, 34, 55, 0.20);
}

.eh-auth-panel .eh-registration-notice {
    grid-column: 2;
    margin: 24px 28px -8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 30px rgba(3, 34, 55, 0.10);
}

.eh-auth-logged-in {
    display: block;
    padding: clamp(28px, 4vw, 44px);
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 178, 0, 0.22), transparent 32%),
        linear-gradient(135deg, var(--eh-auth-navy), #092f3f);
}

.eh-auth-logged-in .eh-auth-actions .eh-btn-ghost {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.20);
}

@media (max-width: 980px) {
    .eh-auth-panel {
        grid-template-columns: 1fr;
    }

    .eh-auth-panel::after {
        display: none;
    }

    .eh-auth-hero {
        padding-bottom: 20px;
    }

    .eh-auth-grid {
        border-radius: 28px 28px 0 0;
    }

    .eh-auth-panel .eh-registration-notice {
        grid-column: auto;
        margin: 18px 20px 0;
    }
}

@media (max-width: 760px) {
    .eh-auth-panel {
        margin: 24px auto;
        border-radius: 26px;
    }

    .eh-auth-hero {
        padding: 26px 22px 18px;
    }

    .eh-auth-hero h2,
    .eh-auth-logged-in h2 {
        font-size: 28px;
    }

    .eh-auth-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }

    .eh-auth-card {
        border-radius: 22px;
    }
}

/* EventHouse v1.4.5 - separated auth pages */
.eh-auth-panel-v145 {
    --eh-auth-navy: #032237;
    --eh-auth-navy-2: #06172b;
    --eh-auth-gold: #ffb200;
    --eh-auth-gold-2: #ffd36a;
    --eh-auth-bg: #f6f8fb;
    --eh-auth-card: #ffffff;
    --eh-auth-text: #101828;
    --eh-auth-muted: #667085;
    --eh-auth-border: rgba(3, 34, 55, 0.10);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(360px, 0.86fr) minmax(420px, 1fr);
    gap: 0;
    width: min(1120px, calc(100% - 32px));
    max-width: 1120px;
    min-height: 620px;
    margin: clamp(28px, 5vw, 72px) auto;
    padding: 0;
    border-radius: 32px;
    direction: rtl;
    color: var(--eh-auth-text);
    background: var(--eh-auth-bg);
    border: 1px solid rgba(3, 34, 55, 0.10);
    box-shadow: 0 34px 100px rgba(3, 34, 55, 0.16);
    isolation: isolate;
}

.eh-auth-panel-v145::before,
.eh-auth-panel-v145::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.eh-auth-panel-v145::before {
    width: 420px;
    height: 420px;
    right: -170px;
    top: -180px;
    border-radius: 999px;
    background: rgba(255, 178, 0, 0.22);
    filter: blur(4px);
}

.eh-auth-panel-v145::after {
    width: 320px;
    height: 320px;
    left: -150px;
    bottom: -160px;
    border-radius: 999px;
    background: rgba(3, 34, 55, 0.08);
}

.eh-auth-panel-v145 *,
.eh-auth-panel-v145 *::before,
.eh-auth-panel-v145 *::after {
    box-sizing: border-box;
}

.eh-auth-panel-v145 .eh-auth-visual {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: clamp(34px, 5vw, 64px);
    color: #fff;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 178, 0, 0.23), transparent 28%),
        radial-gradient(circle at 90% 75%, rgba(255, 255, 255, 0.10), transparent 32%),
        linear-gradient(145deg, var(--eh-auth-navy), #082d3a 52%, var(--eh-auth-navy-2));
}

.eh-auth-panel-v145 .eh-auth-visual::before {
    content: "";
    position: absolute;
    inset: 24px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.eh-auth-panel-v145 .eh-events-kicker {
    width: max-content;
    max-width: 100%;
    margin: 0;
    padding: 8px 15px;
    border-radius: 999px;
    color: #052033;
    background: linear-gradient(135deg, var(--eh-auth-gold-2), var(--eh-auth-gold));
    border: 0;
    box-shadow: 0 16px 35px rgba(255, 178, 0, 0.28);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0;
}

.eh-auth-panel-v145 .eh-auth-visual h2,
.eh-auth-panel-v145.eh-auth-logged-in h2 {
    max-width: 470px;
    margin: 20px 0 14px;
    color: #fff;
    font-size: clamp(32px, 4.4vw, 56px);
    line-height: 1.25;
    letter-spacing: -0.045em;
    font-weight: 950;
}

.eh-auth-panel-v145 .eh-auth-visual p,
.eh-auth-panel-v145.eh-auth-logged-in p {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    line-height: 2.1;
    font-weight: 650;
}

.eh-auth-panel-v145 .eh-auth-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.eh-auth-panel-v145 .eh-auth-hero-points span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px;
    font-weight: 850;
    backdrop-filter: blur(10px);
}

.eh-auth-panel-v145 .eh-auth-single-area,
.eh-auth-panel-v145 .eh-auth-entry-area {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(26px, 4vw, 52px);
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 178, 0, 0.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.eh-auth-panel-v145 .eh-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.eh-auth-panel-v145.eh-auth-panel-single .eh-auth-card,
.eh-auth-panel-v145 .eh-auth-entry-card,
.eh-auth-panel-v145 .eh-auth-status-card {
    width: min(100%, 470px);
    margin-inline: auto;
}

.eh-auth-panel-v145 .eh-auth-card,
.eh-auth-panel-v145 .eh-auth-entry-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: clamp(24px, 3vw, 34px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 178, 0, 0.12), transparent 34%),
        var(--eh-auth-card);
    border: 1px solid var(--eh-auth-border);
    box-shadow: 0 24px 70px rgba(3, 34, 55, 0.10);
}

.eh-auth-panel-v145 .eh-auth-card-head {
    position: relative;
    margin: 0 0 4px;
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(3, 34, 55, 0.07);
}

.eh-auth-panel-v145 .eh-auth-card-head::before {
    content: "";
    display: block;
    width: 38px;
    height: 38px;
    margin-bottom: 13px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--eh-auth-gold-2), var(--eh-auth-gold));
    box-shadow: 0 15px 28px rgba(255, 178, 0, 0.24);
}

.eh-auth-panel-v145 .eh-auth-card-head strong,
.eh-auth-panel-v145 .eh-auth-entry-card strong,
.eh-auth-panel-v145 .eh-auth-status-card strong {
    display: block;
    color: var(--eh-auth-navy);
    font-size: 22px;
    line-height: 1.55;
    font-weight: 950;
}

.eh-auth-panel-v145 .eh-auth-card-head span,
.eh-auth-panel-v145 .eh-auth-entry-card p,
.eh-auth-panel-v145 .eh-auth-status-card span {
    display: block;
    margin-top: 5px;
    color: var(--eh-auth-muted);
    font-size: 13px;
    line-height: 1.95;
    font-weight: 650;
}

.eh-auth-panel-v145 .eh-auth-form p {
    margin: 0;
}

.eh-auth-panel-v145 .eh-auth-form label:not(.eh-auth-check) {
    display: block;
    margin-bottom: 7px;
    color: #1d2939;
    font-size: 12.5px;
    font-weight: 900;
}

.eh-auth-panel-v145 .eh-auth-form input[type="text"],
.eh-auth-panel-v145 .eh-auth-form input[type="email"],
.eh-auth-panel-v145 .eh-auth-form input[type="tel"],
.eh-auth-panel-v145 .eh-auth-form input[type="password"] {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border-radius: 16px;
    border: 1px solid rgba(3, 34, 55, 0.11);
    background: #f9fafb;
    color: var(--eh-auth-text);
    font: inherit;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.eh-auth-panel-v145 .eh-auth-form input[type="text"]:focus,
.eh-auth-panel-v145 .eh-auth-form input[type="email"]:focus,
.eh-auth-panel-v145 .eh-auth-form input[type="tel"]:focus,
.eh-auth-panel-v145 .eh-auth-form input[type="password"]:focus {
    border-color: rgba(255, 178, 0, 0.94);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 178, 0, 0.16);
}

.eh-auth-panel-v145 .eh-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    color: var(--eh-auth-muted);
    font-size: 12.5px;
    line-height: 1.8;
    font-weight: 750;
}

.eh-auth-panel-v145 .eh-auth-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--eh-auth-gold);
}

.eh-auth-panel-v145 .eh-auth-card .eh-btn,
.eh-auth-panel-v145 .eh-auth-entry-actions .eh-btn,
.eh-auth-panel-v145 .eh-auth-actions .eh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    border-radius: 18px;
    border: 0;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
}

.eh-auth-panel-v145 .eh-auth-card .eh-btn,
.eh-auth-panel-v145 .eh-auth-entry-actions .eh-btn-primary,
.eh-auth-panel-v145 .eh-auth-actions .eh-btn-primary {
    width: 100%;
    color: var(--eh-auth-navy) !important;
    background: linear-gradient(135deg, var(--eh-auth-gold-2), var(--eh-auth-gold));
    box-shadow: 0 17px 32px rgba(255, 178, 0, 0.24);
}

.eh-auth-panel-v145 .eh-auth-login-form .eh-btn {
    color: #fff !important;
    background: linear-gradient(135deg, var(--eh-auth-navy), #0b4052);
    box-shadow: 0 17px 32px rgba(3, 34, 55, 0.20);
}

.eh-auth-panel-v145 .eh-auth-alt-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    color: var(--eh-auth-navy);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.eh-auth-panel-v145 .eh-auth-alt-link:hover {
    color: #9f6f00;
}

.eh-auth-panel-v145 .eh-auth-entry-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--eh-auth-gold-2), var(--eh-auth-gold));
    box-shadow: 0 15px 28px rgba(255, 178, 0, 0.24);
}

.eh-auth-panel-v145 .eh-auth-entry-actions,
.eh-auth-panel-v145 .eh-auth-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.eh-auth-panel-v145 .eh-auth-entry-actions .eh-btn-ghost,
.eh-auth-panel-v145 .eh-auth-actions .eh-btn-ghost {
    color: var(--eh-auth-navy) !important;
    background: rgba(3, 34, 55, 0.06);
    border: 1px solid rgba(3, 34, 55, 0.10);
    box-shadow: none;
}

.eh-auth-panel-v145 .eh-registration-notice {
    width: min(100%, 470px);
    margin: 0 auto 16px;
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(3, 34, 55, 0.08);
}

@media (max-width: 980px) {
    .eh-auth-panel-v145 {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .eh-auth-panel-v145 .eh-auth-visual {
        min-height: 300px;
    }

    .eh-auth-panel-v145 .eh-auth-visual::before {
        inset: 18px;
    }
}

@media (max-width: 640px) {
    .eh-auth-panel-v145 {
        width: min(100% - 20px, 1120px);
        margin: 22px auto;
        border-radius: 24px;
    }

    .eh-auth-panel-v145 .eh-auth-visual,
    .eh-auth-panel-v145 .eh-auth-single-area,
    .eh-auth-panel-v145 .eh-auth-entry-area {
        padding: 22px;
    }

    .eh-auth-panel-v145 .eh-auth-visual h2,
    .eh-auth-panel-v145.eh-auth-logged-in h2 {
        font-size: 30px;
    }

    .eh-auth-panel-v145 .eh-auth-card,
    .eh-auth-panel-v145 .eh-auth-entry-card {
        padding: 20px;
        border-radius: 22px;
    }

    .eh-auth-panel-v145 .eh-auth-entry-actions,
    .eh-auth-panel-v145 .eh-auth-actions,
    .eh-auth-panel-v145 .eh-auth-grid {
        grid-template-columns: 1fr;
    }
}
