
/* 页面基础样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    line-height: 1.6;
}

/* 主标题样式 */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #00BFFF;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    text-shadow: 0 4px 6px rgba(0, 191, 255, 0.3);
}

/* 段落与文字样式 */
p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
    padding: 0 10px;
}

/* 分屏布局容器 */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 左右分屏样式 */
.left-panel, .right-panel {
    width: 48%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .left-panel, .right-panel {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* 图片装饰样式 */
img.decor {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 10px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 按钮悬停发光效果 */
button {
    background-color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    border-radius: 5px;
}

button:hover {
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.8);
}

/* 加载动画样式 */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #00BFFF;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 代码块样式 */
pre {
    background: #282c34;
    color: #abb2bf;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
    margin: 10px 0;
}

code {
    font-family: 'Consolas', monospace;
    color: #61dafb;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #00BFFF;
    color: #fff;
    font-weight: bold;
}

/* 提示文字样式 */
.notice {
    text-align: center;
    font-size: 1rem;
    color: #888;
    margin-top: 20px;
}

/* 响应式适配 */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 0.9rem;
    }

    pre {
        font-size: 0.8rem;
    }
}

