/* Festive offer visual refresh. Form markup, Angular bindings and handlers remain unchanged. */

html,
body {
    min-height: 100%;
    background: #fffaf1;
}

body {
    margin: 0;
    overflow-x: hidden;
}

#festive-landing-step .login-19 {
    min-height: 100vh;
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background: #fffaf1;
    font-family: 'Poppins', sans-serif;
}

#festive-landing-step .login-19 > .container-fluid {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

#festive-landing-step .login-19 .first_tab {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block !important;
    flex: 1 1 auto !important;
    min-height: max(760px, 100svh);
    margin: 0;
    padding: 0 !important;
    border-radius: 0;
    background: #fffaf1 !important;
    box-shadow: none;
}

#festive-landing-step .login-19 .festive-wave-art {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 auto 0 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.festive-svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.festive-wave-art > svg:not(.festive-svg-defs) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.festive-wide-ribbons { display: block; }

/* Local petal transforms leave each flower's placement and paper layers intact. */
.festive-petal-flutter {
    transform-origin: 0px 0px;
    animation: festive-petal-flutter var(--petal-duration, 5s) ease-in-out
        calc(var(--petal-delay, 0s) + var(--flower-delay, 0s)) infinite;
}

@keyframes festive-petal-flutter {
    0%, 100% { transform: rotate(-2.4deg) scaleY(.975); }
    30% { transform: rotate(3.5deg) scaleY(1.03); }
    60% { transform: rotate(-1.2deg) scaleY(.99); }
    80% { transform: rotate(1.4deg) scaleY(1.015); }
}

@media (prefers-reduced-motion: reduce) {
    .festive-petal-flutter { animation: none; transform: none; }
}

#festive-landing-step .login-19 .festive-wave-art > .festive-wave-layers {
    width: min(100%, 424px);
}

#festive-landing-step .login-19 .festive-lanterns {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    width: 88px;
    height: auto;
    overflow: visible;
    pointer-events: none;
}

.festive-lantern-main {
    transform-origin: 76px 0;
    animation: festive-lantern-swing 5.2s ease-in-out infinite;
}

.festive-lantern-charm {
    transform-origin: 28px 0;
    animation: festive-charm-swing 6.4s ease-in-out -.8s infinite;
}

@keyframes festive-lantern-swing {
    0%, 100% { transform: rotate(-2.5deg); }
    50% { transform: rotate(2.5deg); }
}

@keyframes festive-charm-swing {
    0%, 100% { transform: rotate(2deg); }
    50% { transform: rotate(-2deg); }
}

.festive-ribbon-motion {
    transform-origin: 50px 380px;
    animation: festive-ribbon-orbit 7s ease-in-out infinite;
}

.festive-wide-ribbon-motion {
    transform-origin: 340px 760px;
    animation-duration: 9s;
    animation-delay: -1.5s;
}

.festive-flame {
    animation: festive-flame-flicker 2.8s ease-in-out infinite;
}

.festive-flame-glow {
    animation: festive-glow-pulse 3.6s ease-in-out infinite;
}

@keyframes festive-ribbon-orbit {
    /* A little overscan keeps the canvas edges covered throughout the orbit. */
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1.025); }
    25% { transform: translate(6px, -3px) rotate(.7deg) scale(1.025); }
    50% { transform: translate(0, -6px) rotate(0deg) scale(1.025); }
    75% { transform: translate(-6px, -3px) rotate(-.7deg) scale(1.025); }
}

@keyframes festive-flame-flicker {
    0%, 100% { transform: rotate(-1deg) scale(1, 1); }
    30% { transform: rotate(1.2deg) scale(.98, 1.025); }
    55% { transform: rotate(-.6deg) scale(1.015, .99); }
    80% { transform: rotate(.8deg) scale(.985, 1.015); }
}

@keyframes festive-glow-pulse {
    0%, 100% { opacity: .65; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .festive-ribbon-motion, .festive-flame, .festive-flame-glow { animation: none; }
}

/* Keep the form surface light and legible over the decorative art. */
#festive-landing-step .login-19 .first_tab,
#festive-landing-step .login-19 .bg-color-19,
#festive-landing-step .login-19 .form-section {
    background-color: #fffaf1 !important;
}

