/* -----------------------------
   Filters Section
----------------------------- */
.gf-entries-filters {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f2f2f2;
}

.gf-entries-filters label {
    font-weight: bold;
    margin-right: 10px;
    color: #021333;
}

.gf-entries-filters .gf-date-range label {
    margin-right: 0;
    width: 100%;
    max-width: 93px;
    text-align: right;
}

.gf-entries-filters .gf-date-range input {
    width: 100%;
    max-width: 207px;
}

.gf-entries-filters select {
    width: 100%;
    max-width: 477px;
}

#gf-form-select {
    padding-left: 10px;
    padding-right: 5px;
}

.gf-date-range {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

#gf-download-csv {
    background: #0c5697;
    color: #fff;
    padding: 10px 33px;
    font-size: 18px;
    font-family: Montserrat, sans-serif;
    border: none;
    border-bottom: 6px solid #0c5697;
    cursor: pointer;
    box-shadow: none;
    transition: border-color 0.3s ease;
}

#gf-download-csv:hover {
    border-bottom-color: #46c3d2;
}

.gf-results-summary {
    margin-bottom: 20px;
}

/* -----------------------------
   Table Styles
----------------------------- */
.gf-entries-table-wrapper-scroll {
    overflow-x: auto;
    width: 100%;
}

.gf-entries-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gf-entries-table th,
.gf-entries-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
    font-size: 14px;
}

.gf-entries-table th {
    background-color: #0c5697;
    color: #fff;
    font-weight: bold;
}

.gf-entries-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.gf-entries-table tbody tr:hover {
    background-color: #e0f7fa;
    cursor: pointer;
}

/* -----------------------------
   Pagination
----------------------------- */
.gf-pagination {
    margin-top: 20px;
    text-align: center;
}

.gf-page-btn {
    margin: 0 5px;
    padding: 8px 15px;
    font-size: 14px;
    color: #0c5697;
    background-color: #fff;
    border: 1px solid #0c5697;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gf-ellipsis {
    color: #0c5697;
}

.gf-page-btn.active {
    background-color: #0c5697;
    color: #fff;
}

.gf-page-btn:hover:not(.active) {
    background-color: #021333;
    color: #fff;
}

/* -----------------------------
   Reset Link
----------------------------- */
.gf-reset-link {
    margin-left: 15px;
    cursor: pointer;
    text-decoration: underline;
    color: #0c5697;
}

.gf-reset-link:hover {
    color: #021333;
}

/* -----------------------------
   Datepicker Styles
----------------------------- */
#ui-datepicker-div {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999 !important;
}

.ui-datepicker-header {
    background: #0c5697;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 10px;
    cursor: pointer;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    color: #e0f7fa;
}

.ui-datepicker-prev {
    order: 0;
}

.ui-datepicker-next {
    order: 2;
}

.ui-datepicker-title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    order: 1;
}

.ui-datepicker th {
    color: #021333;
    font-weight: bold;
    padding: 8px;
}

.ui-datepicker td a {
    color: #0c5697;
    padding: 8px 10px;
    display: block;
    text-decoration: none;
    margin: 2px 0;
    transition: all 0.2s ease;
}

.ui-datepicker td a:hover {
    background: #021333;
    color: #fff;
}

.ui-datepicker .ui-state-active {
    background:  #0c5697 !important;
    color: #fff !important;
}

.ui-datepicker .ui-state-highlight {
    background: #0c5697;
    color: #fff;
}
