/* 通用样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f7f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    margin: 0;
}

.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
}

h1, h2 {
    color: #1a237e;
    text-align: center;
    margin-bottom: 20px;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

thead tr {
    background-color: #e8eaf6;
    color: #333;
}

tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* 按钮样式 */
button {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

button:hover {
    transform: translateY(-2px);
}

.copy-btn {
    background-color: #4CAF50;
    color: white;
}

.copy-btn:hover {
    background-color: #45a049;
}

.delete-btn {
    background-color: #f44336;
    color: white;
}

.delete-btn:hover {
    background-color: #d32f2f;
}

.jump-btn {
    background-color: #2196F3;
    color: white;
}

.jump-btn:hover {
    background-color: #1976D2;
}

/* 表单样式 */
input[type="text"], textarea {
    width: calc(100% - 22px);
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

/* 布局调整 */
.container > div {
    margin-bottom: 30px;
}

h2 {
    border-left: 5px solid #1a237e;
    padding-left: 10px;
    display: inline-block;
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    th, td {
        padding: 8px 10px;
    }
}