#festive-landing-step .login-19 .festive-brand {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #1d69b4;
    text-align: left;
    white-space: nowrap;
}

#festive-landing-step .login-19 .festive-brand-mascot {
    display: block;
    width: 68px;
    height: 80px;
    overflow: visible;
    flex: 0 0 68px;
}

#festive-landing-step .login-19 .festive-brand-sparkles {
    position: absolute;
    inset: -12px -25px -10px -30px;
    width: calc(100% + 55px);
    height: calc(100% + 22px);
    pointer-events: none;
}

#festive-landing-step .login-19 .festive-brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

#festive-landing-step .login-19 .festive-brand-name {
    color: #1d69b4;
    font-family: 'Jost', sans-serif;
    font-size: 27px;
    font-weight: 500;
    letter-spacing: -.6px;
}

#festive-landing-step .login-19 .festive-brand-name sup {
    position: relative;
    top: -7px;
    margin-left: 1px;
    font-size: 8px;
    letter-spacing: 0;
}

#festive-landing-step .login-19 .festive-brand-copy small {
    margin-top: 5px;
    color: #1d69b4;
    font-size: 7px;
    font-weight: 500;
    letter-spacing: .1px;
}

#festive-landing-step .login-19 .form-section {
    background-color: transparent !important;
}

/* The reference places the diya below the form; hide the repo's mismatched fallback asset. */
#festive-landing-step .login-19 .first_tab::after {
    display: none;
}

#festive-landing-step .login-19 .bg-color-19 {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 760px;
    padding: 0 !important;
    background: transparent;
}

#festive-landing-step .login-19 .first_tab.bg-color-19 {
    width: 100%;
    max-width: 100%;
}

#festive-landing-step .login-19 .form-section {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    min-height: max(760px, 100svh);
    margin: 0;
    padding: 28px 56px 114px 152px;
    border-radius: 0;
}

#festive-landing-step .login-19 .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 86px;
    padding-right: 16px;
    margin: 0 0 10px !important;
    text-align: center;
}

#festive-landing-step .login-19 .logo img {
    width: 220px;
    height: auto;
    max-height: 76px;
    object-fit: contain;
    margin: 0;
}

#festive-landing-step .login-19 .nav.nav-tabs {
    display: flex;
    width: 100%;
    margin: 0 0 17px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 999px;
    background: #f2f3f5;
}

#festive-landing-step .login-19 .nav-tabs .nav-item {
    flex: 1 1 50%;
    margin: 0;
    text-align: center;
}

#festive-landing-step .login-19 .nav-tabs .nav-link,
#festive-landing-step .login-19 .nav-tabs .nav-link.active {
    width: 100%;
    min-height: 34px;
    padding: 8px 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #1262b1 !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

#festive-landing-step .login-19 .nav-tabs .nav-link.active {
    background: #286ab5;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(40, 106, 181, .2);
}

#festive-landing-step .login-19 .login-inner-form {
    color: #1262b1;
    padding-left: 44px;
}

#festive-landing-step .login-19 .login-inner-form .form-group,
#festive-landing-step .login-19 .login-inner-form .pt-4,
#festive-landing-step .login-19 .login-inner-form .py-4 {
    margin-top: 0;
    margin-bottom: 17px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#festive-landing-step .login-19 #inquiry > .row {
    margin-left: 0;
    margin-right: 0;
}

#festive-landing-step .login-19 #inquiry > .row > * { padding-left: 0; padding-right: 0; }

#festive-landing-step .login-19 .login-inner-form label.form-label,
#festive-landing-step .login-19 .input-group-addon {
    display: block;
    position: relative;
    margin: 0 0 4px;
    color: #1262b1;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: left;
}

