html,
body.npe-auth-page {
    margin: 0;
    min-height: 100%;
    background: #f3f7fb;
}

body.npe-auth-page {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: #142033;
}

.npe-auth-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 18px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 15% 10%, rgba(49,170,200,.12), transparent 28%),
        radial-gradient(circle at 85% 85%, rgba(22,93,134,.10), transparent 30%),
        #f3f7fb;
}

.npe-auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid #dce6ef;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(22, 52, 77, .11);
    padding: 30px;
    box-sizing: border-box;
}

.npe-auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.npe-auth-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #165d86;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .4px;
    flex: 0 0 auto;
}

.npe-auth-brand h1 {
    margin: 0 0 4px;
    font-size: 21px;
    line-height: 1.2;
    color: #102c42;
}

.npe-auth-brand p {
    margin: 0;
    font-size: 13px;
    color: #66798b;
}

.npe-google-button,
.npe-auth-primary {
    width: 100%;
    min-height: 46px;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.npe-google-button {
    text-decoration: none;
    border: 1px solid #cfdbe6;
    background: #fff;
    color: #213547;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}

.npe-google-button:hover {
    background: #f8fafc;
    color: #13283a;
}

.npe-google-g {
    width: 23px;
    height: 23px;
    border: 1px solid #d5dce3;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #4285f4;
    background: #fff;
}

.npe-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #8a9aaa;
    font-size: 12px;
}

.npe-auth-divider::before,
.npe-auth-divider::after {
    content: "";
    height: 1px;
    background: #e4ebf1;
    flex: 1;
}

.npe-auth-form {
    display: grid;
    gap: 15px;
}

.npe-auth-form label > span {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #34495a;
}

.npe-auth-form input[type="text"],
.npe-auth-form input[type="email"],
.npe-auth-form input[type="password"] {
    width: 100%;
    height: 44px;
    border: 1px solid #cfdbe6;
    border-radius: 9px;
    background: #fff;
    color: #152536;
    padding: 0 12px;
    font: inherit;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.npe-auth-form input:focus {
    border-color: #31aac8;
    box-shadow: 0 0 0 3px rgba(49,170,200,.12);
}

.npe-auth-primary {
    border: 0;
    background: #165d86;
    color: #fff;
    margin-top: 2px;
}

.npe-auth-primary:hover {
    background: #114e71;
}

.npe-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
}

.npe-auth-row a,
.npe-auth-switch a {
    color: #0b6d9e;
    text-decoration: none;
    font-weight: 700;
}

.npe-auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.npe-auth-remember span {
    margin: 0 !important;
    font-weight: 400 !important;
    color: #5d7183 !important;
}

.npe-auth-switch {
    text-align: center;
    margin: 20px 0 0;
    font-size: 12px;
    color: #66798b;
}

.npe-auth-message {
    border-radius: 9px;
    padding: 11px 12px;
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.5;
}

.npe-auth-message.error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #a61b2b;
}

.npe-auth-message.success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.npe-auth-admin-note {
    margin-top: 20px;
    padding: 11px 12px;
    border: 1px solid #dbe8f1;
    border-radius: 9px;
    background: #f7fbfe;
    color: #557082;
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 520px) {
    .npe-auth-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .npe-auth-row {
        align-items: flex-start;
        flex-direction: column;
    }
}
