/* 页面整体背景及通用字体设置 */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 标题样式，使其更突出 */
h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

/* 表单样式，增强视觉效果与布局合理性 */
form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

form label,
form input,
form button {
    font-size: 16px;
    margin-right: 10px;
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

form input {
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

form input:focus {
    border-color: #007BFF;
}

form button {
    background-color: #007BFF;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0056b3;
}

/* 结果展示区域样式，更清晰美观 */
.result-section {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    box-sizing: border-box;
}

.result-section p {
    font-size: 16px;
    margin: 15px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    word-break: break-word;
}

.result-section p:last-child {
    border-bottom: none;
}

.result-section.result {
    font-weight: bold;
    color: #007BFF;
}