* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans SC", "HarmonyOS Sans", "HarmonyOS Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 546px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    text-align: center;
    margin-bottom: 32px;
}

.logo-wrapper img {
    height: 48px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.login-card {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 48px 48px;
    background-color: #ffffff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #595959;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    color: #262626;
    background-color: #ffffff;
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus {
    border-color: #bfbfbf;
}

.form-group input::placeholder {
    color: #bfbfbf;
}

.login-btn {
    width: 100%;
    height: 44px;
    margin-top: 12px;
    background-color: #c41e24;
    color: #ffffff;
    border: none;
    border-radius: 22px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-btn:hover {
    background-color: #a3181e;
}

.login-btn:active {
    background-color: #8a1318;
}

.login-notice {
    margin-top: 24px;
}

.login-notice p {
    font-size: 12px;
    color: #8c8c8c;
    line-height: 1.8;
    text-align: justify;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 16px 20px;
    text-align: center;
    background-color: #ffffff;
}

.footer-content {
    font-size: 14px;
    color: #8c8c8c;
    line-height: 1.8;
}

.footer-content a {
    color: #8c8c8c;
    text-decoration: none;
}

.footer-content a:hover {
    color: #595959;
}

.footer-row-pc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-row-h5 {
    display: none;
}

.footer-line {
    display: flex;
    align-items: center;
    gap: 4px;
}

.beian-icon {
    height: 16px;
    width: auto;
    vertical-align: middle;
}

/* H5 适配 */
@media (max-width: 480px) {
    .login-container {
        max-width: 100%;
    }

    .login-card {
        padding: 32px 20px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .logo-wrapper {
        margin-bottom: 28px;
    }

    .login-notice {
        margin-top: 20px;
    }

    .login-notice p {
        font-size: 11px;
        line-height: 1.7;
    }

    .footer {
        padding: 12px 16px 16px;
        text-align: left;
    }

    .footer-content {
        font-size: 12px;
    }

    .footer-row-pc {
        display: none;
    }

    .footer-row-h5 {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .footer-line {
        justify-content: flex-start;
    }
}