* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    overflow: hidden;
}

.login-page {
    display: flex;
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

/* 左侧插画区域 */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #f7fee7 0%, #f4fcf0 50%, #f0fdf4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(101, 163, 13, 0.12) 0%, transparent 70%);
    top: 10%;
    left: 20%;
    border-radius: 50%;
}

.login-left::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.1) 0%, transparent 70%);
    bottom: 15%;
    right: 10%;
    border-radius: 50%;
}

.login-illustration {
    position: relative;
    z-index: 1;
}

.illustration-content {
    position: relative;
    width: 400px;
    height: 500px;
}

/* 手机 mockup */
.phone-mockup {
    width: 180px;
    height: 320px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #333;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chart-bar {
    height: 30px;
    background: linear-gradient(90deg, #84cc16 0%, #a3e635 100%);
    border-radius: 4px;
}

.chart-bar:nth-child(2) {
    width: 80%;
    background: linear-gradient(90deg, #66bb6a 0%, #81c784 100%);
}

.chart-bar:nth-child(3) {
    width: 60%;
    background: linear-gradient(90deg, #ffa726 0%, #ffb74d 100%);
}

/* 浮动元素 */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.float-item {
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.float-item .icon {
    font-size: 40px;
}

.money-bag {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.rocket {
    top: 10%;
    right: 15%;
    animation-delay: 1s;
}

.arrow {
    width: 60px;
    height: 3px;
    background: #84cc16;
    position: absolute;
    bottom: 30%;
    right: 20%;
    transform: rotate(-30deg);
}

.arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -5px;
    width: 0;
    height: 0;
    border-left: 10px solid #84cc16;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.join-btn {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #84cc16 0%, #65a30d 100%);
    color: #fff;
    padding: 10px 30px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(101, 163, 13, 0.3);
}

/* 右侧登录区域 */
.login-right {
    width: 480px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.login-box {
    width: 360px;
    padding: 20px 0;
}

/* 头部 */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 20px;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-header .portal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #84cc16, #65a30d);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 10px;
    vertical-align: middle;
    letter-spacing: 0;
}

.login-header p {
    font-size: 13px;
    color: #999;
}

/* 标签页 */
.login-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #e8e8e8;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    position: relative;
    transition: all 0.3s;
}

.tab-item i {
    margin-right: 5px;
    font-size: 16px;
}

.tab-item.active {
    color: #65a30d;
    font-weight: 500;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    width: 60%;
    height: 2px;
    background: #65a30d;
}

/* 表单内容 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 18px;
}

.form-group .layui-input {
    height: 44px;
    line-height: 44px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    padding: 0 15px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group .layui-input:focus {
    border-color: #65a30d;
    box-shadow: 0 0 0 2px rgba(101, 163, 13, 0.1);
}

.password-group {
    position: relative;
}

.password-group .layui-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 18px;
}

.password-group .layui-input {
    padding-right: 45px;
}

.verify-group {
    display: flex;
    gap: 10px;
}

.verify-group .layui-input {
    flex: 1;
}

.verify-btn {
    width: 110px;
    height: 44px;
    line-height: 44px;
    background: #fff;
    border: 1px solid #65a30d;
    color: #65a30d;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.verify-btn:hover {
    background: #65a30d;
    color: #fff;
}

.agreement {
    display: flex;
    align-items: flex-start;
    font-size: 12px;
    color: #666;
}

.agreement input[type="checkbox"] {
    margin-right: 6px;
    margin-top: 2px;
}

.agreement a {
    color: #65a30d;
    text-decoration: none;
}

.login-btn {
    height: 44px;
    line-height: 44px;
    background: linear-gradient(90deg, #84cc16 0%, #65a30d 100%);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    letter-spacing: 4px;
    transition: all 0.3s;
}

.login-btn:hover {
    background: linear-gradient(90deg, #65a30d 0%, #4d7c0f 100%);
    box-shadow: 0 4px 15px rgba(101, 163, 13, 0.3);
}

/* 底部链接 */
.login-footer {
    margin-top: 20px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-links .register-link {
    color: #65a30d;
    text-decoration: none;
}

.footer-links .forgot-link {
    color: #999;
    text-decoration: none;
}

.mini-tips {
    font-size: 12px;
    color: #999;
    text-align: center;
}

/* 品牌标识 */
.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 8px;
}

.brand-logo {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    font-size: 16px;
}

.brand-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* 响应式 */
@media (max-width: 900px) {
    .login-left {
        display: none;
    }
    .login-right {
        width: 100%;
    }
}
