[v-cloak] {
    display: none;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    overflow: hidden;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #0b1c30;
    background: #f8f9ff;
}

.site-login-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.site-login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.site-login-brand-head {
    position: fixed;
    top: 26px;
    left: 34px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: min(420px, calc(100vw - 68px));
    padding: 12px 17px 12px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .52);
    box-shadow: 0 18px 46px rgba(70, 72, 212, .10);
    backdrop-filter: blur(22px);
}

.site-login-brand-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #4648d4, #9c27cf);
    box-shadow: 0 12px 26px rgba(70, 72, 212, .22);
}

.site-login-brand-mark .material-symbols-outlined {
    font-size: 24px;
}

.site-login-brand-head h1 {
    max-width: 300px;
    margin: 0;
    overflow: hidden;
    color: #0b1c30;
    font-size: 17px;
    line-height: 20px;
    font-weight: 900;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-login-brand-head p {
    margin: 4px 0 0;
    color: rgba(70, 72, 212, .72);
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .16em;
}

.site-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(70, 72, 212, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 72, 212, .035) 1px, transparent 1px);
    background-size: 40px 40px;
}

.site-glow {
    position: absolute;
    width: 58vw;
    height: 58vw;
    border-radius: 50%;
    filter: blur(96px);
}

.site-glow-primary {
    top: -22%;
    left: -12%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, .16), transparent 70%);
}

.site-glow-secondary {
    right: -18%;
    bottom: -16%;
    background: radial-gradient(circle at center, rgba(168, 85, 247, .13), transparent 72%);
}

.site-login-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
}

.site-login-visual {
    position: relative;
    width: 55%;
    min-height: 100vh;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-login-visual-inner {
    position: relative;
    width: 100%;
    max-width: 896px;
    margin: 0 auto;
}

.site-login-copy {
    padding-top: 100px;
    margin-bottom: 48px;
}

.site-login-copy h1 {
    margin: 0 0 22px;
    max-width: 760px;
    color: #0b1c30;
    font-size: 48px;
    line-height: 56px;
    font-weight: 700;
    letter-spacing: 0;
}

.site-login-copy p {
    margin: 0;
    max-width: 576px;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.7;
}

.site-visual-board {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-visual-board::before,
.site-visual-board::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(78px);
    pointer-events: none;
}

.site-visual-board::before {
    width: 64%;
    height: 64%;
    background: rgba(70, 72, 212, .12);
}

.site-visual-board::after {
    width: 50%;
    height: 50%;
    transform: translateX(90px);
    background: rgba(156, 72, 234, .11);
}

.site-preview-card {
    position: relative;
    z-index: 1;
    width: 80%;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(255, 255, 255, .66);
    box-shadow: 0 34px 82px rgba(70, 72, 212, .16);
    backdrop-filter: blur(24px);
}

.site-preview-card img {
    display: block;
    width: 100%;
    height: auto;
    opacity: .92;
}

.site-floating-chip {
    position: absolute;
    z-index: 2;
    min-height: 50px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .78);
    color: #4648d4;
    box-shadow: 0 18px 44px rgba(99, 102, 241, .15);
    backdrop-filter: blur(24px);
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    animation: siteFloat 4.3s ease-in-out infinite;
}

.site-floating-chip .material-symbols-outlined {
    font-size: 18px;
}

.chip-content {
    top: 10%;
    left: 5%;
}

.chip-data {
    top: 5%;
    right: 10%;
    color: #8127cf;
    animation-delay: 1s;
}

.chip-schedule {
    bottom: 20%;
    left: -5%;
    color: #006877;
    animation-delay: 1.2s;
}

.chip-customer {
    right: 5%;
    bottom: 10%;
    color: #2f2ebe;
    animation-delay: .6s;
}

.chip-ai {
    top: 50%;
    right: -10%;
    color: #2f2ebe;
    font-weight: 800;
    animation-delay: 1.6s;
}

.site-login-panel {
    width: 45%;
    min-height: 100vh;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .24);
    backdrop-filter: blur(6px);
}

.site-login-card {
    width: min(100%, 448px);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 34px 94px rgba(15, 23, 42, .14), 0 20px 58px rgba(99, 102, 241, .11);
    backdrop-filter: blur(26px);
}

.site-login-header {
    margin-bottom: 40px;
    text-align: center;
}

.site-login-mark {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, #4648d4, #9c27cf);
    box-shadow: 0 18px 36px rgba(70, 72, 212, .28);
}

.site-login-mark .material-symbols-outlined {
    font-size: 32px;
}

.site-login-header h2 {
    margin: 0 0 12px;
    color: #0b1c30;
    font-size: 32px;
    line-height: 40px;
    font-weight: 600;
    letter-spacing: 0;
}

.site-login-header p {
    margin: 0;
    color: #464554;
    font-size: 14px;
    line-height: 1.6;
}

.site-field {
    display: block;
    margin-bottom: 24px;
}

.site-field > span {
    display: block;
    margin: 0 0 10px 4px;
    color: #1e293b;
    font-size: 11px;
    letter-spacing: .05em;
    line-height: 1;
    font-weight: 800;
}

