body { display: flex; align-items: center; justify-content: center; height: 100vh; font-family: Arial, sans-serif; } .container { text-align: center; } .search-bar { padding: 10px; font-size: 16px; width: 300px; } .button { padding: 10px 20px; font-size: 16px; } .result { margin-top: 20px; padding: 20px; border-radius: 8px; background-color: #f8f9fa; box-shadow: 0 2px 4px rgba(0,0,0,0.1); max-width: 600px; margin-left: auto; margin-right: auto; } .result-item { padding: 15px; border-bottom: 1px solid #dee2e6; text-align: left; } .result-item:last-child { border-bottom: none; } .result-label { font-weight: bold; color: #495057; margin-right: 10px; } .result-value { color: #212529; } .no-result { color: #dc3545; padding: 15px; } .success-result { color: #28a745; } /* 搜索结果样式 */ .result-header { margin-bottom: 30px; padding-bottom: 15px; border-bottom: 2px solid #eee; } .debtor-name { color: #2c3e50; margin: 0 0 10px 0; } .remaining-debt { font-size: 18px; color: #34495e; } .remaining-debt span { font-weight: bold; color: #e74c3c; } .repayment-section h3 { color: #2c3e50; margin-bottom: 20px; } .repayment-list { display: flex; flex-direction: column; gap: 15px; } .repayment-item { display: flex; padding: 15px; background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); transition: transform 0.2s; } .repayment-item:hover { transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0,0,0,0.1); } .repayment-date { min-width: 100px; color: #7f8c8d; font-size: 14px; } .repayment-details { flex: 1; display: flex; align-items: center; gap: 20px; } .repayment-amount { font-weight: bold; color: #27ae60; font-size: 16px; } .repayment-method { color: #34495e; background: #f7f9fc; padding: 4px 12px; border-radius: 4px; font-size: 14px; } .repayment-comment { color: #95a5a6; font-size: 14px; } .no-repayments, .no-result, .no-input { color: #7f8c8d; text-align: center; padding: 20px; background: #f8f9fa; border-radius: 8px; }