body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ece9e6, #ffffff);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

h1 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}
.date-selector {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
}
input[type="text"], input[type="number"] {
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: 25%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
    flex-wrap: wrap;
}

input[type="text"]:focus, input[type="number"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    outline: none;
}
#resetButton  {
    height: 36px; /* 根据需要调整高度 */
    padding: 0 5px; /* 调整内边距以适应文本 */
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    padding: 2px 5px; /* 保持一致的内边距 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100px;
}
#convertButton  {
    height: 36px; /* 根据需要调整高度 */
    padding: 0 5px; /* 调整内边距以适应文本 */
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    padding: 2px 5px; /* 保持一致的内边距 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 80px;
}
button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0); /* 按下按钮时取消浮动 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#result {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    line-height: 1.5;
}
.divination-method {
    display: flex;
    align-items: center;
    margin-top: 10px;
    gap: 10px; /* 调整元素之间的间距 */
    justify-content:center;
}

.divination-method label {
    font-weight: bold;
}

.divination-method select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.divination-method button {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f0f0f0;
    cursor: pointer;
}

.divination-method button:hover {
    background-color: #e0e0e0;
}
.liuyaopan {
    display: flex;
    flex-direction: column;
    gap: 20px; /* 间距可以根据需要调整 */
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* 选项容器的样式 */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* 选择框组的样式 */
.option-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* 选择框的样式 */
.option-group select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

/* 标签的样式 */
.option-group label {
    font-weight: bold;
}
.option-label    {
    text-align: center;
    display: block;
}
/* 停止按钮样式 */
.stop-button {
    background-color: #e9b53c; /* 红色背景 */
    color: #ffffff; /* 白色文字 */
    border: none;
    border-radius: 5px; /* 圆角 */
    padding: 10px 20px; /* 内边距 */
    font-size: 16px; /* 字体大小 */
    cursor: pointer; /* 鼠标指针样式 */
    transition: background-color 0.3s, transform 0.2s; /* 过渡效果 */
}

.stop-button:hover {
    background-color: #c3952b; /* 悬停时加深红色 */
    transform: scale(1.05); /* 悬停时放大 */
}

.stop-button:active {
    transform: scale(0.95); /* 点击时缩小 */
}
