/* ========== 基础重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    background-color: #f8f9fa;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== 顶部Logo栏 ========== */
.wrapper {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 24px;
}

.wrapper .logo img {
    height: 36px;
    width: auto;
    margin: 0 !important;
}

.fLeft { float: left; }

/* ========== 登录主容器（斜切叠加布局） ========== */
.cententbox {
    position: relative;
    width: 980px;
    min-height: 520px;
    margin: 70px auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(233, 30, 85, 0.08);
    overflow: hidden;
}

/* 左侧品牌区：斜切造型，打破垂直分割线 */
.boxrignt {
    position: absolute;
    left: 0;
    top: 0;
    width: 54%;
    height: 100%;
    background-color: #e91e55;
    clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
    z-index: 1;
    padding: 0 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

/* 品牌区装饰圆，增加细节不突兀 */
.boxrignt::before {
    content: '';
    position: absolute;
    right: 8%;
    bottom: -25%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

.boxrignt .ico {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 32px;
    width: fit-content;
    letter-spacing: 1px;
}

.loginbf p {
    font-size: 16px;
	color: #fff;
    line-height: 1.8;
    opacity: 0.92;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
    display: inline-block;
}

.loginbf a:hover p {
    opacity: 1;
    border-color: #fff;
}

/* 右侧表单卡：悬浮叠加，错位层次感 */
.boxleft {
    position: relative;
    z-index: 2;
    width: 46%;
    float: right;
    padding: 60px 50px;
}

.boxleft h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 12px;
}

.boxleft h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    background-color: #e91e55;
    border-radius: 2px;
}

/* ========== 表单输入区 ========== */
.input {
    margin-bottom: 22px !important;
    position: relative;
}

.input .user {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    color: #1f2937;
    background-color: #fafafa;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.input .user::placeholder {
    color: #9ca3af;
}

.input .user:focus {
    border-color: #e91e55;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(233, 30, 85, 0.08);
}

/* 验证码：换行排版，更松快 */
.input #vdcode {
    width: 58%;
    margin-right: 8px;
    vertical-align: middle;
}

.input #vdimgck {
    display: inline-block;
    height: 46px;
    width: auto;
    vertical-align: middle;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.input > a:last-of-type {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #9ca3af;
    margin-left: 0;
}

.input > a:hover {
    color: #e91e55;
}

/* 协议勾选 */
.input input[type="checkbox"] {
    accent-color: #e91e55;
    margin-right: 6px;
    cursor: pointer;
    vertical-align: middle;
}

.input {
    font-size: 13px;
    color: #6b7280;
}

.input a[href*="yhxy"] {
    color: #e91e55;
}

.input a[href*="yhxy"]:hover {
    text-decoration: underline;
}

/* 登录按钮 */
.btnlogin {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 6px;
    background-color: #e91e55;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btnlogin:hover {
    background-color: #d4184d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 85, 0.2);
}

.btnlogin:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(233, 30, 85, 0.15);
}

/* ========== 响应式适配 ========== */
@media (max-width: 980px) {
    .cententbox {
        width: 92%;
        min-height: auto;
        margin: 40px auto;
    }

    .boxrignt {
        position: relative;
        width: 100%;
        height: auto;
        clip-path: none;
        padding: 36px 30px;
        text-align: center;
    }

    .boxrignt .ico {
        margin: 0 auto 18px;
    }

    .boxleft {
        float: none;
        width: 100%;
        padding: 36px 30px;
    }
}

@media (max-width: 480px) {
    .wrapper {
        padding: 10px 16px;
    }

    .wrapper .logo img {
        height: 32px;
    }

    .boxleft {
        padding: 28px 20px;
    }

    .boxleft h1 {
        font-size: 24px;
    }

    .input #vdcode {
        width: 52%;
    }

    .input #vdimgck {
        height: 44px;
    }
}

.topheader{
	height: 165px !important;
}