.pagination-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.pagination-nav button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-nav button:hover:not(:disabled) {
    background-color: #45a049;
}

.pagination-nav button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}


body {
    -webkit-user-select: none;  /* Chrome, Safari */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* IE/Edge */
    user-select: none;          /* Standard */
}


.container {
    max-width: 1200px;  /* You can change this to 960px, 1140px, etc. */
    margin: 0 auto;
    padding: 0 10px;    /* Some side padding for mobile */
}
    
    
    /* Fix logo overflow and layout stretching */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Avoid watermark causing overflow */
.excel-table td::after {
    content: "";
    background-image: url('logo-watermark.png'); /* <-- Update to your real image path */
    background-repeat: no-repeat;
    background-size: 80px;
    opacity: 0.07;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    overflow: hidden; /* Important */
    z-index: 0;
}

.excel-table td {
    overflow: hidden;
    position: relative;
    z-index: 1;
}
    
    
    /* ===== Header Style ===== */
    .site-header {
        background-image: url('header-bg.jpg'); /* ✅ replace with your image path */
        background-size: cover;
        background-position: center;
        padding: 40px 20px;
        text-align: center;
        border-bottom: 1px solid #ddd;
        color: white;
    }


    .site-header .page-title a {
        text-decoration: none;
        color: #ffffff;
        font-size: 60px;
        font-weight: bold;
    }

    .header-buttons {
        margin-top: 10px;
    }

    .header-buttons button {
        margin: 0 8px;
        padding: 10px 20px;
        border: none;
        background-color: #007bff;
        color: white;
        cursor: pointer;
        border-radius: 5px;
    }

    .header-buttons button:hover {
        background-color: #0056b3;
    }

    .header-description {
        margin-top: 10px;
        color: #ffffff;
        font-size: 14px;
    }

    /* ===== Footer Style ===== */
    .footer {
        background-color: #6598d6;
        padding: 15px;
        text-align: center;
        font-size: 14px;
        color: #000000;
        margin-top: 40px;
        border-top: 1px solid #ddd;
        font-weight: bold;
    }

    /* ===== Vocabulary Table Style ===== */
    /* Prevent double scrollbars */
        html, body {
        overflow-x: hidden; /* Removes horizontal scroll */
        margin: 0;
        padding: 0;
    }

        .wrapper {
        overflow: visible; /* or hidden */
        max-height: none;
    }
    
    
    .table-container {
        overflow-x: auto; /* only horizontal scroll when needed */
    }

    table.excel-table {
        width: 100%;
        border-collapse: collapse;
        background: #fff;
        position: relative;
    }

    .excel-table th, .excel-table td {
        border: 1px solid #ccc;
        padding: 10px;
        text-align: center;
        position: relative;
    }

    .excel-table th {
        background-color: #f1f1f1;
        font-weight: bold;
    }

    /* Watermark Logo in Each Table Cell */
    .excel-table td::after {
        content: "";
        background-image: url('logo-watermark.png'); /* <-- Change to your logo path */
        background-repeat: no-repeat;
        background-size: 80px;
        opacity: 0.07;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100px;
        height: 100px;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

    /* ===== Mobile Responsive ===== */
    @media (max-width: 768px) {
        .header-buttons button {
            padding: 8px 14px;
            margin: 5px;
            font-size: 14px;
        }

        .site-header .page-title a {
            font-size: 30px;
        }

        .header-description {
            font-size: 14px;
            color: #ffffff;
            font-weight: bold;
        }

        table.excel-table th, table.excel-table td {
            font-size: 13px;
            padding: 6px;
        }

        .footer {
            font-size: 13px;
        }
    }