/* =====================================================================
   Webinar & Training registration widget  (evr-*)
   Self-contained: shared by the website and the user panel.
   ===================================================================== */
.evr-launch,
.evr-overlay,
.evr-overlay * {
    box-sizing: border-box;
}

/* ---------- Floating launcher ---------- */
.evr-launch {
    position: fixed;
    bottom: 22px;
    left: 22px;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 8px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #EA580C, #FB923C);
    color: #fff;
    font: 700 14px/1.2 'Sora', 'Inter', 'Segoe UI', Arial, sans-serif;
    letter-spacing: .2px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(234, 88, 12, .38);
    transition: transform .25s ease, box-shadow .25s ease;
    animation: evr-nudge 6s ease-in-out 3s infinite;
}
.evr-launch--right {
    left: auto;
    right: 24px;
}
.evr-launch:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(234, 88, 12, .46);
}
.evr-launch:focus-visible {
    outline: 3px solid #FCD34D;
    outline-offset: 3px;
}
.evr-launch__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #EA580C;
    flex: 0 0 auto;
}
.evr-launch__icon::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .85);
    animation: evr-pulse 1.8s ease-out infinite;
}
.evr-launch__icon svg {
    width: 21px;
    height: 21px;
}
.evr-launch__text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.evr-launch__text small {
    font-size: 10.5px;
    font-weight: 600;
    opacity: .92;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.evr-launch__dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FCD34D;
    border: 2px solid #fff;
}

@keyframes evr-pulse {
    0% { transform: scale(.9); opacity: 1; }
    100% { transform: scale(1.55); opacity: 0; }
}
@keyframes evr-nudge {
    0%, 88%, 100% { transform: translateY(0); }
    91% { transform: translateY(-7px); }
    94% { transform: translateY(0); }
    97% { transform: translateY(-4px); }
}

@media (max-width: 640px) {
    .evr-launch {
        bottom: 18px;
        left: 16px;
        padding: 6px;
    }
    .evr-launch--right {
        left: auto;
        right: 16px;
    }
    .evr-launch__text {
        display: none;
    }
    .evr-launch__icon {
        width: 46px;
        height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .evr-launch,
    .evr-launch__icon::before {
        animation: none;
    }
}

/* ---------- Modal ---------- */
.evr-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(6, 42, 102, .55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    font: 400 14px/1.5 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #13203A;
    text-align: left;
}
.evr-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.evr-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(6, 42, 102, .28);
    transform: translateY(18px) scale(.98);
    transition: transform .3s ease;
}
.evr-overlay.is-open .evr-dialog {
    transform: none;
}

.evr-head {
    position: relative;
    padding: 22px 56px 20px 22px;
    background: linear-gradient(135deg, #EA580C, #FB923C);
    color: #fff;
    border-radius: 20px 20px 0 0;
}
.evr-head h3 {
    margin: 0 0 4px;
    font: 700 19px/1.3 'Sora', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #fff;
}
.evr-head p {
    margin: 0;
    font-size: 13px;
    opacity: .95;
    color: #fff;
}
.evr-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .2s;
}
.evr-close:hover {
    background: rgba(255, 255, 255, .38);
}
.evr-close svg {
    width: 16px;
    height: 16px;
}

.evr-body {
    padding: 22px;
}
.evr-step[hidden] {
    display: none !important;
}

