* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #1a237e 0%, #311b92 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.left-section {
    flex: 1;
    background: linear-gradient(135deg, #1a237e 0%, #311b92 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 36px;
    margin-right: 15px;
    color: #7c4dff;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.left-section h1 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.left-section p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.features {
    list-style-type: none;
}

.features li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.features i {
    background-color: rgba(124, 77, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    color: #7c4dff;
}

.right-section {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    margin-bottom: 40px;
    text-align: center;
}

.form-header h2 {
    color: #1a237e;
    font-size: 32px;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.form-control {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #7c4dff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.2);
}

.form-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: white;
    cursor: pointer;
}

.form-select:focus {
    border-color: #7c4dff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.2);
}

.radio-group, .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.radio-option, .checkbox-option {
    display: flex;
    align-items: center;
}

.radio-option input, .checkbox-option input {
    margin-right: 8px;
    cursor: pointer;
}

.radio-option label, .checkbox-option label {
    cursor: pointer;
    font-weight: normal;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #7c4dff;
    background-color: rgba(124, 77, 255, 0.05);
}

.upload-area i {
    font-size: 48px;
    color: #7c4dff;
    margin-bottom: 15px;
}

.upload-area p {
    color: #666;
    margin-bottom: 10px;
}

.upload-area .hint {
    font-size: 14px;
    color: #999;
}

#previewContainer {
    margin-top: 15px;
    display: none;
}

.preview-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.remove-image {
    display: inline-block;
    margin-top: 10px;
    color: #f44336;
    cursor: pointer;
    font-size: 14px;
}

.remove-image:hover {
    text-decoration: underline;
}

.note-box {
    background-color: #f9f9f9;
    border-left: 4px solid #ff9800;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

.note-box h4 {
    color: #ff9800;
    margin-bottom: 8px;
    font-size: 16px;
}

.note-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.success-message {
    color: #4CAF50;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container input {
    margin-right: 8px;
}

.checkbox-container a {
    color: #7c4dff;
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.btn-register {
    background: linear-gradient(135deg, #7c4dff 0%, #673ab7 100%);
    color: white;
    border: none;
    padding: 16px;
    width: 100%;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
    position: relative;
}

.btn-register:hover {
    background: linear-gradient(135deg, #6a40d8 0%, #5e35b1 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 77, 255, 0.4);
}

.btn-register:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.login-link {
    text-align: center;
    color: #666;
}

.login-link a {
    color: #7c4dff;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

.other-input {
    display: none;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        max-width: 600px;
    }
    
    .left-section, .right-section {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .left-section, .right-section {
        padding: 30px 20px;
    }
    
    .radio-group, .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
}