/* One continuously animated shell; only this centre card changes after GET CODE. */
.festive-content-card { display: contents; }
#festive-landing-step .login-19 .btn-loading { max-width: 100%; gap: 6px; }
#festive-landing-step .login-19 .login-inner-form .btn-loading-text {
    font-size: clamp(9px, 2.65vw, 12px);
    white-space: nowrap;
}
#festive-landing-step .login-19 .login-inner-form .btn-loading .loader.festive-chakra-loader {
    width: 22px;
    height: 22px;
}

/* Shared landing/result decorations: keep the same soft, animated layers. */
#festive-landing-step .login-19 .first_tab::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../img/festive-rangoli-outline.svg') right -88px top 70% / 190px 190px no-repeat;
    opacity: .18;
    pointer-events: none;
}
#festive-landing-step .festive-wave-art { opacity: .4; }
#festive-landing-step .festive-desktop-waves,
#festive-landing-step .festive-desktop-bottom-waves { opacity: .4; }
#festive-landing-step .festive-top-details,
#festive-landing-step .festive-corner-flower,
#festive-landing-step .festive-bottom-details,
#festive-landing-step .festive-desktop-diya-art,
#festive-landing-step .festive-fluttering-flower,
#festive-landing-step use[href="#desktop-mandala"] { display: none; }
#festive-landing-step .festive-result-lanterns {
    display: block;
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: clamp(88px, 24vw, 124px);
    height: auto;
    overflow: visible;
    pointer-events: none;
}
.festive-result-lantern { animation: festive-result-lantern-swing 5.4s ease-in-out infinite; }
.festive-result-lantern-small { animation-duration: 6.2s; animation-delay: -1.8s; }
.festive-result-lantern-tiny { animation-duration: 4.8s; animation-delay: -.9s; }
@keyframes festive-result-lantern-swing {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}
@media (min-width: 992px) {
    #festive-landing-step .festive-result-lanterns { left: 3%; width: 202px; }
    #festive-landing-step .login-19 .first_tab::before {
        background-image: url('../img/festive-rangoli-outline.svg'), url('../img/festive-rangoli-outline.svg');
        background-position: right -76px top 44%, left 24% top 7%;
        background-size: 280px 280px, 132px 132px;
        background-repeat: no-repeat;
    }
    .festive-desktop-lantern-art { transform: scale(1.08); transform-origin: right top; }
}
#festive-landing-step .login-19 .festive-lanterns { width: 88px; }
@media (max-width: 360px) {
    #festive-landing-step .login-19 .festive-lanterns { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
    .festive-result-lantern { animation: none; }
}

/* Remove only the decorative badges; keep the DOB calendar control intact. */
#festive-landing-step .login-19 .login-inner-form { padding-left: 0; }
#festive-landing-step .login-19 #online > .checkbox.row { margin-left: 0; margin-right: 0; }
#festive-landing-step .login-19 #online > .checkbox.row > .form-check { padding-left: 0 !important; padding-right: 0; }
#festive-landing-step .login-19 #inquiry label.form-label::before,
#festive-landing-step .login-19 #inquiry .input-group-addon::before {
    display: none;
    content: none;
}

#festive-landing-step .login-19 .login-inner-form .festive-mobile-status {
    display: block;
    margin: 4px 0 0;
    padding: 0;
    color: #60788f;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}
#festive-landing-step .festive-mobile-status::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 5px;
    border-radius: 50%;
    background: #2d6bb3;
    vertical-align: 1px;
}

#festive-landing-step.festive-showing-offers .login-19 .form-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centre the result in the usable canvas above the bottom decorations. */
    padding-top: 48px;
    padding-bottom: 128px;
}

#festive-landing-step.festive-showing-offers .festive-content-card {
    display: block;
    width: 100%;
    flex: 0 0 auto;
    margin: 0;
    padding: 20px 18px 18px;
    border: 1px solid rgba(235, 225, 204, .65);
    border-radius: 20px;
    background: rgba(255, 253, 245, .94);
    box-shadow: 0 9px 28px rgba(112, 89, 46, .13), inset 0 1px 0 #fff;
}

#festive-landing-step.festive-showing-offers .festive-content-card > .logo {
    height: 60px;
    flex-basis: 60px;
    margin: 0 0 16px !important;
    padding: 0;
}

#festive-landing-step.festive-showing-offers .festive-brand-mascot { width: 48px; height: 60px; flex-basis: 48px; }
#festive-landing-step.festive-showing-offers .festive-brand-name { font-size: 23px; }
#festive-landing-step.festive-showing-offers .festive-brand-copy small { font-size: 6px; }
#festive-landing-step.festive-showing-offers .festive-brand-sparkles { opacity: .7; }

#festive-offer-step { width: 100%; min-width: 0; color: #0d61ad; }
#festive-offer-step .festive-offer-layout { width: 100%; }
#festive-offer-step .festive-offer-summary-host { width: 100%; max-width: 100%; min-width: 0; padding: 0; flex: 0 0 100%; }
#festive-offer-step .festive-offer-intro {
    margin: 0 0 15px;
    color: #125fae;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}
