/* ==========================================================================
   鑫瀛盛视觉 (xys-led.cn clone) - Main Atomic CSS
   LED Display Company Website
   ========================================================================== */

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
    /* font-size: 16px;
    line-height: 1.6; */
    /* background: #0A0E1A; */
    /* color: #FFFFFF; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   2. Pagination
   ========================================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination li {
    display: inline-flex;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
    user-select: none;
}

.pagination a {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
}

.pagination a:hover {
    border-color: #0052D9;
    color: #0052D9;
    z-index: 1;
}

.pagination .active span {
    background: #0052D9;
    border: 1px solid #0052D9;
    color: #fff;
    font-weight: 500;
}

.pagination .disabled span {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

/* 第x页/共x页 */
.pagination li:first-child span {
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 13px;
    min-width: auto;
    padding: 0 4px;
}

/* 跳转表单 */
.pagination .jumpto {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pagination .jumpto a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: transparent;
    padding: 0;
}

.pagination .jumpto .page_number {
    width: 52px;
    height: 36px;
    padding: 0 8px;
    font-size: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    outline: none;
    text-align: center;
    transition: border-color 0.2s ease;
    background: #fff;
    color: #374151;
    box-sizing: border-box;
}

.pagination .jumpto .page_number:focus {
    border-color: #0052D9;
}

.pagination .jumpto input[type="submit"] {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    border: 1px solid #0052D9;
    border-radius: 6px;
    background: #0052D9;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pagination .jumpto input[type="submit"]:hover {
    background: #0040A8;
}