﻿/* 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: 2px;
}

    .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;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 32px;
    border: 0;
    border-radius: 999px;
    color: #050709;
    text-decoration: none;
    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;
    cursor: pointer;
}

    .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;
}

.c365-auth-logo a {
    display: inline-flex;
    color: inherit;
    text-decoration: none;
}

.c365-auth-validation-summary {
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid rgba(251, 113, 133, .28);
    border-radius: 14px;
    color: #fda4af;
    background: rgba(251, 113, 133, .08);
    font-size: .88rem;
    line-height: 1.5;
}

    .c365-auth-validation-summary:empty,
    .c365-auth-validation-summary.validation-summary-valid {
        display: none;
    }

    .c365-auth-validation-summary ul {
        margin: 0;
        padding-left: 18px;
    }

.c365-auth-error {
    display: block;
    min-height: 18px;
    margin-top: 7px;
    color: #fb7185;
    font-size: .8rem;
    font-weight: 700;
}

    .c365-auth-error:empty {
        display: none;
    }

.c365-auth-field input.input-validation-error {
    border-color: rgba(251, 113, 133, .58);
    box-shadow: 0 0 0 4px rgba(251, 113, 133, .08);
}

.c365-auth-terms {
    margin: 20px auto 0;
    max-width: 360px;
    color: var(--c365-muted);
    font-size: .78rem;
    line-height: 1.6;
    text-align: center;
}

    .c365-auth-terms a {
        color: var(--c365-soft);
        font-weight: 800;
        text-decoration: none;
    }

        .c365-auth-terms a:hover {
            color: var(--c365-lime);
        }

.c365-recaptcha-wrap {
    display: flex;
    justify-content: center;
    max-width: 100%;
    margin: 22px 0 8px;
    overflow: hidden;
}

.c365-confirmation-card {
    text-align: center;
}

.c365-confirmation-icon {
    width: 74px;
    height: 74px;
    margin: 18px auto 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(199,255,36,.32);
    border-radius: 50%;
    color: var(--c365-lime);
    background: rgba(199,255,36,.08);
    box-shadow: 0 0 0 10px rgba(199,255,36,.035), 0 0 38px rgba(199,255,36,.15);
    font-size: 1.85rem;
}

.c365-confirmation-content {
    max-width: 380px;
    margin: 0 auto;
}

.c365-confirmation-text {
    margin: 0;
    color: var(--c365-soft);
    font-size: 1rem;
    line-height: 1.7;
}

    .c365-confirmation-text strong {
        display: block;
        margin-top: 8px;
        color: var(--c365-lime);
        font-weight: 900;
        overflow-wrap: anywhere;
    }

.c365-confirmation-help {
    margin: 18px 0 0;
    color: var(--c365-muted);
    font-size: .9rem;
    line-height: 1.7;
}

.c365-confirmation-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 26px 0;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 16px;
    color: var(--c365-muted);
    background: rgba(255,255,255,.035);
    font-size: .83rem;
    line-height: 1.55;
    text-align: left;
}

    .c365-confirmation-notice i {
        flex: 0 0 auto;
        margin-top: 2px;
        color: var(--c365-lime);
    }

.c365-confirmation-login {
    text-decoration: none;
}

    .c365-confirmation-login:hover {
        color: #050709;
    }

.c365-confirmation-icon-success {
    color: var(--c365-lime);
}

.c365-status-message {
    margin-bottom: 22px;
}

    .c365-status-message .alert {
        margin: 0;
        padding: 16px 18px;
        border: 1px solid rgba(199,255,36,.22);
        border-radius: 16px;
        color: var(--c365-soft);
        background: rgba(199,255,36,.07);
        font-size: .88rem;
        line-height: 1.6;
        text-align: left;
    }

    .c365-status-message .alert-success {
        border-color: rgba(199,255,36,.28);
        color: var(--c365-soft);
        background: rgba(199,255,36,.08);
    }

    .c365-status-message .alert-danger {
        border-color: rgba(251,113,133,.30);
        color: #fda4af;
        background: rgba(251,113,133,.08);
    }

    .c365-status-message .alert-dismissible .btn-close {
        filter: invert(1);
        opacity: .65;
    }

.c365-confirmation-login {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 0 32px;
    text-decoration: none;
}

    .c365-confirmation-login:hover {
        color: #050709;
    }

.c365-auth-field input[readonly] {
    color: var(--c365-muted);
    background: rgba(255,255,255,.025);
    cursor: not-allowed;
}

@media (max-width: 390px) {
    .c365-recaptcha-wrap {
        justify-content: flex-start;
        transform: scale(.88);
        transform-origin: left center;
        width: 268px;
        margin-right: -36px;
    }
}

@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;
    }
}