#festive-landing-step .login-19 .login-inner-form label.form-label::before,
#festive-landing-step .login-19 .input-group-addon::before {
    display: flex;
    position: absolute;
    left: -44px;
    top: 0;
    width: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    border-radius: 50%;
    background: #c8e4f4;
    color: #1262b1;
    font-family: FontAwesome;
    font-size: 14px;
    vertical-align: middle;
}

#festive-landing-step .login-19 #inquiry > div:first-child label::before {
    content: "\f007";
    color: #d41475;
    background: #f9c9d7;
}

#festive-landing-step .login-19 #inquiry > div:nth-child(3) label::before {
    content: "\f073";
    background: #ffda7d;
}

#festive-landing-step .login-19 .login-inner-form label[for="first_field"]::before {
    content: "\f095";
    background: #bce8e5;
}

#festive-landing-step .login-19 .tab-pane .input-group-addon::before {
    content: "\f041";
    background: #c9e6f6;
}

#festive-landing-step .login-19 .tab-pane > div:nth-child(2) .input-group-addon::before {
    content: "\f1ad";
    color: #d41475;
    background: #f7bfd3;
}

#festive-landing-step .login-19 .login-inner-form .form-box,
#festive-landing-step .login-19 .login-inner-form .form-control {
    width: 100%;
}

#festive-landing-step .login-19 .login-inner-form .form-control,
#festive-landing-step .login-19 .select2-container--default .select2-selection--single {
    min-height: 40px;
    float: none;
    box-sizing: border-box;
    padding: 10px 13px !important;
    border: 1px solid #d7dce2 !important;
    border-radius: 10px !important;
    outline: none;
    background: #fffdf8 !important;
    box-shadow: 0 2px 5px rgba(41, 65, 93, .05);
    color: #6c7280;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    line-height: 18px;
}

#festive-landing-step .login-19 .login-inner-form input.form-control::placeholder {
    color: #8c93a0;
    opacity: 1;
}

#festive-landing-step .login-19 .login-inner-form .cid_context {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 !important;
}

#festive-landing-step .login-19 .login-inner-form .cid_context > .col-4,
#festive-landing-step .login-19 .login-inner-form .cid_context > .col-8 {
    padding: 0;
}

#festive-landing-step .login-19 .login-inner-form .cid_context > .col-4 {
    flex: 0 0 82px;
    max-width: 82px;
}

#festive-landing-step .login-19 .login-inner-form .cid_context > .col-8 {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: none;
}

#festive-landing-step .login-19 .cid_context select {
    padding-left: 10px !important;
}

#festive-landing-step .login-19 .select2-container {
    width: 100% !important;
}

#festive-landing-step .login-19 .select2-container .select2-selection--single {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 10px !important;
}

#festive-landing-step .login-19 .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    color: #6c7280;
    font-size: 11px;
    line-height: 18px;
}

#festive-landing-step .login-19 .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 7px;
    right: 7px;
}

#festive-landing-step .login-19 .select2-container--default .select2-selection--single .select2-selection__arrow b,
#festive-landing-step .login-19 .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: #1262b1 transparent transparent transparent !important;
}

#festive-landing-step .login-19 #dob {
    padding-right: 42px !important;
    background-image: linear-gradient(45deg, transparent 50%, #1262b1 50%), linear-gradient(135deg, #1262b1 50%, transparent 50%);
    background-position: calc(100% - 19px) 16px, calc(100% - 14px) 16px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

#festive-landing-step .login-19 .login-inner-form .tab-content {
    margin-top: 1px;
}

#festive-landing-step .login-19 .login-inner-form .tab-pane > div:not(.mb-3) {
    margin-bottom: 17px;
}

#festive-landing-step .login-19 .login-inner-form .tab-pane select.form-control {
    min-height: 40px;
    padding-left: 13px !important;
}

#festive-landing-step .login-19 .login-inner-form .round {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 7px 0 0;
    vertical-align: middle;
}

#festive-landing-step .login-19 .login-inner-form .round label {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1px solid #b9c2ce;
    border-radius: 5px;
    background: #fff;
}

#festive-landing-step .login-19 .login-inner-form .round input[type="checkbox"]:checked + label {
    border-color: #286ab5;
    background: #286ab5;
}

