.generator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px #c9c9c9 solid;
}
.generator-container h1 {
    text-align: center;
    margin-bottom: 20px;
}
.bingo-card-generator {
    max-width: 1200px;
    margin: 0 auto;
}

.bcg-controls {
    background: #f8f8f8;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.bcg-control-group {
    flex: 1 1 300px;
    display: flex;
    align-items: center;
}

.bcg-control-group label {
    min-width: 140px;
    font-weight: 600;
    margin-right: 10px;
    color: #333;
}
.bcg-control-group input, .bcg-control-group select {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.bcg-control-group input[type="color"] {
    padding: 0;
    border: none;
    background: none;
    width: 50px;
    height: 40px;
    cursor: pointer;
}

.bcg-control-group input[type="color"]:hover {
    filter: brightness(1.1);
}
.card-btn {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center;     /* 垂直居中（可选） */
    gap: 10px;               /* 按钮间距 */
    margin-top: 20px;
}
.bcg-pages-container {
    margin-top: 20px;
}

.bcg-page {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    page-break-after: always;
}

.bcg-pages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.bcg-card {
    width: 250px;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    page-break-inside: avoid;
    background-color: #ffffff !important;
    color: #000000 !important;
}

.bcg-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.bcg-card-header h2 {
    margin: 0;
    font-size: 24px;
    color: inherit !important;
}

.bcg-logo {
    height: 40px;
    width: auto;
}

.bcg-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.bcg-card th {
    font-weight: 800;
    font-size: 20px;
    padding: 5px;
    text-align: center;
    color: inherit !important;
}

.bcg-card td {
    border: 1px solid;
    width: 20%;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    color: inherit !important;
}

.bcg-free {
    font-style: italic;
}

.bcg-empty {
    background-color: #f9f9f9 !important;
}

.bcg-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: 12px;
}

.bcg-qrcode {
    height: 40px;
    width: auto;
}

.button {
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

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

.button.blank {
    background-color: #2196F3;
}

.button.blank:hover {
    background-color: #0b7dda;
}

.bcg-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.bcg-page-btn {
    padding: 8px 12px;
    margin: 0 5px;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    cursor: pointer;
}

.bcg-page-btn.active {
    background-color: #4CAF50;
    color: white;
}

@media print {
    * {
        box-shadow: none !important;
    }
    body {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        background: white !important;
    }
    body * {
        visibility: hidden;
    }
    .bcg-pages-container, .bcg-pages-container * {
        visibility: visible;
    }
    .bcg-pages-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }
    .bcg-controls, .bcg-pagination {
        display: none;
    }
    .bcg-card {
        box-shadow: none !important;
        background-color: inherit !important;
        color: inherit !important;
        page-break-inside: avoid;
        break-inside: avoid;
    }
    .bcg-card td, .bcg-card th {
        color: inherit !important;
    }
    .bcg-page {
        page-break-after: always;
        margin: 0 !important;
        padding: 10px !important;
    }
}
.bcg-load-more-container{
    align-items: center;
}
.load {
    margin: 0 auto;
    margin-top: 20px;
}