/* -----------------------------------------------------------------------------
 * Shortcode Styles for Promobile Search & filter plus Mobile phones lists Antutu, PUBG FPS 
 * -------------------------------------------------------------------------- */

/* == Filter Form == */
.pm-filter-form {
    background: #fff;
    border: 1px #eee solid;
    padding: 14px;
    margin: 10px 10px 60px 10px;
    border-radius: 10px;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 500;
}

.pm-filter-field {
    margin-bottom: 10px;
}

.pm-filter-input {
    width: 100%;
    box-sizing: border-box;
}

.pm-filter-button {
    padding: 12px 20px;
    margin: 20px 0px 20px 0px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
}
.pm-filter-button:hover {
    background: #d50000;
}

/* == Search Results == */
.pm-results-container {
   background: #eee;
}

.pm-result-link {
    text-decoration: none;
    color: inherit;
    display: block;
    border-bottom: 1px solid #ddd;
}

.pm-result-item {
    background: #ffffff;
    width: 100%;
    overflow: hidden;
    padding: 14px;
    font-family: Roboto;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.pm-result-image {
    flex-shrink: 0;
    margin-right: 15px;
    max-width: 135px;
}

.promobile-thumbnail {
    display: block;
    max-width: 100%;
    height: auto;
}

.pm-result-info {
    flex-grow: 1;
}

.pm-search-title {
    font-weight: 600;
    font-family: Abel, Roboto;
    font-size: 16px;
}

.pm-sr-titles {
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.pm-sr-values {
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.pm-price-text .pm-sr-values {
    color: #16a34a;
    font-family: 'Roboto', sans-serif;
}
.pm-sr-notfound-msg {
    font-family: Abel, Roboto;
    font-size: 17px;
    font-weight: 600;
    padding: 0px 5px 5px 10px;
}

/*pagination style*/
.pm-pagination-links {
    /* Centers the entire pagination block on the page */
    display: flex;
    justify-content: end;
    margin: 30px 0;
    padding: 5px;
    background: #eee;
}

.pm-pagination-links ul.page-numbers {
    /* Inherits display: flex to align buttons horizontally */
    display: flex;
    list-style: none; /* Remove bullet points */
    margin: 0;
    padding: 0;
    gap: 8px; /* Space between pagination buttons */
}

.pm-pagination-links li {
    /* Ensure no extra margins or padding from the list item */
    margin: 0;
    padding: 0;
}

.pm-pagination-links .page-numbers {
    /* Apply button styles to links (a) and the current page (span) */
    display: block;
    min-width: 38px; /* Ensures numbers are centered */
    padding: 8px 12px;
    
    /* Requested Typography */
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    
    /* Requested Background and appearance */
    background-color: #d50000;
    text-align: center;
    text-decoration: none;
    border-radius: 0px; /* Smooth, modern look */
    transition: background-color 0.2s, box-shadow 0.2s;
}

/* Style for the current active page button */
.pm-pagination-links .page-numbers.current {
    background-color: #a00000; /* Darker shade for active state */
    font-weight: 700;
    cursor: default;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Hover/Focus effect for clickable links */
.pm-pagination-links a.page-numbers:hover,
.pm-pagination-links a.page-numbers:focus {
    background-color: #ff3333; /* Lighter shade on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

/* Ensure previous/next buttons have enough room for text, compact on mobile by default */
.pm-pagination-links .prev,
.pm-pagination-links .next {
    min-width: 60px; /* Reduced default width for small screens */
    padding: 8px 8px; /* Reduced padding for compactness */
    text-transform: capitalize;
}

/* Restore the wider min-width for larger screens (tablets and desktops) */
@media (min-width: 768px) {
    .pm-pagination-links .prev,
    .pm-pagination-links .next {
        min-width: 100px;
        padding: 8px 12px;
    }
}


/*SEARCH AND FILTER CSS ENDS HERE*/
