.gps-guide-bookings-container {
    margin: 0px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.gps-guide-filter-main-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}
@media (min-width: 767px) {
    .gps-guide-filter-field-group {
        display: flex;
        gap: 15px;
    }

}
@media (max-width: 766px) {
    .gps-guide-bookings-container {
        padding: 0px 8px;
    }
    .gps-guide-filter-main-row { 
        flex-direction: column; 
        gap: 0px;
        align-items: stretch; 
    }    
    .gps-guide-filter-field-group {
        display: flex;
        gap: 15px;
    }
    .gps-guide-bookings-filter-form .filter-field,
    .gps-guide-bookings-filter-form .filter-actions {
        width: calc( (100% - 15px)/2);
    }
    .gps-guide-date-picker,
    .gps-guide-date-picker__container {
        width: 100% !important;
    }       
}
.gps-guide-bookings-filter-form {
    background: #fff;
    padding: 0px 0px;
    margin-bottom: 15px;
    position: relative; /* Для возможного позиционирования панели */
}
.gps-guide-bookings-filter-form .filter-field,
.gps-guide-bookings-filter-form .filter-actions {
    display: flex;
    flex-direction: column;
}
.gps-guide-bookings-filter-form .filter-field label,
.gps-guide-bookings-filter-form .filter-actions label  {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0px 0 0px;
}
.gps-guide-button-toggle-more,
.gps-guide-button-reset {
    text-transform: none !important; 
    height: 40px;
}
.gps-guide-button-toggle-more .arrow-icon {
    font-size: 10px;
    transition: transform 0.2s ease;
    display: inline-block
}
.gps-guide-button-toggle-more.active .arrow-icon {
    transform: rotate(180deg);
}
.gps-guide-date-picker__container{
    display: inline-block;
    position: relative;
    padding: 0 !important;
    width: 9em;    
}
.gps-guide-date-picker__container:after {
    content: "";
    font-family: "yith-icon";
    position: absolute;
    top: 50%;
    right: 10px;
    font-size: 18px;
    color: #989898;
    transform: translateY(-50%);
    pointer-events: none;
}
.gps-guide-date-picker {
    border: 1px solid #000 !important;
    border-radius: 4px !important;
    padding: 8px 10px !important;
    height: 40px;
    min-width: 90px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    color: #475569;
    min-height: 40px;
}
.gps-guide-date-picker:hover {
    box-shadow: 0 0 0 1px #6b3c6a !important;
}
.gps-guide-bookings-filter-form .button-submit {
    padding: 0 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    height: 38px;
}
.gps-guide-bookings-filter-form .button-submit:hover {
/*    background: #005177;*/
}
.gps-guide-bookings-filter-form .button-reset {

}

.gps-guide-filter-extra-panel {
    margin-top: 8px;
    padding: 12px 8px 16px;
    border: 1px solid #dee2e6;
    animation: fadeIn 0.2s ease;
    border-radius: 4px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
}
.gps-guide-filter-extra-panel .panel-title {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #495057;
}
.gps-guide-checkbox-grid {
    display: flex;
    gap: 15px 25px;
    flex-wrap: wrap;
}
.checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}
@media (max-width: 766px) {
    .gps-guide-checkbox-grid { 
        gap: 15px; 
    }
    .checkbox-item {
        width: calc((100% - 15px) / 2);
    }
}
.checkbox-item input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Анимация появления панели */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.gps-guide-bookings-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}
.gps-guide-bookings-table { 
    width: 100%; 
    border-collapse: collapse; 
    text-align: left; 
}
.gps-guide-bookings-table tr { 
    border-bottom: 1px solid #dee2e6; 
}
.gps-guide-bookings-table th, 
.gps-guide-bookings-table td { 
    padding: 12px 10px; 
    font-size: 15px; 
    background-color: #fff !important;
}
.gps-guide-table-header { 
    background: #fff;    
}

@media (min-width: 767px) {
    .gps-guide-table-cell-label{
         display: none;   
    }
}
@media (max-width: 766px) {
    .gps-guide-table-header { 
        display: none;    
    }
    .gps-guide-bookings-table { 
        margin-top: 4px;
    }
    .gps-guide-table-row{
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
        border: 1px solid #dee2e6;
        border-radius: 4px;
        box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.12), 0 1px 10px 0 rgba(0, 0, 0, 0.12) !important;
    }
    .gps-guide-table-cell{
        margin: 0px 4px;    
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
    .gps-guide-table-cell__last{
        margin: 0px 4px; 
        border: none;   
    }
    .gps-guide-table-cell-label{
        
    }
}
.gps-guide-table-header th { 
    font-weight: 500;
    color: #000;
    background-color: #fff !important;
    text-align: center;
}
.gps-guide-bookings-table a{
    color: #000; 
    font-weight: 500;
}
.gps-guide-bookings-table a:hover{
    text-decoration: underline;
}
.booking-status-badge { 
    display: block; 
    padding: 4px 10px; 
    font-size: 12px; 
    font-weight: bold; 
    border-radius: 12px; 
    text-transform: uppercase;
    text-align: center;
    color: #fff; 
}
.bookings-pagination { 
    margin: 20px 0; 
    text-align: center; 
}
.bookings-pagination .page-numbers { 
    display: inline-block; 
    padding: 8px 14px; 
    margin: 0 4px; 
    background: #f8f9fa; 
    border: 1px solid #dee2e6; 
    color: #0073aa; 
    text-decoration: none; 
    border-radius: 4px; 
}
@media (max-width: 766px) and (min-width: 361px) {
    .bookings-pagination .page-numbers { 
    }
}
@media (max-width: 360px) {
    .bookings-pagination .page-numbers { 
        margin: 4px 4px;
        padding: 4px 12px;
    }    
}
.bookings-pagination .page-numbers.current { 
    border-color: #0073aa; 
}
.bookings-pagination .page-numbers:hover:not(.current) { 
    background: #e9ecef; 
}

.no-bookings-found, .yith-bookings-error { 
    padding: 15px; 
    background: #fff3cd; 
    color: #856404; 
    border: 1px solid #ffeeba; 
    border-radius: 4px; 
}
.gps-guide-ajax-response-container {
    position: relative;
    min-height: 200px;
}
.gps-guide-bookings-loader {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 10px array(0,0,0,0.1);
}
.gps-guide-bookings-inside-content {
    transition: opacity 0.2s ease;
}
.gps_empty_reservation_content {
    margin-top: 52px;    
}
