﻿/* 娉ㄥ唽椤垫牱寮?- 绾康涓婚 */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.register-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.register-container {
    width: 100%;
}

.register-card {
    background-color: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(139, 125, 107, 0.2);
    overflow: hidden;
    display: flex;
    border: 1px solid rgba(139, 125, 107, 0.1);
}

.register-illustration {
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, #A67C52 0%, #8B7D6B 100%);
    color: #F5F0E8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

.register-illustration-inner {
    text-align: left;
    max-width: 260px;
}

.register-illustration-inner .icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.register-illustration-inner .icon-circle i {
    font-size: 1.6rem;
}

.register-illustration-inner h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.register-illustration-inner p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.95;
}

.register-form-wrapper {
    flex: 1;
    padding: 40px;
}

.register-header {
    text-align: left;
    margin-bottom: 30px;
}

.register-header h1 {
    font-size: 2.2rem;
    color: #433E38;
    margin-bottom: 10px;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
}

.register-header p {
    color: #8B7D6B;
    font-size: 1rem;
}

.register-form .form-group {
    margin-bottom: 20px;
}

.register-form label {
    display: block;
    margin-bottom: 8px;
    color: #433E38;
    font-weight: 500;
}

.register-form input,
.register-form select {
    width: 100%;
    padding: 14px;
    border: 2px solid rgba(139, 125, 107, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #F9F7F4;
}

.register-form input:focus,
.register-form select:focus {
    outline: none;
    border-color: #A67C52;
    background: white;
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.password-requirements {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 12px;
    background: #F9F7F4;
    border-radius: 8px;
    border: 1px solid rgba(139, 125, 107, 0.1);
    transition: all 0.3s ease;
}

.checkbox-group:hover {
    background: #F5F0E8;
    border-color: rgba(166, 124, 82, 0.2);
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    cursor: pointer;
    accent-color: #A67C52;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.95rem;
    color: #433E38;
    line-height: 1.7;
    cursor: pointer;
    flex: 1;
    user-select: none;
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
}

.checkbox-group a {
    color: #A67C52;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
}

.checkbox-group a:hover {
    color: #8B7D6B;
    border-bottom-color: #8B7D6B;
}

.btn-register {
    background: linear-gradient(135deg, #A67C52, #8B7D6B);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(166, 124, 82, 0.3);
}

.btn-register:hover {
    background: linear-gradient(135deg, #8B7D6B, #6B5D4B);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 124, 82, 0.4);
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #95a5a6;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #eee;
}

.divider span {
    padding: 0 15px;
    font-size: 0.9rem;
}

.social-register {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

.social-btn i {
    font-size: 1.2rem;
}

.social-btn.wechat i {
    color: #09bb07;
}

.social-btn.weibo i {
    color: #e6162d;
}

.register-footer {
    text-align: center;
    margin-top: 25px;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.register-footer a {
    color: #A67C52;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-footer a:hover {
    color: #8B7D6B;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .register-card {
        flex-direction: column;
    }

    .register-illustration {
        display: none;
    }

    .register-form-wrapper {
        padding: 30px 25px;
    }

    .checkbox-group {
        padding: 10px;
        gap: 10px;
    }

    .checkbox-group label {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    }

    .register-header h1 {
        font-size: 1.8rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .register-form-wrapper {
        padding: 25px 20px;
    }

    .register-header h1 {
        font-size: 1.6rem;
    }

    .checkbox-group {
        padding: 10px;
        gap: 8px;
        margin-bottom: 15px;
    }

    .checkbox-group input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-top: 3px;
    }

    .checkbox-group label {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}