#festive-landing-step .login-19 .login-inner-form .form-check-label {
    display: inline;
    padding: 0;
    color: #1262b1;
    font-size: 10px;
    font-weight: 400;
    line-height: 20px;
    vertical-align: middle;
}

#festive-landing-step .login-19 .login-inner-form .form-check-label a {
    float: none;
    color: #1262b1 !important;
    text-decoration: underline;
}

#festive-landing-step .login-19 .login-inner-form .mb-3 {
    margin-bottom: 11px !important;
}

#festive-landing-step .login-19 .login-inner-form .form-group.pull-left.pb-5 {
    width: 100% !important;
    float: none !important;
    margin: 9px 0 0;
    padding-bottom: 0 !important;
}

#festive-landing-step .login-19 .login-inner-form .btn-md.btn-theme {
    width: 100%;
    min-height: 45px;
    padding: 10px 18px !important;
    border: 0;
    border-radius: 999px;
    background: #ffc13b;
    color: #0759a8 !important;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    box-shadow: 0 5px 12px rgba(242, 170, 35, .2);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

#festive-landing-step .login-19 .login-inner-form .btn-md.btn-theme::after {
    content: "\2192";
    display: inline-block;
    margin-left: 7px;
    font-size: 21px;
    line-height: 1;
    vertical-align: -1px;
}

#festive-landing-step .login-19 .login-inner-form .btn-md.btn-theme:hover,
#festive-landing-step .login-19 .login-inner-form .btn-md.btn-theme:focus {
    background: #ffca58;
    box-shadow: 0 8px 16px rgba(242, 170, 35, .28);
    transform: translateY(-1px);
}

#festive-landing-step .login-19 .login-inner-form .btn-loading-text {
    color: #0759a8;
}

#festive-landing-step .login-19 .festive-settings-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    pointer-events: none;
}

#festive-landing-step .login-19 .festive-chakra-loader,
#festive-landing-step .login-19 .login-inner-form .loader.festive-chakra-loader {
    display: inline-block;
    position: relative;
    isolation: isolate;
    flex: 0 0 auto;
    width: 104px;
    height: 104px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(255, 125, 158, .24), transparent 65%),
        radial-gradient(ellipse at 72% 66%, rgba(57, 143, 203, .22), transparent 65%),
        radial-gradient(circle, rgba(255, 210, 102, .19), transparent 68%);
    vertical-align: middle;
    pointer-events: none;
}