#festive-offer-step .festive-offer-intro > span { display: block; }
#festive-offer-step .festive-offer-congratulations { white-space: nowrap; margin-bottom: 3px; }
#festive-offer-step button.festive-copy-code {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 5px;
    padding: 4px 8px;
    min-height: 28px;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: rgba(255, 255, 255, .65);
    color: #145e9e !important;
    font: 500 10px/1.3 'Poppins', sans-serif;
    cursor: pointer;
}
#festive-offer-step button.festive-copy-code:hover { background: #fff; }
#festive-offer-step button.festive-copy-code:focus-visible { outline: 2px solid #e85393; outline-offset: 2px; }
#festive-offer-step button.festive-copy-code:disabled { opacity: .5; cursor: default; }

#festive-offer-step .festive-offer-coupon,
#festive-offer-step .festive-offer-venue {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    margin-bottom: 9px;
    padding: 11px 10px;
    border-radius: 11px;
}

#festive-offer-step .festive-offer-coupon-annual { background: #fce7ed; }
#festive-offer-step .festive-offer-coupon-half { background: #e1f2fc; }
#festive-offer-step .festive-offer-gift { flex: 0 0 32px; width: 32px; height: 38px; }
#festive-offer-step .festive-offer-gift svg { width: 100%; height: 100%; overflow: visible; }
#festive-offer-step .festive-offer-coupon > div { min-width: 0; }
#festive-offer-step .festive-offer-coupon p {
    margin: 0 0 2px;
    color: #0c589d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}
#festive-offer-step .festive-offer-coupon strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}
#festive-offer-step .festive-offer-coupon-annual strong { color: #e43084; }
#festive-offer-step .festive-offer-coupon-half strong { color: #2787ce; }

#festive-offer-step .festive-offer-venue { min-height: 56px; background: #fff4d7; }
#festive-offer-step .festive-offer-venue svg { flex: 0 0 32px; width: 32px; height: 38px; }
#festive-offer-step .festive-offer-venue p { margin: 0; color: #1463aa; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
#festive-offer-step .festive-offer-venue span { color: #d93883; font-weight: 500; }

#festive-offer-step .festive-offer-divider { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 18px 0 12px; color: #f8bd51; }
#festive-offer-step .festive-offer-divider::before,
#festive-offer-step .festive-offer-divider::after { content: ""; flex: 1; height: 1px; background: #ffe7ab; }
#festive-offer-step .festive-offer-divider span { font-size: 6px; }
#festive-offer-step .festive-offer-divider svg { width: 23px; height: 16px; }
#festive-offer-step .festive-offer-child { margin: 0 0 8px; color: #0c65b5; font-size: 12px; font-weight: 700; line-height: 1.4; text-align: center; text-transform: uppercase; overflow-wrap: anywhere; }
#festive-offer-step .festive-offer-redeem { margin: 0; color: #125d9f; font-size: 10px; line-height: 1.6; text-align: center; }
#festive-offer-step .festive-offer-redeem a { float: none; display: inline; color: #075fa8; font-weight: 600; text-decoration: underline; white-space: nowrap; }
#festive-offer-step .festive-offer-redeem img { width: 18px; height: 18px; margin: 0 2px; object-fit: contain; vertical-align: -4px; }

#festive-offer-step .festive-offer-status { padding: 15px 10px; margin-bottom: 12px; border-radius: 10px; background: #fff4d7; color: #145e9e; font-size: 12px; line-height: 1.6; text-align: center; }
#festive-offer-step .festive-offer-loading { padding: 25px 0; text-align: center; }
#festive-offer-step .festive-offer-loading p { margin: 15px 0 0; color: #125d9f; font-size: 12px; }

/* Existing batch/package actions remain available within the same centre column. */
#festive-landing-step .login-19 #festive-offer-step .bg-color-19 { min-height: 0; max-width: 100%; flex: 0 0 100%; padding: 0 !important; background: transparent !important; }
#festive-offer-step .second_col,
#festive-offer-step .third_col { width: 100%; padding: 16px 0; color: #125d9f; }
#festive-offer-step .BatchsList { padding: 12px 0; border-bottom: 1px solid #e2dfd4; }
#festive-offer-step .centerC { font-size: 12px; }
#festive-offer-step .centerC h4 { font-size: 16px; }
#festive-offer-step .btn-buy { border-radius: 8px; background: #ffc13b; color: #075fa8; }
#festive-offer-step .block-content { padding: 0; }
#festive-offer-step .popup { position: relative; display: inline-block; cursor: pointer; }
#festive-offer-step .popuptext { visibility: hidden; position: absolute; z-index: 5; bottom: 100%; left: 50%; width: min(210px, 60vw); padding: 10px; border-radius: 8px; background: #245780; color: white; font-size: 11px; transform: translateX(-50%); }
#festive-offer-step .popuptext.show { visibility: visible; }
#festive-offer-step .confetti-host { position: relative; }
#festive-offer-step .confetti-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
#festive-offer-step .base-timer-wrapper { color: #d93883; font-size: 11px; text-align: center; }
#festive-offer-step .thankyou-page { color: #125d9f; text-align: center; }
#festive-offer-step .thankyou-page ._header h1 { color: #125d9f; font-size: 25px; }
#festive-offer-step .whatsapp_link_class { color: #27875c; font-size: 17px; }
#modalSubscriptionForm .col-xs-0 { display: none !important; }
#modalSubscriptionForm .col-md-0 { display: block !important; }
#modalSubscriptionForm .close { border: 0; background: transparent; color: #165e9f !important; font-size: 24px; }
@media (min-width: 470px) {
    #modalSubscriptionForm .col-xs-0 { display: block !important; }
    #modalSubscriptionForm .col-md-0 { display: none !important; }
}