/* Step 1: choice buttons */
.evr-choice {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin: 0 0 12px;
    padding: 16px;
    border: 1.5px solid #EBE2CC;
    border-radius: 16px;
    background: #FFFBEB;
    color: #13203A;
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.evr-choice:last-child {
    margin-bottom: 0;
}
.evr-choice:hover,
.evr-choice:focus-visible {
    border-color: #EA580C;
    box-shadow: 0 10px 24px rgba(234, 88, 12, .14);
    transform: translateY(-2px);
    outline: none;
}
.evr-choice__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex: 0 0 auto;
    color: #fff;
}
.evr-choice__icon svg {
    width: 24px;
    height: 24px;
}
.evr-choice--webinar .evr-choice__icon {
    background: linear-gradient(135deg, #1D7FE0, #0B3C91);
}
.evr-choice--training .evr-choice__icon {
    background: linear-gradient(135deg, #EA580C, #FB923C);
}
.evr-choice__txt {
    flex: 1 1 auto;
}
.evr-choice__txt b {
    display: block;
    font: 700 15px/1.3 'Sora', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #13203A;
}
.evr-choice__txt span {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: #4F5B75;
}
.evr-choice__arrow {
    color: #EA580C;
    flex: 0 0 auto;
}
.evr-choice__arrow svg {
    width: 20px;
    height: 20px;
}

/* Step 2: form */
.evr-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: none;
    color: #4F5B75;
    font: 600 13px/1 'Inter', 'Segoe UI', Arial, sans-serif;
    cursor: pointer;
}
.evr-back:hover {
    color: #EA580C;
}
.evr-back svg {
    width: 16px;
    height: 16px;
}
.evr-form-title {
    margin: 0 0 14px;
    font: 700 16px/1.3 'Sora', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #13203A;
}
.evr-field {
    margin: 0 0 12px;
}
.evr-field label {
    display: block;
    margin: 0 0 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: #13203A;
}
.evr-field label i {
    font-style: normal;
    color: #EA580C;
}
.evr-field input {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 14px;
    border: 1.5px solid #E2E6EE;
    border-radius: 12px;
    background: #fff;
    color: #13203A;
    font: 400 14px/1.2 'Inter', 'Segoe UI', Arial, sans-serif;
    box-shadow: none;
    transition: border-color .2s, box-shadow .2s;
}
.evr-field input:focus {
    outline: none;
    border-color: #EA580C;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, .15);
}
.evr-field input.is-bad {
    border-color: #DC2626;
}
.evr-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.evr-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.evr-msg {
    display: none;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    background: #FEF2F2;
    color: #B91C1C;
}
.evr-msg.is-on {
    display: block;
}
.evr-submit,
.evr-done-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    margin: 4px 0 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #EA580C, #FB923C);
    color: #fff;
    font: 700 15px/1 'Sora', 'Inter', 'Segoe UI', Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(234, 88, 12, .3);
    transition: transform .2s, opacity .2s;
}
.evr-submit:hover,
.evr-done-btn:hover {
    transform: translateY(-2px);
}
.evr-submit[disabled] {
    opacity: .7;
    cursor: wait;
    transform: none;
}
.evr-spin {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: evr-rot .7s linear infinite;
}
@keyframes evr-rot {
    to { transform: rotate(360deg); }
}
.evr-note {
    margin: 10px 0 0;
    font-size: 11.5px;
    color: #7A879F;
    text-align: center;
}

/* Step 3: success */
.evr-done {
    text-align: center;
    padding: 8px 0 4px;
}
.evr-done__icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #DCFCE7;
    color: #16A34A;
}
.evr-done__icon svg {
    width: 34px;
    height: 34px;
}
.evr-done h4 {
    margin: 0 0 6px;
    font: 700 18px/1.3 'Sora', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #13203A;
}
.evr-done p {
    margin: 0 0 18px;
    color: #4F5B75;
    font-size: 14px;
}

/* ---- Next session box (registration form ke upar) ---- */
.evr-sched{display:flex;flex-direction:column;gap:2px;margin:0 0 14px;padding:10px 14px;background:#FFF7ED;border:1px solid #FED7AA;border-left:4px solid #EA580C;border-radius:10px}
.evr-sched[hidden]{display:none}
.evr-sched__tag{font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#C2410C}
.evr-sched b{font-size:14px;color:#13203A}
.evr-sched__when{font-size:13px;font-weight:600;color:#0B3C91}

/* ---- Date & time launcher badge + choice cards pe ---- */
.evr-launch__when{display:none}
.evr-choice__txt span.evr-when{color:#C2410C;font-weight:700}


.evr-sched__note{display:block;margin-top:4px;font-size:11.5px;font-weight:700;color:#EA580C}

@media (max-width: 640px) {
    .evr-launch__when:not([hidden]){
        display:block;position:absolute;bottom:calc(100% + 8px);white-space:nowrap;
        padding:5px 12px;border-radius:999px;background:#FCD34D;color:#041D4A;
        font:700 11px/1.2 'Sora','Inter','Segoe UI',Arial,sans-serif;
        box-shadow:0 6px 16px rgba(4,29,74,.22);
    }
    .evr-launch--right .evr-launch__when{right:0}
    .evr-launch:not(.evr-launch--right) .evr-launch__when{left:0}
}

@media (max-width: 420px) {
    .evr-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .evr-body {
        padding: 18px;
    }
}

body.evr-lock {
    overflow: hidden;
}