#festive-landing-step .login-19 .festive-chakra-loader::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Recolor the existing spark detail without changing the source bitmap. */
    background-image:
        conic-gradient(#ffd266, #ff7d9e 70deg, #4293cb 145deg, #ffd266 215deg, #ff7d9e 285deg, #4293cb 330deg, #ffd266),
        url('../img/festive-chakra-loader.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-blend-mode: color;
    -webkit-mask: url('../img/festive-chakra-loader.png') center / contain no-repeat;
    mask: url('../img/festive-chakra-loader.png') center / contain no-repeat;
    transform-origin: 50% 50%;
    animation: festive-chakra-spin 1.1s linear infinite,
        festive-chakra-burn 1.7s ease-in-out infinite;
}

#festive-landing-step .login-19 .festive-chakra-loader::after {
    content: "";
    position: absolute;
    inset: -5%;
    background:
        radial-gradient(ellipse at 30% 7%, #fff6cc 0 .6%, #ffd266 .9% 1.3%, transparent 1.8%),
        radial-gradient(ellipse at 79% 14%, #ffe4ee 0 .6%, #ff7d9e .9% 1.4%, transparent 1.9%),
        radial-gradient(ellipse at 94% 48%, #d6f0ff 0 .7%, #4293cb 1% 1.5%, transparent 2%),
        radial-gradient(ellipse at 73% 90%, #fff6cc 0 .5%, #ffd266 .9% 1.5%, transparent 2%),
        radial-gradient(ellipse at 27% 94%, #ffe4ee 0 .6%, #ff7d9e .9% 1.4%, transparent 2%),
        radial-gradient(ellipse at 6% 62%, #d6f0ff 0 .5%, #4293cb .9% 1.3%, transparent 1.8%);
    animation: festive-chakra-embers .85s ease-out infinite;
}

#festive-landing-step .login-19 .login-inner-form .loader.festive-chakra-loader {
    width: 26px;
    height: 26px;
}

#festive-landing-step .login-19 .login-inner-form .btn-theme:disabled::after {
    display: none;
}

#festive-landing-step .login-19 .login-inner-form .btn-loading-text {
    font-size: 12px;
}

@keyframes festive-chakra-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes festive-chakra-burn {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 2px rgba(255, 125, 158, .4)); }
    23% { filter: brightness(1.13) drop-shadow(0 0 3px rgba(255, 210, 102, .5)); }
    47% { filter: brightness(.95) drop-shadow(0 0 2px rgba(66, 147, 203, .4)); }
    71% { filter: brightness(1.08) drop-shadow(0 0 3px rgba(255, 125, 158, .45)); }
}

@keyframes festive-chakra-embers {
    0% { transform: rotate(0deg) scale(.82); opacity: 0; }
    22% { opacity: 1; }
    65% { opacity: .6; }
    100% { transform: rotate(75deg) scale(1.14); opacity: 0; }
}

#festive-landing-step .login-19 .login-inner-form .help-block,
#festive-landing-step .login-19 .login-inner-form [style*="color:#fbca53"] {
    color: #c73f62 !important;
    font-size: 10px;
}

#festive-landing-step .login-19 #venueAddressTextarea {
    min-height: 40px;
}

/* Edge-to-edge canvas with a readable form column and independent artwork layers. */
@media (max-width: 1024px) {
    html, body, #festive-landing-step .login-19 {
        background: #fffaf1 !important;
    }

    #festive-landing-step .login-19 {
        padding: 0;
        min-height: 100vh;
        min-height: 100svh;
    }

    #festive-landing-step .login-19 .first_tab.bg-color-19 {
        width: 100%;
        max-width: 100%;
        flex-basis: auto !important;
        box-shadow: none;
    }

    #festive-landing-step .login-19 > .container-fluid {
        max-width: 100%;
        margin: 0;
    }

    #festive-landing-step .login-19 .form-section {
        padding-left: clamp(120px, 18vw, 152px);
        padding-right: clamp(24px, 5vw, 56px);
        padding-bottom: 114px;
        margin: 0 auto;
    }

    #festive-landing-step .login-19 .festive-wave-art > .festive-wave-layers {
        width: min(100%, 424px);
    }

    .festive-wide-ribbons { display: block; }

    #festive-landing-step .login-19 .festive-lanterns {
        width: 104px;
        right: 4px;
    }
}

@media (min-width: 481px) and (max-width: 600px) {
    #festive-landing-step .login-19 .festive-lanterns { width: 80px; right: 0; }
}

