/* 留言板页面样式 */
.guestbook-page { background: #fff; }

/* 主内容区 */
.guestbook-content { display: flex; gap: 40px; padding: 50px 0; }

/* 左侧表单区域 */
.guestbook-form-section { flex: 1; background: #fff; border-radius: 8px; padding: 40px; box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.guestbook-form-section h2 { font-size: 24px; color: #333; margin-bottom: 30px; font-weight: 600; }

/* 表单样式 */
.guestbook-form .form-group { margin-bottom: 20px; }
.guestbook-form .input-wrapper { position: relative; }
.guestbook-form .input-wrapper input,
.guestbook-form .input-wrapper textarea { width: 100%; padding: 15px 45px 15px 15px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 15px; transition: all 0.3s; background: #fafafa; }
.guestbook-form .input-wrapper input:focus,
.guestbook-form .input-wrapper textarea:focus { border-color: #3a7bd5; background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(58,123,213,0.1); }
.guestbook-form .input-wrapper i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #999; font-size: 18px; }
.guestbook-form .textarea-wrapper i { top: 20px; transform: none; }

/* 图标样式 */
.icon-user::before { content: '👤'; }
.icon-whatsapp::before { content: '📱'; }
.icon-email::before { content: '✉️'; }
.icon-send::before { content: '✈️'; }
.icon-home::before { content: '🏠'; }
.icon-service::before { content: '🎯'; }
.icon-design::before { content: '💡'; }
.icon-partner::before { content: '🤝'; }
.icon-factory::before { content: '🏭'; }

/* 产品信息区域 */
.product-info-section { background: #f8f9fa; border-radius: 8px; padding: 25px; margin: 25px 0; border-left: 4px solid #3a7bd5; }
.product-info-section h3 { font-size: 16px; color: #333; margin-bottom: 15px; font-weight: 600; }
.params-label { font-size: 14px; color: #666; margin-bottom: 12px; }
.params-checkbox-list { display: flex; flex-wrap: wrap; gap: 12px; }
.param-checkbox { display: flex; align-items: center; cursor: pointer; padding: 8px 15px; background: #fff; border-radius: 20px; border: 1px solid #e0e0e0; transition: all 0.3s; }
.param-checkbox:hover { border-color: #3a7bd5; }
.param-checkbox input { display: none; }
.param-checkbox .checkbox-custom { width: 18px; height: 18px; border: 2px solid #ccc; border-radius: 4px; margin-right: 8px; position: relative; transition: all 0.3s; }
.param-checkbox input:checked + .checkbox-custom { background: #3a7bd5; border-color: #3a7bd5; }
.param-checkbox input:checked + .checkbox-custom::after { content: '✓'; position: absolute; color: #fff; font-size: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.param-checkbox .param-text { font-size: 13px; color: #555; }

/* 提交按钮 */
.btn-submit { width: 100%; padding: 16px 30px; background: linear-gradient(135deg, #3a7bd5 0%, #00d2ff 100%); color: #fff; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(58,123,213,0.35); }

/* 右侧公司信息 */
.company-info-section { width: 380px; flex-shrink: 0; }
.company-info-section h2 { font-size: 24px; color: #333; margin-bottom: 30px; font-weight: 600; }
.info-item { background: #fff; border-radius: 8px; padding: 25px; margin-bottom: 20px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); transition: all 0.3s; }
.info-item:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.info-item h3 { font-size: 16px; color: #3a7bd5; margin-bottom: 10px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.info-item p { font-size: 14px; color: #666; line-height: 1.6; margin: 0; }

/* 验证码样式 */
.guestbook-form .captcha-wrapper { display: flex; align-items: center; gap: 12px; background: #f0f4f8; padding: 12px 15px; border-radius: 6px; border: 1px solid #e0e0e0; }
.guestbook-form .captcha-question { font-size: 18px; font-weight: 600; color: #2c3e50; min-width: 110px; font-family: 'Courier New', monospace; }
.guestbook-form .captcha-wrapper input { flex: 1; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 16px; min-width: 150px; max-width: 200px; background: #fff; }
.guestbook-form .captcha-wrapper input:focus { border-color: #3a7bd5; outline: none; box-shadow: 0 0 0 3px rgba(58,123,213,0.1); }
.guestbook-form .captcha-refresh { width: 40px; height: 40px; border: none; background: linear-gradient(135deg, #3a7bd5 0%, #00d2ff 100%); color: #fff; border-radius: 4px; font-size: 20px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.guestbook-form .captcha-refresh:hover { transform: rotate(180deg); box-shadow: 0 4px 15px rgba(58,123,213,0.35); }

/* 响应式 */
@media (max-width: 992px) {
    .guestbook-content { flex-direction: column; }
    .company-info-section { width: 100%; }
}
@media (max-width: 768px) {
    .guestbook-form-section { padding: 25px; }
    .params-checkbox-list { flex-direction: column; }
    .param-checkbox { width: 100%; }
    .guestbook-form .captcha-wrapper { flex-wrap: wrap; }
    .guestbook-form .captcha-question { min-width: auto; }
}
