/* app/static/style.css */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0056b3;
}

h2 {
    color: #0056b3;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form textarea, form input[type="text"] {
    width: calc(100% - 22px); /* Adjust for padding/border */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: monospace; /* Good for sequences */
}

form button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

form button:hover {
    background-color: #0056b3;
}

pre {
    background-color: #e9e9e9;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto; /* Handle long sequences */
    white-space: pre-wrap; /* Wrap lines */
    word-wrap: break-word;
}

.error {
    color: red;
    font-weight: bold;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

ul li a {
    text-decoration: none;
    color: #007BFF;
    font-size: 1.1em;
}

ul li a:hover {
    text-decoration: underline;
}

li {
    margin: 10px 0;
}

a {
    text-decoration: none;
    color: #007BFF;
}

a:hover {
    text-decoration: underline;
}

/* 导航链接 */
.nav-link {
    color: #3498db;
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
}

/* 表单元素 */
input, select, textarea {
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button, .btn {
    padding: 8px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover, .btn:hover {
    background-color: #2980b9;
}

/* 返回主页按钮 */
.home-button {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #3498db;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    z-index: 1000;
}

.home-button:hover {
    background-color: #2980b9;
}