﻿/* Login page only */
/* Uses brand tokens and .x-field from site.css */

.tms-auth-body {
    background: linear-gradient(180deg, rgba(79,70,229,0.06), rgba(6,182,212,0.06)), var(--tms-bg);
    min-height: 100%;
}

.tms-auth-topbar {
    background: #fff;
    border-bottom: 1px solid var(--tms-border);
}

.tms-auth-main {
    min-height: calc(100vh - 64px - 48px); /* header/footer heights */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
}

.tms-login-wrap {
    max-width: 420px;
}

.tms-login-card {
    border-radius: 14px;
}

.tms-auth-footer {
    padding: 12px;
}

/* Clickable switch */
.tms-switch-with-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

    .tms-switch-with-label .tms-switch__text {
        font-size: 14px;
        color: var(--tms-fg,#222);
    }

    /* The checkbox drawn as a switch */
    .tms-switch-with-label .tms-switch__input {
        appearance: none;
        -webkit-appearance: none;
        margin: 0;
        width: 44px;
        height: 26px;
        border-radius: 999px;
        background: var(--tms-field-border,#d0d5dd);
        position: relative;
        outline: none;
        transition: background .18s ease;
        display: inline-block;
        vertical-align: middle;
    }

        .tms-switch-with-label .tms-switch__input::after {
            content: "";
            position: absolute;
            top: 3px;
            left: 3px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 1px 2px rgba(0,0,0,.15);
            transition: transform .18s ease;
        }

        .tms-switch-with-label .tms-switch__input:checked {
            background: var(--tms-primary,#2563eb);
        }

            .tms-switch-with-label .tms-switch__input:checked::after {
                transform: translateX(18px);
            }

        /* Optional focus ring for a11y */
        .tms-switch-with-label .tms-switch__input:focus-visible {
            box-shadow: 0 0 0 3px rgba(37,99,235,.25);
        }

    /* Track element (visual only, keeps spacing consistent if you prefer) */
    .tms-switch-with-label .tms-switch__track {
        display: none;
    }

.login-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/Content/images/tailor-bg.png') center/cover no-repeat fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 32px 24px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.login-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--tms-primary);
}

.login-remember {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
}

.w-100 {
    width: 100%;
}
.show-pass-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: var(--tms-muted);
}

    .show-pass-btn:hover {
        color: var(--tms-primary);
    }

