html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr,
address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var,
b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot,
thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header,
hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    background: transparent;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font: 14px/1.6 "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: #203241;
    background:
        radial-gradient(circle at top, rgba(17, 131, 166, 0.14), transparent 30%),
        linear-gradient(180deg, #f6f9fb 0%, #edf3f7 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

input,
button {
    font: inherit;
}

button {
    cursor: pointer;
}

@keyframes login-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-login {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.page-login::before,
.page-login::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.page-login::before {
    top: -160px;
    right: -100px;
    width: 340px;
    height: 340px;
    background: rgba(15, 148, 189, 0.08);
}

.page-login::after {
    left: -140px;
    bottom: -180px;
    width: 360px;
    height: 360px;
    background: rgba(10, 134, 175, 0.07);
}

.login-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-panel {
    width: 100%;
    max-width: 460px;
    animation: login-fade-up .5s ease-out;
}

.login-card {
    width: 100%;
    border: 1px solid rgba(210, 223, 231, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 50px rgba(23, 48, 71, 0.08);
}

.login-card-inner {
    padding: 42px 36px 34px;
}

.card-brand {
    margin-bottom: 28px;
}

.brand-title {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #173047;
}

.brand-subtitle {
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7b909f;
}

.card-title {
    font-size: 28px;
    line-height: 1.25;
    color: #173047;
    font-weight: 700;
}

.card-desc {
    margin-top: 8px;
    font-size: 14px;
    color: #748998;
}

.login-form {
    margin-top: 30px;
}

.form-group + .form-group {
    margin-top: 18px;
}

.field-label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    color: #4e6678;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #d8e3ea;
    border-radius: 12px;
    background: #f8fafb;
    color: #213446;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.login-form input:focus {
    border-color: #0f94bd;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 148, 189, 0.10);
}

.login-form input::placeholder {
    color: #a0afbb;
}

.submit-group {
    margin-top: 24px;
}

.login-form button {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #0a86af 0%, #17a4cb 100%);
    box-shadow: 0 12px 24px rgba(15, 148, 189, 0.22);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.login-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(15, 148, 189, 0.26);
}

.login-form button[disabled],
.login-form button[disabled]:hover {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.security-note {
    margin-top: 16px;
    font-size: 12px;
    color: #8fa0ad;
}

@media screen and (max-width: 640px) {
    .login-shell {
        padding: 16px;
    }

    .login-card {
        border-radius: 20px;
    }

    .login-card-inner {
        padding: 32px 22px 26px;
    }

    .brand-title {
        font-size: 21px;
    }

    .card-title {
        font-size: 24px;
    }
}
