/*
 * Login Experience
 *
 * A tenant-colored, motion-enhanced wedding portal entrance. Every decorative
 * layer is nonessential: the form stays visible and usable without JavaScript.
 */

.app-shell .login-shell.login-experience {
    --login-tilt-x: 0deg;
    --login-tilt-y: 0deg;
    --login-shift-x: 0px;
    --login-shift-y: 0px;
    position: relative;
    isolation: isolate;
    display: block;
    min-height: calc(100svh - 76px);
    padding: clamp(54px, 7vw, 94px) max(clamp(24px, 5vw, 80px), env(safe-area-inset-right, 0px)) clamp(62px, 7vw, 96px) max(clamp(24px, 5vw, 80px), env(safe-area-inset-left, 0px));
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 14%, rgba(102, 157, 190, .3), transparent 26rem),
        radial-gradient(circle at 86% 74%, rgba(202, 163, 90, .16), transparent 30rem),
        linear-gradient(132deg, #111d30 0%, #243852 48%, #172437 100%);
}

.app-shell .login-shell.login-experience::before,
.app-shell .login-shell.login-experience::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    pointer-events: none;
}

.app-shell .login-shell.login-experience::before {
    background:
        linear-gradient(rgba(163, 202, 221, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(163, 202, 221, .055) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: .7;
    -webkit-mask-image: radial-gradient(ellipse at 50% 48%, #000 5%, transparent 72%);
    mask-image: radial-gradient(ellipse at 50% 48%, #000 5%, transparent 72%);
    transform: perspective(560px) rotateX(61deg) scale(1.65) translateY(18%);
    transform-origin: center bottom;
}

.app-shell .login-shell.login-experience::after {
    background: linear-gradient(108deg, transparent 34%, rgba(255, 247, 219, .08) 48%, transparent 60%);
    transform: translateX(-52%);
    animation: login-light-sweep 15s ease-in-out infinite;
}

.login-atmosphere,
.login-atmosphere > span {
    position: absolute;
    pointer-events: none;
}

.login-atmosphere {
    z-index: -1;
    inset: 0;
    overflow: hidden;
}

.login-aurora {
    border-radius: 50%;
    filter: blur(3px);
    opacity: .72;
}

.login-aurora-one {
    top: -18%;
    left: -9%;
    width: min(58vw, 760px);
    aspect-ratio: 1.4;
    background: radial-gradient(ellipse, rgba(111, 176, 207, .26), rgba(78, 126, 164, .11) 44%, transparent 70%);
    animation: login-aurora-one 17s ease-in-out infinite alternate;
}

.login-aurora-two {
    right: -14%;
    bottom: -29%;
    width: min(62vw, 820px);
    aspect-ratio: 1.15;
    background: radial-gradient(ellipse, rgba(222, 188, 116, .21), rgba(116, 157, 183, .1) 48%, transparent 70%);
    animation: login-aurora-two 21s ease-in-out infinite alternate;
}

.login-light-beam {
    top: -28%;
    left: 42%;
    width: 18%;
    height: 130%;
    background: linear-gradient(180deg, rgba(214, 235, 244, .13), transparent 64%);
    filter: blur(24px);
    opacity: .72;
    transform: rotate(18deg);
    animation: login-beam-breathe 9s ease-in-out infinite;
}

.login-orbit {
    border: 1px solid rgba(167, 205, 222, .18);
    border-radius: 50%;
    box-shadow: inset 0 0 42px rgba(105, 169, 198, .04);
}

.login-orbit-one {
    top: 9%;
    right: -7%;
    width: min(44vw, 640px);
    aspect-ratio: 1;
    transform: rotate(-12deg);
    animation: login-orbit 44s linear infinite;
}

.login-orbit-two {
    bottom: -26%;
    left: 9%;
    width: min(39vw, 540px);
    aspect-ratio: 1;
    border-color: rgba(222, 186, 111, .14);
    animation: login-orbit-reverse 52s linear infinite;
}

.login-orbit i {
    position: absolute;
    top: 13%;
    left: 14%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f2dca8;
    box-shadow: 0 0 7px #f2dca8, 0 0 22px rgba(242, 220, 168, .72);
}

.login-star {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(246, 225, 179, .95);
    box-shadow: 0 0 10px rgba(246, 225, 179, .82);
    animation: login-star-pulse 5s ease-in-out infinite;
}

.login-star::before,
.login-star::after {
    position: absolute;
    top: 50%;
    left: 50%;
    background: linear-gradient(90deg, transparent, rgba(235, 218, 178, .55), transparent);
    content: "";
    transform: translate(-50%, -50%);
}

.login-star::before {
    width: 34px;
    height: 1px;
}

.login-star::after {
    width: 1px;
    height: 34px;
}

.login-star-one { top: 17%; left: 47%; }
.login-star-two { top: 73%; left: 8%; animation-delay: -1.8s; }
.login-star-three { right: 6%; bottom: 19%; animation-delay: -3.1s; }
.login-star-four { top: 38%; right: 27%; animation-delay: -4.2s; }

.login-stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(410px, .82fr);
    gap: clamp(48px, 7vw, 112px);
    width: min(1180px, 100%);
    min-height: min(670px, calc(100svh - 208px));
    margin: 0 auto;
    align-items: center;
}

.login-welcome {
    position: relative;
    max-width: 680px;
    color: #fff;
    transform: translate3d(calc(var(--login-shift-x) * -.34), calc(var(--login-shift-y) * -.34), 0);
    transition: transform 180ms ease-out;
}

.app-shell.app-future .login-welcome .eyebrow {
    margin: 0 0 20px;
    color: #e4c988;
    font-size: clamp(.72rem, 1vw, .84rem);
    letter-spacing: .2em;
    text-shadow: 0 2px 18px rgba(214, 181, 104, .34);
}

.login-welcome h1 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.5rem, 5.6vw, 6rem);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: .96;
    text-wrap: balance;
    text-shadow: 0 18px 48px rgba(5, 13, 25, .42);
}

.login-welcome h1 span {
    color: #f0dfb7;
    background: linear-gradient(105deg, #fff7e5 4%, #d9b86f 52%, #f5e9c9 96%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-welcome-copy {
    max-width: 590px;
    margin: 28px 0 0;
    color: rgba(237, 244, 248, .82);
    font-size: clamp(1.06rem, 1.6vw, 1.28rem);
    line-height: 1.68;
}

.login-journey {
    display: flex;
    gap: clamp(18px, 3vw, 40px);
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(190, 215, 229, .18);
    color: rgba(239, 245, 248, .8);
    font-size: .77rem;
    font-weight: 760;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.login-journey span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-journey b {
    color: #d9b86f;
    font-size: .68rem;
    letter-spacing: .06em;
}

.login-ring-mark {
    position: absolute;
    right: -52px;
    bottom: -104px;
    width: 146px;
    height: 104px;
    opacity: .36;
    transform: rotate(-9deg);
}

.login-ring-mark span {
    position: absolute;
    width: 88px;
    height: 88px;
    border: 1px solid rgba(237, 211, 151, .74);
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(236, 206, 140, .07), 0 0 22px rgba(236, 206, 140, .06);
}

.login-ring-mark span:first-child { left: 0; }
.login-ring-mark span:nth-child(2) { right: 0; }

.login-ring-mark i {
    position: absolute;
    top: -8px;
    left: 64px;
    width: 13px;
    height: 13px;
    border: 1px solid rgba(244, 225, 182, .82);
    transform: rotate(45deg);
    box-shadow: 0 0 14px rgba(244, 225, 182, .24);
}

.login-card-wrap {
    perspective: 1100px;
}

.app-shell.app-future .login-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: clamp(30px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(247, 243, 233, .89)) padding-box,
        linear-gradient(135deg, rgba(255,255,255,.9), rgba(214,175,93,.6), rgba(118,171,199,.54)) border-box;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, .8) inset,
        0 30px 70px rgba(4, 13, 26, .32),
        0 9px 24px rgba(4, 13, 26, .2),
        0 0 0 1px rgba(118, 166, 190, .1);
    -webkit-backdrop-filter: blur(26px) saturate(130%);
    backdrop-filter: blur(26px) saturate(130%);
    transform: rotateX(var(--login-tilt-x)) rotateY(var(--login-tilt-y)) translate3d(var(--login-shift-x), var(--login-shift-y), 0);
    transform-style: preserve-3d;
    transition: transform 180ms ease-out, box-shadow 260ms ease, border-color 260ms ease;
}

.app-shell.app-future .login-card:hover {
    border-color: rgba(242, 218, 165, .88);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, .9) inset,
        0 38px 86px rgba(4, 13, 26, .37),
        0 12px 30px rgba(4, 13, 26, .23),
        0 0 0 1px rgba(215, 182, 111, .14);
}

