html,
body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 24px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.22)),
        linear-gradient(135deg, #f7faf8 0%, #e8f4ef 38%, #dbeafe 100%);
}

.login-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 111, 191, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 111, 191, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 88%);
}

.login-page::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.08));
}

.login-card-white {
    width: min(420px, 100%);
    padding: 34px 34px 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.26);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
    position: relative;
    z-index: 1;
}

.login-brand {
    text-align: center;
}

.login-logo-frame {
    width: 148px;
    height: 148px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(15, 111, 191, 0.12);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.login-logo {
    width: 128px;
    height: 128px;
    object-fit: contain;
}

.login-title {
    margin: 0;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.12;
}

.login-subtitle {
    margin-top: 8px;
    color: #64748b;
    font-weight: 500;
}

.login-button {
    height: 50px;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f6fbf, #0b5a99) !important;
    box-shadow: 0 12px 24px rgba(15, 111, 191, 0.24);
    text-transform: none;
}

.login-footer {
    text-align: center;
    margin-top: 22px;
    font-size: 12px;
    color: #64748b;
}

.login-footer a {
    margin-left: 4px;
    color: #0f6fbf;
    font-weight: 700;
    text-decoration: none;
}

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

.fw-bold {
    font-weight: 700;
}

@media (max-width: 480px) {
    .login-page {
        padding: 16px;
        align-items: flex-start;
    }

    .login-card-white {
        margin-top: 24px;
        padding: 28px 22px 24px;
    }

    .login-logo-frame {
        width: 128px;
        height: 128px;
    }

    .login-logo {
        width: 110px;
        height: 110px;
    }
}
