/* ===== Report Wrapper ===== */

.ceef-report-wrapper {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

    .ceef-report-wrapper h2 {
        margin: 0 0 20px;
        color: #0d6efd;
        font-size: 28px;
    }


/* ===== Filters ===== */

.ceef-filter-form {
    margin-bottom: 25px;
}

.ceef-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 15px;
}

    .ceef-filter-grid input,
    .ceef-filter-grid select {
        width: 100%;
        height: 42px;
        padding: 0 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff;
        box-sizing: border-box;
    }

        .ceef-filter-grid input:focus,
        .ceef-filter-grid select:focus {
            outline: none;
            border-color: #0d6efd;
            box-shadow: 0 0 0 3px rgba(13,110,253,.15);
        }

/* ===== Buttons ===== */

.ceef-button-bar {
    /* display:flex; */
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.ceef-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    /*  color:#fff !important; */
    text-decoration: none !important;
    cursor: pointer;
    font-weight: 600;
    transition: .2s;
}

    .ceef-btn:hover {
        opacity: .9;
        transform: translateY(-1px);
    }

.ceef-primary {
    background: #0d6efd;
}

.ceef-secondary {
    background: #6c757d;
}

.ceef-success {
    background: #198754;
}

/* ===== Table ===== */

.ceef-table-responsive {
    overflow-x: auto;
    margin-top: 20px;
}

.ceef-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    background: #fff;
}

    .ceef-table th {
        background: #0d6efd !important;
        color: #fff;
        padding: 12px;
        text-align: left;
        white-space: nowrap;
    }

    .ceef-table td {
        padding: 12px;
        border-bottom: 1px solid #eee;
        vertical-align: middle;
    }

    .ceef-table tbody tr:nth-child(even) {
        background: #fafafa;
    }

    .ceef-table tbody tr:hover {
        background: #eef6ff;
    }

/* ===== Status ===== */

.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.paid {
    background: #198754;
}

.failed {
    background: #dc3545;
}

/* ===== Pagination ===== */

.ceef-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 25px 0;
}

    .ceef-pagination .page-btn {
        padding: 8px 14px;
        border: 1px solid #ddd;
        border-radius: 5px;
        background: #fff;
        color: #333 !important;
        text-decoration: none !important;
        font-weight: 600;
        min-width: 40px;
        text-align: center;
    }

        .ceef-pagination .page-btn:hover {
            background: #0d6efd;
            color: #fff !important;
        }

    .ceef-pagination .active {
        background: #0d6efd;
        color: #fff !important;
        border-color: #0d6efd;
    }

/* ===== Mobile ===== */

@media (max-width:768px) {

    .ceef-report-wrapper {
        padding: 15px;
    }

    .ceef-button-bar {
        display: flex;
        flex-direction: row; /* Keep buttons in one row */
        flex-wrap: wrap;
        gap: 8px;
    }

        .ceef-button-bar .ceef-btn {
            width: auto !important;
            padding: 6px 10px;
            font-size: 12px;
        }

    .ceef-table th,
    .ceef-table td {
        padding: 10px;
        font-size: 13px;
    }
}
/* ===== Buttons ===== */

.ceef-button-bar {
    /* display:flex; */
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

    .ceef-button-bar .ceef-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
        border: none;
        border-radius: 4px;
        /* color:#fff !important; */
        text-decoration: none !important;
        white-space: nowrap;
        width: auto !important;
        min-width: 90px;
        cursor: pointer;
    }

.ceef-primary {
    background: #0d6efd;
}

.ceef-secondary {
    background: #6c757d;
}

.ceef-success {
    background: #198754;
}
