/**
* App		: NeoCashier
* Author	: WSCreator Dev
* Year		: 2024
* Website	: wscreator.co
*/

:root {
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-text: #f8fafc;
    --glass-muted: rgba(248, 250, 252, 0.6);
    --accent: #7c5dfa;
}

body.login-glass {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: radial-gradient(circle at top, #1d3557 0%, #0f172a 45%, #050914 100%);
    min-height: 100vh;
    margin: 0;
    color: var(--glass-text);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-shell {
    width: min(420px, 92vw);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px 0;
}

.login-card {
    padding: 2.5rem;
    border-radius: 28px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.shadow-glow {
    box-shadow: 0 30px 80px rgba(5, 8, 24, 0.65);
}

.login-ambient {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.orb {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(124, 93, 250, 0.3), transparent 70%);
    filter: blur(5px);
    animation: float 12s linear infinite;
}

.orb-1 {
    top: -80px;
    right: -120px;
}

.orb-2 {
    bottom: -120px;
    left: -80px;
    animation-delay: 3s;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent 70%);
}

.orb-3 {
    bottom: 25%;
    right: 10%;
    width: 180px;
    height: 180px;
    animation-delay: 6s;
}

@keyframes float {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-20px, 25px, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.login-brand .brand-logo img {
    max-width: 160px;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.35));
}

.brand-desc {
    margin: 0 auto;
    color: var(--glass-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.login-alert {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: #fecaca;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    font-size: 0.93rem;
    margin-bottom: 1.2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-field {
    margin-bottom: 1.25rem;
}

.login-field label {
    display: block;
    font-size: 0.9rem;
    color: var(--glass-muted);
    margin-bottom: 0.45rem;
}

.field-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.55);
    transition: border 0.25s ease, transform 0.2s ease;
}

.field-wrapper:focus-within {
    border-color: rgba(124, 93, 250, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 93, 250, 0.2);
}

.field-wrapper i {
    color: var(--glass-muted);
    font-size: 1rem;
}

.field-wrapper input {
    flex: 1;
    background: transparent;
    border: 0;
    color: var(--glass-text);
    font-size: 1rem;
    outline: none;
}

.field-wrapper input::placeholder {
    color: rgba(248, 250, 252, 0.35);
}

.login-meta .remember {
    font-size: 0.85rem;
    color: var(--glass-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.remember input {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    cursor: pointer;
    background: transparent;
}

.remember input:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.remember input:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%);
}

.link-muted {
    color: var(--glass-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.link-muted:hover {
    color: #f8fafc;
}

.btn-login {
    border-radius: 16px;
    border: none;
    padding: 0.95rem;
    font-weight: 600;
    font-size: 1rem;
    background-image: linear-gradient(120deg, #7c5dfa, #4f46e5, #0ea5e9);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.35);
    color: #fff;
}

.login-links {
    color: var(--glass-muted);
    font-size: 0.9rem;
}

.login-links a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

.login-links a:hover {
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--glass-muted);
}

.login-footer a {
    color: #fff;
}

@media (max-width: 540px) {
    .login-card {
        padding: 2rem 1.5rem;
    }

    .login-shell {
        width: 90vw;
    }

    .login-meta {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }
}

.form-login {
    margin: 0;
}

.login-container .btn {
    height: calc(2.75rem + 2px);
}

.login-container .copyright {
    background: none;
    color: #DCDCDC;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
}

.login-container .copyright a {
    color: #DCDCDC;
}

.form-register {
    margin: 0;
    margin-top: 20px;
}

.alert {
    border-radius: 0;
}

.login-container .alert-last {
    margin: 0;
}


.checkbox label {
    cursor: pointer;
}

.progress {
    border-radius: 0;
}

.form-inline input:not(:last-child),
.form-inline select:not(:last-child) {
    margin-right: 3px;
}

@media screen and (max-width: 500px) {
    .login-container {
        margin: auto;
        left: 7px;
        right: 7px;
        width: auto;
        top: 20px;
    }

    .login-body {
        padding: 20px;
    }

    .login-header {
        padding: 20px;
    }

    .login-footer {
        padding: 20px 20px;
    }

    input,
    select {
        max-width: 100% !important;
        float: none;
        margin-top: 3px;
    }

    .form-inline input,
    .form-inline select {
        margin-right: 0 !important;
    }
}