@media (min-width: 992px) {
    #festive-landing-step.festive-showing-offers .festive-content-card { padding: 25px 38px 26px; }
    #festive-landing-step.festive-showing-offers .festive-content-card > .logo { height: 76px; flex-basis: 76px; }
    #festive-landing-step.festive-showing-offers .festive-brand-mascot { width: 60px; height: 72px; flex-basis: 60px; }
    #festive-landing-step.festive-showing-offers .festive-brand-name { font-size: 28px; }
    #festive-offer-step .festive-offer-intro { font-size: 17px; }
    #festive-offer-step .festive-offer-coupon { min-height: 77px; padding: 14px 20px; gap: 18px; }
    #festive-offer-step .festive-offer-gift { width: 40px; height: 44px; flex-basis: 40px; }
    #festive-offer-step .festive-offer-coupon p { font-size: 14px; }
    #festive-offer-step .festive-offer-coupon strong { font-size: 17px; }
    #festive-offer-step .festive-offer-venue { padding-inline: 22px; gap: 24px; }
    #festive-offer-step .festive-offer-venue p { font-size: 13px; }
    #festive-offer-step .festive-offer-child { font-size: 14px; }
    #festive-offer-step .festive-offer-redeem { font-size: 12px; }
}

@media (max-width: 360px) {
    #festive-landing-step.festive-showing-offers .festive-content-card { padding: 20px 12px 15px; }
    #festive-landing-step.festive-showing-offers .festive-brand-name { font-size: 21px; }
    #festive-offer-step .festive-offer-coupon { gap: 7px; padding-inline: 8px; }
    #festive-offer-step .festive-offer-coupon p { font-size: 11px; }
    #festive-offer-step .festive-offer-coupon strong { font-size: 12px; }
}

@media (max-width: 991px) {
    #festive-landing-step.festive-showing-offers .festive-content-card { margin-top: 0; }
}
#festive-landing-step .festive-dob-input { position: relative; }
#festive-landing-step .login-19 .festive-dob-input #dob { padding-right: 44px !important; }
#festive-landing-step .festive-dob-icon {
    position: absolute;
    top: 50%;
    right: 13px;
    width: 18px;
    height: 18px;
    color: #286bb3;
    transform: translateY(-50%);
    pointer-events: none;
}
#festive-landing-step .festive-dob-calendar {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
}
#festive-landing-step .festive-dob-input:focus-within .festive-dob-icon { color: #d63183; }

/* Body-level popup stays inside the viewport instead of using browser chrome. */
.festive-dob-popover {
    position: fixed;
    z-index: 20000;
    box-sizing: border-box;
    width: min(304px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 12px;
    border: 1px solid #d7dce2;
    border-radius: 14px;
    background: #fffdf8;
    color: #175c9e;
    box-shadow: 0 8px 28px rgba(35, 65, 89, .2);
    font: 13px/1.4 'Poppins', sans-serif;
}
.festive-dob-popover[hidden] { display: none !important; }
.festive-dob-heading { display: flex; align-items: center; gap: 5px; }
.festive-dob-heading select {
    min-width: 0;
    width: auto;
    height: 36px;
    margin: 0;
    padding: 4px;
    border: 1px solid #d7dce2;
    border-radius: 6px;
    background: #fff;
    color: #175c9e;
    font: inherit;
}
.festive-dob-heading [data-month] { flex: 1; }
.festive-dob-heading [data-year] { flex: 0 1 72px; }
.festive-dob-popover button,
.festive-dob-popover button:not(.active) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    height: 36px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #175c9e !important;
    font: inherit;
    cursor: pointer;
    box-shadow: none;
}
.festive-dob-heading button { flex: 0 0 26px; font-size: 24px; }
.festive-dob-weekdays,
.festive-dob-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.festive-dob-weekdays { margin: 12px 0 6px; font-size: 11px; color: #77879a; }
.festive-dob-days button[aria-current="date"] { border: 1px solid #ef93b8; }
.festive-dob-popover button:hover:not(:disabled) { background: #fff0b9; }
.festive-dob-days button[aria-pressed="true"],
.festive-dob-days button[aria-pressed="true"]:hover { background: #2d6bb3; color: #fff !important; }
.festive-dob-popover button:disabled { opacity: .32; cursor: default; }
.festive-dob-popover :focus-visible { outline: 2px solid #e85393; outline-offset: 1px; }
.festive-dob-footer { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; margin-top: 8px; border-top: 1px solid #f0e7d8; }
.festive-dob-footer button { padding: 0 8px; font-size: 12px; }

