/* 锂数云科新能源信息发布平台 - 登录注册页面样式 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面背景 */
.zh_login_body {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #258161 100%);
    position: relative;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.zh_login_body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.zh_login_body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(37, 129, 97, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(42, 82, 152, 0.3) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

/* 主容器 */
.zh_main_container {
    position: relative;
    z-index: 1001;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 表单卡片 */
.zh_form_card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.2);
    padding: 50px 40px;
    width: 100%;
    max-width: 480px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: zh_fadeInUp 0.6s ease-out;
    z-index: 1001;
}

.zh_form_card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(37, 129, 97, 0.1), transparent);
    transform: rotate(45deg);
    animation: zh_shimmer 3s infinite;
    pointer-events: none;
}

@keyframes zh_shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes zh_fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 品牌标识区域 */
.zh_brand_area {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1002;
}

.zh_brand_logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF8F00, #F57C00);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    box-shadow: 0 10px 25px rgba(255, 143, 0, 0.3);
}

.zh_brand_title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.zh_brand_subtitle {
    font-size: 16px;
    color: #7f8c8d;
    font-weight: 400;
    line-height: 1.5;
}

/* 表单标题 */
.zh_form_title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1002;
}

.zh_form_title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #FF8F00, #F57C00);
    border-radius: 2px;
}

/* 表单组 */
.zh_form_group {
    margin-bottom: 25px;
    position: relative;
    z-index: 1002;
}

/* 输入框容器 */
.zh_input_wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* 输入框样式 */
.zh_form_input {
    width: 100%;
    height: 50px;
    padding: 15px 20px;
    padding-left: 50px;
    border: 2px solid #e8ecef;
    border-radius: 12px;
    font-size: 16px;
    color: #2c3e50;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.zh_form_input:focus {
    border-color: #FF8F00;
    box-shadow: 0 0 0 4px rgba(255, 143, 0, 0.1);
    transform: translateY(-1px);
}

.zh_form_input::placeholder {
    color: #95a5a6;
    font-weight: 400;
}

/* 输入框图标 */
.zh_input_icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    font-size: 18px;
    z-index: 2;
    transition: color 0.3s ease;
}

.zh_form_input:focus + .zh_input_icon {
    color: #FF8F00;
}

/* 验证码输入框 */
.zh_captcha_input {
    flex: 1;
    margin-right: 15px;
    padding-left: 20px !important;
}

.zh_captcha_img {
    width: 120px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #e8ecef;
    transition: border-color 0.3s ease;
}

.zh_captcha_img:hover {
    border-color: #FF8F00;
}

/* 获取验证码按钮 */
.zh_captcha_btn {
    background: linear-gradient(135deg, #FF8F00, #F57C00) !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 50px;
    position: relative;
    z-index: 1002;
}

.zh_captcha_btn:hover {
    background: linear-gradient(135deg, #F57C00, #E65100) !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 143, 0, 0.3);
}

/* 记住我/同意协议 */
.zh_checkbox_group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 12px;
    position: relative;
    z-index: 1002;
}

.zh_checkbox {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #FF8F00;
    flex-shrink: 0;
}

.zh_checkbox_label {
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.zh_checkbox_label a {
    color: #FF8F00;
    text-decoration: none;
    font-weight: 500;
}

.zh_checkbox_label a:hover {
    text-decoration: underline;
}

/* 提交按钮 */
.zh_submit_btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #FF8F00, #F57C00);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    z-index: 1002;
}

.zh_submit_btn:hover {
    background: linear-gradient(135deg, #F57C00, #E65100);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 143, 0, 0.3);
}

.zh_submit_btn:active {
    transform: translateY(0);
}

.zh_submit_btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.zh_submit_btn:hover::before {
    left: 100%;
}

/* 切换链接 */
.zh_switch_form {
    text-align: center;
    margin-top: 25px;
    position: relative;
    z-index: 1002;
}

.zh_switch_form p {
    margin-bottom: 10px;
    color: #5a6c7d;
    font-size: 14px;
}

.zh_switch_link {
    color: #FF8F00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.zh_switch_link:hover {
    color: #F57C00;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .zh_main_container {
        padding: 15px;
    }
    
    .zh_form_card {
        padding: 30px 25px;
        margin: 10px;
    }
    
    .zh_brand_title {
        font-size: 24px;
    }
    
    .zh_brand_subtitle {
        font-size: 14px;
    }
    
    .zh_form_title {
        font-size: 20px;
    }
    
    .zh_captcha_input {
        margin-right: 10px;
    }
    
    .zh_captcha_img {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .zh_form_card {
        padding: 25px 20px;
    }
    
    .zh_brand_logo {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .zh_brand_title {
        font-size: 20px;
    }
    
    .zh_form_input {
        height: 45px;
        padding: 12px 15px;
        padding-left: 45px;
        font-size: 15px;
    }
    
    .zh_captcha_input {
        padding-left: 15px !important;
    }
    
    .zh_submit_btn {
        height: 45px;
        font-size: 15px;
    }
    
    .zh_captcha_btn {
        height: 45px;
        padding: 10px 15px;
        font-size: 12px;
    }
}

/* 成功状态 */
.zh_form_input.success {
    border-color: #27ae60;
    background-color: #f8fff9;
}

/* 错误状态 */
.zh_form_input.error {
    border-color: #e74c3c;
    background-color: #fff8f8;
}

/* 焦点状态增强 */
.zh_form_input:focus-visible {
    outline: none;
    border-color: #FF8F00;
    box-shadow: 0 0 0 4px rgba(255, 143, 0, 0.15);
}