.site-field-control {
    position: relative;
    min-height: 58px;
    display: flex;
    align-items: center;
    border-radius: 16px;
    border: 1px solid #c7c4d7;
    background: rgba(255, 255, 255, .52);
    transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.site-field-control:focus-within {
    border-color: #4648d4;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 0 0 5px rgba(70, 72, 212, .14);
}

.site-field-control > .material-symbols-outlined {
    position: absolute;
    left: 24px;
    color: #767586;
    font-size: 24px;
    transition: color .22s ease;
}

.site-field-control:focus-within > .material-symbols-outlined {
    color: #4648d4;
}

.site-field-control input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    padding: 16px 52px 16px 58px;
    color: #0b1c30;
    background: transparent;
    font-size: 16px;
    line-height: 24px;
}

.site-field-control input::placeholder {
    color: #b2afc4;
}

.site-eye-btn {
    position: absolute;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    color: #9b99aa;
    background: transparent;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

.site-eye-btn:hover {
    color: #4648d4;
    background: rgba(70, 72, 212, .08);
}

.site-login-options {
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #464554;
    font-size: 14px;
}

.site-login-options-single {
    justify-content: flex-end;
}

.site-login-options label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.site-login-options input {
    width: 20px;
    height: 20px;
    accent-color: #4648d4;
}

.site-login-options a,
.site-login-contact a {
    color: #4648d4;
    font-weight: 800;
    text-decoration: none;
}

.site-login-error {
    margin: -12px 0 18px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(186, 26, 26, .16);
    background: rgba(255, 218, 214, .72);
    color: #93000a;
    font-size: 14px;
}

.site-login-submit {
    position: relative;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #4648d4, #9c27cf);
    box-shadow: 0 18px 40px rgba(70, 72, 212, .26);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.site-login-submit::after {
    content: "";
    position: absolute;
    inset: -80% auto auto -80%;
    width: 70%;
    height: 260%;
    transform: rotate(35deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .26), transparent);
    transition: left .55s ease;
}

.site-login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 48px rgba(70, 72, 212, .32);
}

.site-login-submit:hover::after {
    left: 115%;
}

.site-login-submit:disabled {
    cursor: not-allowed;
    opacity: .78;
    transform: none;
}

.site-login-submit.is-loading {
    box-shadow: 0 16px 34px rgba(70, 72, 212, .18);
}

.site-login-submit .material-symbols-outlined {
    position: relative;
    z-index: 1;
    font-size: 20px;
    animation: none;
}

.site-login-submit:disabled .material-symbols-outlined {
    animation: siteSpin 1s linear infinite;
}

.site-login-contact {
    margin-top: 40px;
    text-align: center;
    color: #464554;
    font-size: 14px;
}

.site-login-links {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 34px;
}

.site-login-links a {
    color: rgba(30, 41, 59, .48);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .18s ease;
}

.site-login-links a:hover {
    color: #4648d4;
}

.site-login-loading-mask {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 249, 255, .42);
    backdrop-filter: blur(8px);
}

.site-login-loading-card {
    min-width: 210px;
    padding: 22px 24px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 24px 70px rgba(70, 72, 212, .18);
    color: #0b1c30;
    text-align: center;
}

.site-login-loading-card .material-symbols-outlined {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #4648d4, #9c27cf);
    box-shadow: 0 14px 28px rgba(70, 72, 212, .22);
    animation: siteSpin 1s linear infinite;
}

.site-login-loading-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 900;
}

.site-login-loading-card p {
    margin: 0;
    color: #464554;
    font-size: 13px;
    line-height: 1.5;
}

.site-particle {
    position: fixed;
    z-index: 0;
    border-radius: 999px;
    background: rgba(70, 72, 212, .12);
    filter: blur(2px);
    pointer-events: none;
}

@keyframes siteFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes siteSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1280px) {
    .site-login-copy h1 {
        font-size: 40px;
    }

    .site-login-card {
        padding: 40px 40px 32px;
    }

    .site-floating-chip {
        min-height: 48px;
        padding: 0 22px;
        font-size: 14px;
    }
}

@media (max-width: 1100px) {
    body {
        overflow: auto;
    }

    .site-login-brand-head {
        position: absolute;
    }

    .site-login-shell {
        display: block;
    }

    .site-login-visual {
        display: none;
    }

    .site-login-panel {
        width: 100%;
        min-height: 100vh;
        padding: 32px 20px;
    }
}

@media (max-width: 640px) {
    .site-login-brand-head {
        top: 16px;
        left: 16px;
        max-width: calc(100vw - 32px);
        padding-right: 12px;
    }

    .site-login-brand-head h1 {
        max-width: 230px;
    }

    .site-login-card {
        padding: 30px 20px 26px;
        border-radius: 24px;
    }

    .site-login-header {
        margin-bottom: 32px;
    }

    .site-login-header h2 {
        font-size: 24px;
    }

    .site-login-mark {
        width: 58px;
        height: 58px;
        border-radius: 20px;
    }

    .site-field-control {
        height: 58px;
    }

    .site-login-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-login-links {
        gap: 18px;
        flex-wrap: wrap;
    }
}
