/* 定制表单样式 */
.custom-form-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    background: #fff;
}

/* 表单头部 */
.form-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
}

.form-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.2;
}

.form-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* 表单内容区域 */
.form-content {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* 表单分组 */
.form-section {
    margin-bottom: 40px;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-section .section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

/* 表单行 */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row:last-child {
    margin-bottom: 0;
}

/* 表单组 */
.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group.half-width {
    flex: 0 0 calc(50% - 10px);
}

.form-group.third-width {
    flex: 0 0 calc(33.333% - 14px);
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

/* 输入框样式 */
.input-wrapper {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* 图标样式 */
.location-icon,
.calendar-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-size: contain;
    pointer-events: none;
}

.location-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
}

.calendar-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>');
}

/* 单选按钮组 */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #ff6600;
}

.radio-text {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    transition: all 0.3s;
    min-width: 80px;
    text-align: center;
}

.radio-option input[type="radio"]:checked + .radio-text {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

/* 文本域 */
textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    line-height: 1.5;
}

/* 提交按钮 */
.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 200px;
}

.submit-btn:hover {
    background: #e55a00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .custom-form-container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .form-content {
        padding: 20px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-subtitle {
        font-size: 14px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half-width,
    .form-group.third-width {
        flex: 1;
        margin-bottom: 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-text {
        text-align: left;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .form-header {
        padding: 20px 0;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    .submit-btn {
        width: 100%;
        min-width: auto;
    }
}