/* ==========================================================================
   REGISTRATION FORM EVENT CUSTOM STYLE
   Prefix class: nw-registration-form-event-
   ========================================================================== */

:root {
    --nw-registration-form-event-primary: var(--wd-primary-color, #0073aa);
    --nw-registration-form-event-default-left-bg: var(--wd-primary-color);
    --nw-registration-form-event-bg-light: #f8fafc;
    --nw-registration-form-event-text-dark: #0f172a;
    --nw-registration-form-event-text-muted: #64748b;
}

.nw-registration-form-event-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    box-sizing: border-box;
}

.nw-registration-form-event-section *,
.nw-registration-form-event-section *::before,
.nw-registration-form-event-section *::after {
    box-sizing: border-box;
}

.nw-registration-form-event-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.nw-registration-form-event-card {
    background-color: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

@media (min-width: 992px) {
    .nw-registration-form-event-card {
        flex-direction: row;
    }
}

/* Info Column Styling (Accepts dynamic overrides from admin inline style) */
.nw-registration-form-event-info-col {
    background-color: var(--nw-registration-form-event-primary); 
    padding: 3rem 2rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 992px) {
    .nw-registration-form-event-info-col {
        width: 41.666667%;
        padding: 4rem 3rem;
    }
}

.nw-registration-form-event-badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.nw-registration-form-event-pulse-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #ef4444;
    animation: nw-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes nw-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.1); }
}

.nw-registration-form-event-badge-text {
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nw-registration-form-event-title {
    font-size: 1.875rem;
    font-weight: 900;
    color: #ffffff !important;
    line-height: 1.25;
    margin: 0 0 1.5rem 0;
}

@media (min-width: 576px) {
    .nw-registration-form-event-title {
        font-size: 2.25rem;
    }
}

.nw-registration-form-event-subtitle {
    color: #d1fae5;
    font-size: 1.125rem;
    margin: 0 0 2.5rem 0;
    line-height: 1.5;
}

.nw-registration-form-event-meta-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nw-registration-form-event-meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 1rem;
}

.nw-registration-form-event-icon {
    font-size: 1.5rem;
    color: #6ee7b7;
}

.nw-registration-form-event-meta-label {
    display: block;
    font-size: 0.75rem;
    color: #6ee7b7;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.nw-registration-form-event-meta-value {
    font-size: 1rem;
    font-weight: 700;
}

.nw-registration-form-event-form-col {
    padding: 3rem 2rem;
    background-color: var(--nw-registration-form-event-bg-light);
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .nw-registration-form-event-form-col {
        width: 58.333333%;
        padding: 4rem 3rem;
    }
}

.nw-registration-form-event-form-header {
    margin-bottom: 2rem;
}

.nw-registration-form-event-form-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--nw-registration-form-event-text-dark);
    margin: 0;
}

@media (min-width: 576px) {
    .nw-registration-form-event-form-title {
        font-size: 1.875rem;
    }
}

.nw-registration-form-event-mautic-box {
    width: 100%;
    min-height: 200px;
}

.nw-registration-form-event-footer-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--nw-registration-form-event-text-muted);
    text-align: center;
    font-weight: 500;
}

.nw-registration-form-event-lock-icon {
    color: var(--nw-registration-form-event-primary);
    margin-right: 0.25rem;
}