/* 全局样式 */
body {
    background-color: #ffffff !important;
}
.nav-bar {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.back-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #3498db;
    cursor: pointer;
    padding: 5px 10px;
    margin-right: 10px;
}
.nav-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
}

/* 注册容器 */
.register-container {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    padding: 15px;
}

/* 注册头部 */
.register-header {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 10px;
}

.register-header h1 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 5px;
}

.register-header p {
    color: #7f8c8d;
    font-size: 1em;
}

/* 表单容器 */
.register-form-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 100%;
}

/* 表单部分 */
.form-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h2 {
    color: #2c3e50;
    font-size: 1.2em;
    margin-bottom: 15px;
}

/* 表单组 */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #34495e;
    font-weight: 500;
    font-size: 0.9em;
}

.required {
    color: #e74c3c;
    margin-left: 4px;
}

/* 输入框样式 */
input[type="text"],
input[type="tel"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* 文件上传 */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    display: none;
}

.file-label {
    display: inline-block;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px dashed #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.file-label:hover {
    background: #e9ecef;
    border-color: #3498db;
}

/* 复选框组 */
.checkbox-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

/* 时间范围 */
.time-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-range input {
    flex: 1;
}

/* 协议同意 */
.agreement {
    margin: 15px 0;
}

.agreement label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.link {
    color: #3498db;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* 提交按钮 */
.form-actions {
    text-align: center;
    margin-top: 20px;
}

.submit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #2980b9;
}

/* 响应式设计 */
@media (max-width: 375px) {
    .register-container {
        padding: 10px;
    }

    .register-form-container {
        padding: 12px;
    }

    .form-section h2 {
        font-size: 1.1em;
    }

    .form-group label {
        font-size: 0.85em;
    }

    input[type="text"],
    input[type="tel"],
    input[type="time"],
    select,
    textarea {
        padding: 8px;
        font-size: 13px;
    }

    .submit-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
} 