/* 重置所有元素的默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 设置 html 和 body 高度，并使用 Flexbox 居中对齐 */
html, body {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
	background: linear-gradient(180deg, #4B79A1 0%, #283E51 100%); /* 从上到下的渐变 */
    font-family: Arial, sans-serif;
}

/* wrapper 确保 container 居中 */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* 标题样式 */
h1 {
    font-size: 24px; /* 修改为您想要的字体大小 */
    margin-bottom: 20px; /* 调整标题和输入区域之间的间距 */
}
/* container 样式 */
.container {
    background-color: #ffffff; /* 设置容器背景颜色 */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 400px;
    text-align: center;
}

/* 输入框和按钮的布局 */
.input-group {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

/* 输入框样式 */
input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 60%;
}

/* 按钮样式，并引入图标 */
button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

button:hover {
    background-color: #0056b3;
}

.result p {
    margin: 0;
    font-size: 16px;
}

#copyButton {
    margin-top: 10px;
}
