/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    /*border: 2px solid #007BFF;*/
}

/* 导航栏样式 */
nav {
    background-color: #333;
    color: white;
    padding: 10px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* 页面主体内容区域样式 */
section {
    padding: 20px;
    margin: 20px;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

h1,
h2 {
    text-align: center;
}

p {
    margin-bottom: 20px;
}

/* 表单样式 */
form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

input[type="submit"] {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 15px;
}

/* 测试区域特定样式 */
textarea#code-input {
    width: 100%;
    resize: vertical;
}

button#test-button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 10px;
}

/* 底部导航栏样式 */
footer {
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

footer nav ul li {
    margin: 0 15px;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
}

/* ICP备案信息样式 */
.icp-info {
    color: white;
    text-align: center;
    margin: 0;
    padding: 5px 0;
    font-size: 12px;
    background-color: #333;
}

/* 鼠标悬停在导航栏链接上的样式 */
nav ul li a:hover {
    text-decoration: underline;
}

/* 表单输入框获得焦点时的样式 */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #007BFF;
    outline: none;
}

/* 测试按钮点击时的样式 */
button#test-button:active {
    background-color: #0056b3;
}


body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
}

a {
    text-decoration: none;
}