/* Phones use the full canvas width with no outer gutters. */
@media (max-width: 480px) {
    html, body, #festive-landing-step .login-19 { background: #fffaf1 !important; }

    #festive-landing-step .login-19 { padding: 0; }

    #festive-landing-step .login-19 > .container-fluid {
        max-width: 100%;
        margin: 0;
    }

    #festive-landing-step .login-19 .first_tab,
    #festive-landing-step .login-19 .bg-color-19,
    #festive-landing-step .login-19 .form-section {
        min-height: 760px;
        min-height: max(760px, 100svh);
    }

    #festive-landing-step .login-19 .first_tab.bg-color-19 {
        width: 100%;
        max-width: none;
        flex-basis: 100% !important;
        border-radius: 0;
        box-shadow: none;
    }

    #festive-landing-step .login-19 .form-section {
        padding-right: 18px;
        padding-left: 28.3%;
        padding-bottom: 130px;
    }

    #festive-landing-step .login-19 .logo { padding-right: 24px; }

    #festive-landing-step .login-19 .festive-brand-mascot { width: 60px; height: 72px; flex-basis: 60px; }
    #festive-landing-step .login-19 .festive-brand-name { font-size: 25px; }

    .festive-wide-ribbons { display: none; }

    #festive-landing-step .login-19 .festive-lanterns { width: 80px; right: 0; }

    #festive-landing-step .login-19 #mobile {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    #festive-landing-step .login-19 .festive-lanterns { width: 64px; }
    #festive-landing-step .login-19 .form-section {
        padding-right: 12px;
        padding-left: 25%;
    }

    #festive-landing-step .login-19 .festive-brand-name {
        font-size: 23px;
    }

    #festive-landing-step .login-19 .festive-brand-mascot { width: 54px; height: 66px; flex-basis: 54px; }
    #festive-landing-step .login-19 .festive-brand-copy small { font-size: 7px; }

    #festive-landing-step .login-19 .login-inner-form .cid_context {
        gap: 5px;
    }

    #festive-landing-step .login-19 .login-inner-form .cid_context > .col-4 {
        flex-basis: 70px;
        max-width: 70px;
    }

    #festive-landing-step .login-19 .logo img {
        width: 160px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .festive-lantern-main, .festive-lantern-charm { animation: none; }

    #festive-landing-step .login-19 .festive-chakra-loader::before,
    #festive-landing-step .login-19 .festive-chakra-loader::after {
        animation: none;
    }

    #festive-landing-step .login-19 .festive-chakra-loader::after { opacity: .4; }
}

/* Gentle motion for the main form: short durations, soft ease-out, no new markup. */
#festive-landing-step .login-19 {
    --festive-ease: cubic-bezier(.22, .8, .24, 1);
}

@keyframes festive-soft-rise {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@keyframes festive-soft-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* The card waits behind the spinner, then settles in at full height (no jump from logo-only to full form). */
#festive-landing-step .login-19 .festive-content-card {
    transition: opacity .55s var(--festive-ease) .1s, transform .65s var(--festive-ease) .1s, visibility 0s linear 0s,
        height .38s var(--festive-ease);
}

/* Small screens: the diya glows reach above the bottom artwork's viewBox; .festive-bg still clips the page edges. */
.festive-bg-mobile .festive-bg-bottom {
    overflow: visible;
}

/* Content that appears inside the card fades in while festive-layout.js eases the card's height. */
#festive-landing-step .login-19 .tab-pane [ng-show="showvenueAddress"]:not(.ng-hide),
#festive-landing-step #festive-offer-step:not(.ng-hide) {
    animation: festive-soft-rise .4s var(--festive-ease) .08s backwards;
}

#festive-landing-step .login-19 #festive-shared-content:has(> .festive-settings-loading:not(.ng-hide)) .festive-content-card {
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.98);
    transition: none;
}

/* The spinner fades out instead of vanishing (Angular would set display:none). */
#festive-landing-step .login-19 .festive-settings-loading {
    animation: festive-soft-fade .3s var(--festive-ease) backwards;
    transition: opacity .3s var(--festive-ease), visibility 0s linear .3s;
}

#festive-landing-step .login-19 .festive-settings-loading.ng-hide {
    display: flex !important;
    opacity: 0;
    visibility: hidden;
}

/* Settings loaded: tabs and fields settle in one after another, overlapping the spinner fade. */
#festive-landing-step .login-19 .nav.nav-tabs:not(.ng-hide) {
    animation: festive-soft-rise .5s var(--festive-ease) .2s backwards;
}

#festive-landing-step .login-19 .login-inner-form:not(.ng-hide) #inquiry > div {
    animation: festive-soft-rise .55s var(--festive-ease) backwards;
}

#festive-landing-step .login-19 .login-inner-form:not(.ng-hide) #inquiry > div:nth-child(1) { animation-delay: .26s; }
#festive-landing-step .login-19 .login-inner-form:not(.ng-hide) #inquiry > div:nth-child(2) { animation-delay: .32s; }
#festive-landing-step .login-19 .login-inner-form:not(.ng-hide) #inquiry > div:nth-child(3) { animation-delay: .38s; }
#festive-landing-step .login-19 .login-inner-form:not(.ng-hide) #inquiry > div:nth-child(n+4) { animation-delay: .44s; }

