/* 杭州云启嘻嘻网络科技有限公司 - 家政服务信息发布平台 - 登录注册页面样式 */
:root {
    --zh-primary-color: #00BCD4;
    --zh-primary-dark: #0097A7;
    --zh-secondary-color: #26C6DA;
    --zh-accent-color: #FFC107;
    --zh-bg-light: #F1F9FA;
    --zh-bg-earth: #E8F6F8;
    --zh-text-dark: #006064;
    --zh-text-secondary: #37474F;
    --zh-white: #FFFFFF;
    --zh-shadow: 0 4px 12px rgba(0, 188, 212, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'SimHei', Arial, sans-serif;
    background: linear-gradient(135deg, var(--zh-bg-light) 0%, var(--zh-bg-earth) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.zh_login-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover,
                linear-gradient(rgba(0, 188, 212, 0.1), rgba(0, 151, 167, 0.2));
    background-blend-mode: overlay;
}

.zh_main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.zh_form-wrapper {
    background: var(--zh-white);
    border-radius: 20px;
    box-shadow: var(--zh-shadow);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    backdrop-filter: blur(10px);
}

.zh_form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--zh-primary-color), var(--zh-secondary-color));
    border-radius: 20px 20px 0 0;
}

.zh_brand-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.zh_brand-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--zh-primary-color), var(--zh-secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--zh-white);
    font-size: 2rem;
}

.zh_brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--zh-text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.zh_brand-desc {
    font-size: 0.9rem;
    color: var(--zh-text-secondary);
    line-height: 1.4;
}

.zh_form-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--zh-text-dark);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.zh_form-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--zh-primary-color);
    border-radius: 2px;
}

.zh_form-group {
    margin-bottom: 1.5rem;
}

.zh_form-group.zh_form-group-row {
    display: flex;
    gap: 1rem;
}

.zh_form-group.zh_form-group-row .zh_input-wrapper {
    flex: 1;
}

.zh_input-wrapper {
    position: relative;
}

.zh_form-input {
    width: 100%;
    height: 50px;
    padding: 12px 20px 12px 50px;
    border: 2px solid #E8F7F9;
    border-radius: 12px;
    font-size: 16px;
    color: var(--zh-text-dark);
    background: var(--zh-white);
    transition: all 0.3s ease;
    outline: none;
}

.zh_form-input:focus {
    border-color: var(--zh-primary-color);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.zh_form-input::placeholder {
    color: #999;
}

.zh_input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--zh-primary-color);
    font-size: 18px;
}

.zh_captcha-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.zh_captcha-input {
    flex: 1;
}

.zh_captcha-img {
    width: 120px;
    height: 50px;
    border-radius: 8px;
    border: 2px solid #E8F7F9;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.zh_captcha-img:hover {
    border-color: var(--zh-primary-color);
}

.zh_btn-captcha {
    height: 50px;
    padding: 0 20px;
    background: linear-gradient(135deg, var(--zh-primary-color), var(--zh-secondary-color));
    color: var(--zh-white);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.zh_btn-captcha:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.zh_btn-captcha:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.zh_agreement-section {
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--zh-text-secondary);
    line-height: 1.5;
}

.zh_agreement-checkbox {
    margin-top: 2px;
    accent-color: var(--zh-primary-color);
}

.zh_agreement-text a {
    color: var(--zh-primary-color);
    text-decoration: none;
    font-weight: 500;
}

.zh_agreement-text a:hover {
    text-decoration: underline;
}

.zh_submit-btn {
    width: 100%;
    height: 55px;
    background: linear-gradient(135deg, var(--zh-primary-color), var(--zh-secondary-color));
    color: var(--zh-white);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.zh_submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}

.zh_submit-btn:active {
    transform: translateY(-1px);
}

.zh_switch-link {
    text-align: center;
    margin-top: 1.5rem;
}

.zh_switch-link a {
    color: var(--zh-primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.zh_switch-link a:hover {
    color: var(--zh-primary-dark);
    text-decoration: underline;
}

/* Features section for register page */
.zh_features-highlight {
    background: linear-gradient(135deg, #E8F7F9, #F1FAFB);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--zh-primary-color);
}

.zh_features-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--zh-text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_features-list {
    list-style: none;
    padding: 0;
}

.zh_features-list li {
    padding: 0.5rem 0;
    color: var(--zh-text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_features-list li::before {
    content: '✓';
    color: var(--zh-primary-color);
    font-weight: bold;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .zh_main-content {
        padding: 1rem;
    }
    
    .zh_form-wrapper {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .zh_brand-name {
        font-size: 1.3rem;
    }
    
    .zh_form-title {
        font-size: 1.5rem;
    }
    
    .zh_form-group.zh_form-group-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .zh_captcha-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .zh_captcha-img {
        width: 100%;
    }
}

/* Animation */
@keyframes zh_fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zh_form-wrapper {
    animation: zh_fadeInUp 0.6s ease-out;
}

/* Loading state */
.zh_loading {
    position: relative;
    overflow: hidden;
}

.zh_loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: zh_loading 1.5s infinite;
}

@keyframes zh_loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}
