﻿/* Only login and register. */

body.c365-auth-layout {
    padding-top: 0;
}

.c365-auth-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: var(--c365-text);
    background: radial-gradient(circle at 18% 20%, rgba(199,255,36,.12), transparent 26%), radial-gradient(circle at 80% 70%, rgba(199,255,36,.08), transparent 26%), linear-gradient(135deg, var(--c365-bg) 0%, var(--c365-bg-soft) 52%, #020303 100%);
}

    .c365-auth-page::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
        background-size: 72px 72px;
        mask-image: radial-gradient(circle at center, black, transparent 74%);
        pointer-events: none;
    }

.c365-auth-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(199,255,36,.14);
    pointer-events: none;
}

    .c365-auth-orbit::after {
        content: "";
        position: absolute;
        width: 14px;
        height: 14px;
        border-radius: 999px;
        background: var(--c365-lime);
        box-shadow: 0 0 32px rgba(199,255,36,.95);
    }

.c365-auth-orbit-one {
    width: 820px;
    height: 820px;
    right: -300px;
    top: 70px;
}

    .c365-auth-orbit-one::after {
        top: 145px;
        left: 130px;
    }

.c365-auth-orbit-two {
    width: 420px;
    height: 420px;
    left: -160px;
    bottom: -140px;
    border-style: dashed;
}

    .c365-auth-orbit-two::after {
        right: 90px;
        top: 70px;
    }

.c365-auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.c365-auth-card {
    width: min(460px, 100%);
    justify-self: end;
    padding: 20px;
    border-radius: 34px;
    background: var(--c365-surface);
    border: 1px solid var(--c365-line);
    box-shadow: var(--c365-shadow);
    backdrop-filter: blur(22px);
}

.c365-auth-logo {
    display: flex;
    justify-content: center;
}

.c365-auth-heading {
    text-align: center;
    margin-bottom: 34px;
}

    .c365-auth-heading h1 {
        margin: 0;
        font-size: clamp(2.1rem, 5vw, 3rem);
        line-height: .98;
        letter-spacing: -.06em;
        font-weight: 950;
    }

        .c365-auth-heading h1 span {
            display: block;
            color: var(--c365-lime);
        }

    .c365-auth-heading p {
        margin: 14px 0 0;
        color: var(--c365-muted);
    }

.c365-auth-field {
    margin-bottom: 20px;
}

    .c365-auth-field label,
    .c365-field-row label {
        display: block;
        margin-bottom: 9px;
        color: var(--c365-soft);
        font-size: .85rem;
        font-weight: 800;
    }

.c365-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .c365-field-row a {
        color: var(--c365-lime);
        font-size: .84rem;
        font-weight: 800;
        text-decoration: none;
    }

.c365-auth-field input {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.045);
    color: var(--c365-text);
    outline: none;
    font-size: .96rem;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .c365-auth-field input::placeholder {
        color: rgba(203,213,225,.48);
    }

    .c365-auth-field input:focus {
        border-color: rgba(199,255,36,.58);
        box-shadow: 0 0 0 4px rgba(199,255,36,.10);
        background: rgba(255,255,255,.065);
    }

.c365-input-wrap {
    position: relative;
}

    .c365-input-wrap i {
        position: absolute;
        left: 17px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(203,213,225,.62);
        font-size: 1.05rem;
        pointer-events: none;
        z-index: 2;
    }

    .c365-input-wrap input {
        padding-left: 48px;
    }

    .c365-input-wrap:focus-within i {
        color: var(--c365-lime);
        filter: drop-shadow(0 0 8px rgba(199,255,36,.45));
    }

.c365-auth-options {
    margin: 4px 0 24px;
}

.c365-remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--c365-soft);
    font-size: .9rem;
    cursor: pointer;
}

    .c365-remember input {
        width: 18px;
        height: 18px;
        accent-color: var(--c365-lime);
    }

.c365-auth-submit {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 999px;
    color: #050709;
    background: linear-gradient(135deg, #d9ff3f, var(--c365-lime-2));
    font-weight: 950;
    box-shadow: 0 22px 50px rgba(199,255,36,.22);
    transition: transform .18s ease, box-shadow .18s ease;
    margin-top: 14px;
}

    .c365-auth-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 28px 64px rgba(199,255,36,.32);
    }

    .c365-auth-submit span {
        margin-left: 10px;
    }

.c365-auth-footer {
    margin-top: 24px;
    text-align: center;
    color: var(--c365-muted);
    font-size: .9rem;
}

    .c365-auth-footer a {
        color: var(--c365-lime);
        font-weight: 900;
        text-decoration: none;
    }

.c365-auth-error {
    color: #fb7185;
    font-size: .84rem;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 18px 0;
}

@media (max-width: 980px) {
    .c365-auth-shell {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 110px;
    }

    .c365-auth-card {
        justify-self: center;
    }
}

@media (max-width: 560px) {

    .c365-auth-shell {
        min-height: 100vh;
        padding: 24px 14px;
    }

    .c365-auth-card {
        padding: 34px 22px;
        border-radius: 28px;
    }

    .c365-auth-logo {
        margin-bottom: 20px;
    }
}