.login-card::before {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 11%;
    width: 78%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(217, 180, 105, .88), rgba(255,255,255,.94), rgba(217, 180, 105, .88), transparent);
    content: "";
}

.login-card::after {
    position: absolute;
    z-index: 0;
    top: -88px;
    right: -92px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(105, 158, 187, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(105, 158, 187, .035), 0 0 0 68px rgba(105, 158, 187, .025);
    content: "";
    pointer-events: none;
}

.login-card > :not(.login-card-glow) {
    position: relative;
    z-index: 1;
}

.login-card-glow {
    position: absolute;
    z-index: 0;
    top: -30%;
    left: -74%;
    width: 52%;
    height: 160%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.56), transparent);
    filter: blur(7px);
    pointer-events: none;
    transform: rotate(18deg);
    animation: login-card-sheen 11s ease-in-out infinite 2.5s;
}

.login-card-heading {
    display: flex;
    gap: 15px;
    align-items: center;
}

.login-secure-mark {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(166, 126, 51, .24);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(232, 218, 188, .64));
    box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(51, 65, 82, .1);
}

.login-secure-mark svg {
    width: 22px;
    fill: none;
    stroke: var(--app-gold-deep);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.app-shell.app-future .login-card-heading .eyebrow {
    margin: 0 0 5px;
    font-size: .67rem;
    letter-spacing: .17em;
}

.app-shell.app-future .login-card h2 {
    margin: 0;
    color: var(--app-navy-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 650;
    letter-spacing: -.035em;
    line-height: 1;
}

.app-shell.app-future .login-card .login-intro {
    margin: 18px 0 26px;
    color: #647083;
    font-size: .98rem;
    line-height: 1.55;
}

.app-shell.app-future .login-form {
    gap: 19px;
}

.app-shell.app-future .login-field {
    display: grid;
    gap: 8px;
}

.login-field-label {
    color: #27364e;
    font-size: .86rem;
    font-weight: 780;
}

.login-input-wrap {
    position: relative;
    display: block;
}

.login-input-wrap > svg {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 16px;
    width: 20px;
    fill: none;
    stroke: #718095;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
    pointer-events: none;
    transform: translateY(-50%);
    transition: stroke 180ms ease, filter 180ms ease;
}

.app-shell.app-future .login-input-wrap input {
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 13px 16px 13px 48px;
    border: 1px solid rgba(79, 99, 126, .27);
    border-radius: 14px;
    background: rgba(255, 255, 255, .7);
    box-shadow: inset 0 2px 5px rgba(30, 44, 61, .08), 0 1px 0 #fff;
    color: #1c2b40;
    font-size: 1rem;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.app-shell.app-future .login-input-wrap input:hover {
    border-color: rgba(66, 109, 139, .46);
    background: rgba(255, 255, 255, .86);
}

.app-shell.app-future .login-input-wrap input:focus {
    border-color: #a8843b;
    outline: 0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(200, 163, 90, .16), inset 0 1px 3px rgba(31, 48, 69, .05), 0 8px 20px rgba(33, 51, 75, .1);
    transform: translateY(-1px);
}

.login-input-wrap:focus-within > svg {
    stroke: var(--app-gold-deep);
    filter: drop-shadow(0 0 5px rgba(180, 137, 52, .22));
}

.app-shell.app-future .login-form .remember {
    display: inline-flex;
    gap: 10px;
    margin: -1px 0 0;
    align-items: center;
    color: #4c596c;
    font-size: .88rem;
    font-weight: 640;
}

.app-shell.app-future .login-form .remember input {
    width: 19px;
    height: 19px;
    min-height: 0;
    margin: 0;
    accent-color: var(--app-gold-deep);
}

.app-shell.app-future .login-submit {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 56px;
    margin-top: 1px;
    padding: 14px 18px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #d2ad5f;
    border-radius: 15px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.24), transparent 42%),
        linear-gradient(105deg, #b78632, #d8b968 52%, #aa7727);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.62), inset 0 -2px 0 rgba(84,55,15,.24), 0 12px 24px rgba(89, 62, 21, .2);
    color: #172338;
    font-size: .94rem;
    font-weight: 850;
    letter-spacing: .01em;
    text-shadow: 0 1px 0 rgba(255,255,255,.42);
    transition: color 180ms ease, transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.app-shell.app-future .login-submit::before {
    position: absolute;
    top: -45%;
    left: -36%;
    width: 25%;
    height: 190%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
    content: "";
    transform: rotate(16deg);
    transition: left 520ms ease;
}

.app-shell.app-future .login-submit svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 180ms ease;
}

.app-shell.app-future .login-submit:hover,
.app-shell.app-future .login-submit:focus-visible {
    color: #0f1c30;
    filter: saturate(1.08) brightness(1.04);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72), inset 0 -2px 0 rgba(84,55,15,.2), 0 16px 30px rgba(89,62,21,.27), 0 0 0 4px rgba(223,190,118,.13);
    transform: translateY(-2px);
}

.app-shell.app-future .login-submit:hover::before,
.app-shell.app-future .login-submit:focus-visible::before {
    left: 118%;
}

.app-shell.app-future .login-submit:hover svg,
.app-shell.app-future .login-submit:focus-visible svg {
    transform: translateX(4px);
}

.app-shell.app-future .login-submit:active {
    box-shadow: inset 0 2px 5px rgba(76,51,15,.24), 0 6px 14px rgba(89,62,21,.2);
    transform: translateY(1px) scale(.992);
}

.login-reassurance {
    margin: 20px 0 0;
    color: #667286;
    font-size: .76rem;
    line-height: 1.45;
    text-align: center;
}

.login-reassurance span {
    margin-right: 5px;
    color: var(--app-gold-deep);
}

.app-shell.app-future .login-card .notice {
    margin: 0 0 20px;
}

.login-motion-ready .login-welcome > * {
    animation: login-content-arrive 680ms cubic-bezier(.2,.75,.2,1) both;
}

.login-motion-ready .login-welcome > :nth-child(2) { animation-delay: 70ms; }
.login-motion-ready .login-welcome > :nth-child(3) { animation-delay: 140ms; }
.login-motion-ready .login-welcome > :nth-child(4) { animation-delay: 210ms; }
.login-motion-ready .login-card-wrap { animation: login-card-arrive 720ms cubic-bezier(.18,.78,.24,1) 100ms both; }

@keyframes login-content-arrive {
    from { opacity: 0; transform: translate3d(-18px, 16px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes login-card-arrive {
    from { opacity: 0; transform: translate3d(28px, 18px, 0) scale(.975); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes login-aurora-one {
    from { transform: translate3d(-4%, -3%, 0) rotate(-7deg) scale(.94); }
    to { transform: translate3d(11%, 9%, 0) rotate(4deg) scale(1.08); }
}

@keyframes login-aurora-two {
    from { transform: translate3d(4%, 7%, 0) rotate(5deg) scale(.96); }
    to { transform: translate3d(-10%, -8%, 0) rotate(-5deg) scale(1.09); }
}

@keyframes login-beam-breathe {
    0%, 100% { opacity: .32; transform: rotate(18deg) translateX(-9%); }
    50% { opacity: .82; transform: rotate(15deg) translateX(14%); }
}

@keyframes login-light-sweep {
    0%, 27% { opacity: 0; transform: translateX(-60%); }
    47% { opacity: .92; }
    68%, 100% { opacity: 0; transform: translateX(64%); }
}

@keyframes login-orbit {
    to { transform: rotate(348deg); }
}

@keyframes login-orbit-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes login-star-pulse {
    0%, 100% { opacity: .22; transform: scale(.75); }
    50% { opacity: .95; transform: scale(1.08); }
}

@keyframes login-card-sheen {
    0%, 52% { opacity: 0; transform: translateX(0) rotate(18deg); }
    66% { opacity: .6; }
    82%, 100% { opacity: 0; transform: translateX(390%) rotate(18deg); }
}

@media (max-width: 900px) {
    .app-shell .login-shell.login-experience {
        min-height: calc(100svh - 76px);
        padding-top: clamp(36px, 7vw, 60px);
        padding-bottom: 54px;
    }

    .login-stage {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
        width: min(610px, 100%);
        min-height: 0;
    }

    .login-welcome {
        max-width: 590px;
        text-align: center;
    }

    .login-welcome h1 {
        font-size: clamp(3rem, 9vw, 4.7rem);
    }

    .login-welcome-copy {
        margin-right: auto;
        margin-left: auto;
    }

    .login-journey {
        justify-content: center;
    }

    .login-ring-mark {
        right: -10px;
        bottom: -75px;
        transform: scale(.76) rotate(-9deg);
    }

    .app-shell.app-future .login-card {
        max-width: 510px;
    }
}

@media (max-width: 560px) {
    .app-shell .login-shell.login-experience {
        min-height: calc(100svh - 74px);
        padding: 29px max(15px, env(safe-area-inset-right, 0px)) 38px max(15px, env(safe-area-inset-left, 0px));
    }

    .app-shell .login-shell.login-experience::before {
        background-size: 38px 38px;
        opacity: .5;
    }

    .login-stage {
        gap: 27px;
    }

    .app-shell.app-future .login-welcome .eyebrow {
        margin-bottom: 12px;
        font-size: .63rem;
    }

    .login-welcome h1 {
        font-size: clamp(2.38rem, 11vw, 3.2rem);
        line-height: .98;
    }

    .login-welcome-copy {
        max-width: 360px;
        margin-top: 17px;
        font-size: .94rem;
        line-height: 1.52;
    }

    .login-journey {
        gap: 14px;
        margin-top: 21px;
        padding-top: 15px;
        font-size: .61rem;
        letter-spacing: .08em;
    }

    .login-journey span {
        gap: 5px;
    }

    .login-journey b {
        font-size: .58rem;
    }

    .login-ring-mark,
    .login-orbit-two,
    .login-star-four {
        display: none;
    }

    .login-orbit-one {
        top: 7%;
        right: -43%;
        width: 105vw;
        opacity: .7;
    }

    .app-shell.app-future .login-card {
        padding: 25px 20px 23px;
        border-radius: 23px;
        transform: none;
    }

    .login-card-heading {
        gap: 12px;
    }

    .login-secure-mark {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .app-shell.app-future .login-card h2 {
        font-size: 2rem;
    }

    .app-shell.app-future .login-card .login-intro {
        margin: 14px 0 21px;
        font-size: .9rem;
    }

    .app-shell.app-future .login-form {
        gap: 16px;
    }

    .app-shell.app-future .login-input-wrap input {
        min-height: 52px;
    }

    .app-shell.app-future .login-submit {
        min-height: 54px;
        font-size: .88rem;
    }

    .login-reassurance {
        margin-top: 17px;
        font-size: .71rem;
    }

    .login-aurora-one {
        width: 125vw;
    }

    .login-aurora-two {
        width: 145vw;
    }
}

@media (max-width: 360px) {
    .login-journey {
        justify-content: space-between;
    }

    .login-journey span {
        display: grid;
        gap: 2px;
    }

    .app-shell.app-future .login-card {
        padding-right: 17px;
        padding-left: 17px;
    }
}

@media (hover: none), (pointer: coarse) {
    .app-shell.app-future .login-card {
        transition: box-shadow 180ms ease;
    }

    .app-shell.app-future .login-card:hover {
        border-color: rgba(255, 255, 255, .64);
        box-shadow:
            0 2px 0 rgba(255, 255, 255, .8) inset,
            0 30px 70px rgba(4, 13, 26, .32),
            0 9px 24px rgba(4, 13, 26, .2),
            0 0 0 1px rgba(118, 166, 190, .1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-experience *,
    .login-experience *::before,
    .login-experience *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .login-welcome,
    .app-shell.app-future .login-card {
        transform: none !important;
    }
}
