﻿.pms-login-card {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    box-shadow: 0 32px 80px rgba(76, 29, 149, .4), 0 12px 32px rgba(15, 23, 42, .2), inset 0 1px 0 rgba(255, 255, 255, .5);
    /* This card is intentionally always light, regardless of the app's dark-mode toggle -- but
       MudText/inputs inside it read the *global* --mud-palette-text-* variables, which flip to
       light colors in dark mode, turning text invisible against this card's fixed white
       background. Re-pinning those variables here fixes every descendant (labels, input text,
       placeholders) at once, without touching each one individually. */
    --mud-palette-text-primary: #1E1B2E;
    --mud-palette-text-secondary: #64748B;
}

.pms-login-header {
    position: relative;
    overflow: hidden;
}

    .pms-login-header::after {
        content: "";
        position: absolute;
        top: -60%;
        right: -30%;
        width: 70%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 65%);
        pointer-events: none;
    }

.pms-brand {
    position: fixed;
    top: 22px;
    left: 28px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(15, 9, 35, .35);
    pointer-events: none;
}

.pms-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(6px);
}

.pms-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.pms-brand-title {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .12em;
}

.pms-brand-subtitle {
    font-size: 11px;
    font-weight: 500;
    opacity: .75;
    letter-spacing: .02em;
}

.pms-login-footer {
    margin-top: 18px;
    color: rgba(255, 255, 255, .75);
    text-align: center;
    text-shadow: 0 1px 8px rgba(15, 9, 35, .35);
}

@media (max-width: 600px) {
    .pms-brand {
        display: none;
    }
}

.pms-login-field {
    width: 100%;
}

.pms-login-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    border: 1px solid #e8f0fe;
    background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .5));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .05);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

    .pms-login-input-wrapper:focus-within {
        border-color: rgba(139, 92, 246, .55);
        background: rgba(255, 255, 255, .82);
        box-shadow: 0 0 0 3px rgba(139, 92, 246, .16), inset 0 1px 2px rgba(15, 23, 42, .05);
    }

.pms-login-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    flex-shrink: 0;
    color: #7C3AED;
    opacity: .85;
    border-right: 1px solid rgba(124, 58, 237, .12);
    pointer-events: none;
}

.pms-login-input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 44px;
    box-sizing: border-box;
    border: none;
    border-radius: 0 10px 10px 0;
    padding: 0 14px;
    outline: none;
    background: transparent;
    color: var(--mud-palette-text-primary);
    font-size: 14px;
}

    .pms-login-input::placeholder {
        color: var(--mud-palette-text-secondary);
    }

.guk-action-button {
    box-shadow: 0 10px 24px rgba(139, 92, 246, .28);
}

    .guk-action-button:hover {
        box-shadow: 0 14px 30px rgba(139, 92, 246, .36);
    }