#festive-landing-step .login-19 .festive-form-panel {
    transition: background-color .4s var(--festive-ease), border-color .4s var(--festive-ease), box-shadow .4s var(--festive-ease);
}

/* Segmented control: the active pill glides between Offline and Online. */
@supports selector(:has(a)) {
    #festive-landing-step .login-19 .nav.nav-tabs { position: relative; }

    #festive-landing-step .login-19 .nav.nav-tabs::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 50%;
        border-radius: 999px;
        background: #286ab5;
        box-shadow: 0 3px 8px rgba(40, 106, 181, .2);
        transition: transform .32s var(--festive-ease);
    }

    #festive-landing-step .login-19 .nav.nav-tabs:has(.nav-item:last-child .nav-link.active)::before {
        transform: translateX(100%);
    }

    #festive-landing-step .login-19 .nav-tabs .nav-item { position: relative; z-index: 1; }

    #festive-landing-step .login-19 .nav-tabs .nav-link.active {
        background: transparent;
        box-shadow: none;
    }
}

#festive-landing-step .login-19 .nav-tabs .nav-link {
    transition: color .25s var(--festive-ease);
}

/* Tab panes cross-fade with a slight lift instead of a hard swap. */
#festive-landing-step .login-19 .tab-pane.fade {
    transition: opacity .22s var(--festive-ease), transform .22s var(--festive-ease);
}

#festive-landing-step .login-19 .tab-pane.fade:not(.show) {
    transform: translateY(4px);
}

/* Fields: a soft focus ring that eases in. */
#festive-landing-step .login-19 .login-inner-form .form-control,
#festive-landing-step .login-19 .select2-container--default .select2-selection--single {
    transition: border-color .2s var(--festive-ease), box-shadow .2s var(--festive-ease), background-color .2s var(--festive-ease);
}

#festive-landing-step .login-19 .login-inner-form .form-control:focus,
#festive-landing-step .login-19 .select2-container--focus .select2-selection--single,
#festive-landing-step .login-19 .select2-container--open .select2-selection--single {
    border-color: #8fb4dd !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(40, 106, 181, .14), 0 2px 5px rgba(41, 65, 93, .05);
}

#festive-landing-step .login-19 .login-inner-form .round label {
    transition: background-color .18s var(--festive-ease), border-color .18s var(--festive-ease);
}

/* Button: eased hover and a light press. */
#festive-landing-step .login-19 .login-inner-form .btn-md.btn-theme {
    transition: transform .2s var(--festive-ease), background-color .2s var(--festive-ease), box-shadow .2s var(--festive-ease);
}

#festive-landing-step .login-19 .login-inner-form .btn-md.btn-theme:active:not(:disabled) {
    transform: scale(.98);
    box-shadow: 0 3px 8px rgba(242, 170, 35, .2);
    transition-duration: .08s;
}

/* Validation and status messages fade in rather than pop. */
#festive-landing-step .login-19 .login-inner-form span[ng-show]:not(.ng-hide) {
    animation: festive-soft-fade .25s var(--festive-ease);
}

@media (prefers-reduced-motion: reduce) {
    #festive-landing-step .login-19 .nav.nav-tabs,
    #festive-landing-step .login-19 .festive-settings-loading,
    #festive-landing-step .login-19 .login-inner-form #inquiry > div,
    #festive-landing-step .login-19 .login-inner-form span[ng-show] {
        animation: none !important;
    }

    #festive-landing-step .login-19 .nav.nav-tabs::before,
    #festive-landing-step .login-19 .festive-content-card,
    #festive-landing-step .login-19 .tab-pane.fade,
    #festive-landing-step .login-19 .login-inner-form .btn-md.btn-theme {
        transition: none;
    }

    #festive-landing-step .login-19 .tab-pane.fade:not(.show) { transform: none; }
}
