/**
 * Pricing Tables Filter Styles
 */

/* Filter Container */
.wp-pricing-tables-filtered {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 24px;  /* Reduce top spacing to tighten filter/results transition. */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.pricing-filters {
    margin-bottom: 16px;  /* Reduce space below the filter section. */
    padding: 25px;  /* Increase inner padding for more breathing room. */
    background: #f9fafc;  /* Slightly brighten filter panel background. */
    border-radius: 12px;  /* Increase corner rounding. */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);  /* Soften and expand the container shadow. */
}

.pricing-filters h3 {
    margin: 0 0 18px 0;  /* Add extra margin below heading. */
    font-size: 20px;  /* Increase heading size. */
    color: #2c3e50;  /* Darken the heading color for contrast. */
    font-weight: 600;
    text-align: center;
}

/* Plan Filter - Updated Style for Connected Buttons */
.plan-filter-container {
    margin-bottom: 22px;
}

.plan-filter {
    display: inline-flex;
    flex-wrap: wrap;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    width: auto;
    max-width: 100%;
    border: none;
    margin: 0 auto;
    background: linear-gradient(to right, #f8f9fa, #f1f3f5);
    justify-content: center;
    gap: 10px;
    padding: 0;
}

.plan-button {
    padding: 12px 20px;
    background-color: transparent;
    border: none;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    font-size: 18px;  /* Reduce font size to a comfortable reading scale. */
    font-weight: 400;  /* Use a normal font weight. */
    color: #445566;
    cursor: pointer;
    transition: all 0.25s ease;
    margin: 0;
    min-width: 140px;
    text-align: center;
    box-shadow: inset 0 0 0 transparent;
}

.plan-button:first-child {
    border-radius: 30px 0 0 30px;
}

.plan-button:last-child {
    border-radius: 0 30px 30px 0;
    border-right: none;
}

.plan-button:hover {
    background-color: rgba(74, 144, 226, 0.08);
    color: #4a90e2;
    transform: translateY(-2px);  /* Lift buttons slightly on hover. */
    box-shadow: 0 6px 12px -2px rgba(74, 144, 226, 0.25);  /* Add a stronger hover shadow. */
}

.plan-button.active {
    background: linear-gradient(135deg, #4a90e2, #5a6bed);
    color: #fff;
    box-shadow: 0 6px 15px rgba(74, 144, 226, 0.4);
    font-weight: 700;
    transform: translateY(-2px);
    letter-spacing: 0.3px;  /* Slightly widen letters for readability. */
}

.plan-button::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 0;
    height: 3px;
    background-color: #4a90e2;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.plan-button:hover::before {
    width: 70%;
    transform: translateX(-50%) scaleX(1);
}

.plan-button.active::before {
    display: none;
}

/* Location Filter - Updated Style for Connected Buttons */
.location-filter-container {
    margin-bottom: 22px;
}



.plan-filter-container,
.location-filter-container {
    text-align: center;
}

.location-button {
    padding: 10px 15px;  
    background-color: transparent;
    border: none;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    font-size: 15px;  
    font-weight: 600;
    color: #445566; 
    cursor: pointer;
    transition: all 0.25s ease;
    margin: 0;
    min-width: 80px;  /* Increase minimum button width. */
    text-align: center;
	
}



.location-button:last-child {
    border-radius: 0 30px 30px 0;
    border-right: none;
}

.location-button:hover {
    background-color: rgba(46, 204, 113, 0.08);
    color: #2ecc71;
    transform: translateY(-1px);
}

.location-button.active {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #fff;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
    font-weight: 700;
    transform: translateY(-1px);
}

.location-button::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 0;
    height: 3px;
    background-color: #2ecc71;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.location-button:hover::before {
    width: 70%;
    transform: translateX(-50%) scaleX(1);
}

.location-button.active::before {
    display: none;
}

/* Reset Button */
.reset-filter-container {
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

.reset-filters-button {
    padding: 8px 16px;
    background-color: #e74c3c;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-filters-button:hover {
    background-color: #c0392b;
}

/* Loading Spinner */
.pricing-tables-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Container */
.pricing-tables-results {
    margin-top: 0;
}

.pricing-tables-results.wp-pricing-tables-container {
    padding-top: 10px;
}

@media (max-width: 767px) {
    .wp-pricing-tables-filtered {
        padding: 30px 0;
    }

    .pricing-filters {
        margin-bottom: 20px;
    }

    .pricing-tables-results.wp-pricing-tables-container {
        padding-top: 16px;
    }
}

/* No Results Message */
.pricing-tables-no-results {
    text-align: center;
    padding: 30px;
    color: #777;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 16px;
}

/* RTL Compatibility */
.rtl .wp-pricing-tables-filtered .plan-filter,
.rtl .wp-pricing-tables-filtered .location-filter {
    flex-direction: row-reverse;
}

.rtl .wp-pricing-tables-filtered .reset-filter-container {
    text-align: left;
}

/* Improve RTL rendering behavior. */
.rtl .pricing-filters h3,
.rtl .pricing-tables-no-results p {
    text-align: right;
    direction: rtl;
}

.rtl .plan-button,
.rtl .location-button {
    direction: rtl;
    text-align: right;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

.rtl .pricing-tables-filtered {
    direction: rtl;
}

/* Ensure all text remains right-aligned in RTL mode. */
html[dir="rtl"] .wp-pricing-tables-filtered,
html[dir="rtl"] .pricing-filters,
html[dir="rtl"] .pricing-filters h3,
html[dir="rtl"] .plan-filter-container,
html[dir="rtl"] .location-filter-container,
html[dir="rtl"] .pricing-tables-no-results {
    direction: rtl;
    text-align: right;
}

/* RTL Compatibility - Enhanced */
.rtl .wp-pricing-tables-filtered,
.rtl .pricing-filters,
.rtl .plan-filter-container,
.rtl .location-filter-container,
.rtl .pricing-tables-results,
.rtl .pricing-tables-no-results,
html[dir="rtl"] .wp-pricing-tables-filtered,
html[dir="rtl"] .pricing-filters,
html[dir="rtl"] .plan-filter-container,
html[dir="rtl"] .location-filter-container,
html[dir="rtl"] .pricing-tables-results,
html[dir="rtl"] .pricing-tables-no-results {
    direction: rtl !important;
    text-align: right !important;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
}

/* Keep Buy Now buttons centered across all pricing tables. */
.pricing-tables-results .pricing-footer,
.pricing-tables-filtered .pricing-footer {
    text-align: center !important;
    padding: 25px 20px;
}

/* Ensure Buy Now buttons stay centered while RTL is active. */
.rtl .pricing-tables-results .pricing-footer,
.rtl .pricing-tables-filtered .pricing-footer,
html[dir="rtl"] .pricing-tables-results .pricing-footer,
html[dir="rtl"] .pricing-tables-filtered .pricing-footer {
    text-align: center !important;
}

/* Normalize button styling in filter mode for consistency. */
.pricing-tables-results .pricing-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent-color, #3498db);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
    border: 2px solid var(--accent-color, #3498db);
    margin: 0 auto;
}

.rtl .plan-filter,
.rtl .location-filter,
html[dir="rtl"] .plan-filter,
html[dir="rtl"] .location-filter {
    flex-direction: row-reverse !important;
}

.rtl .reset-filter-container,
html[dir="rtl"] .reset-filter-container {
    text-align: left !important;
}

.rtl .plan-button,
.rtl .location-button,
.rtl .reset-filters-button,
.rtl .pricing-filters h3,
.rtl .pricing-tables-no-results p,
html[dir="rtl"] .plan-button,
html[dir="rtl"] .location-button,
html[dir="rtl"] .reset-filters-button,
html[dir="rtl"] .pricing-filters h3,
html[dir="rtl"] .pricing-tables-no-results p {
    direction: rtl !important;
    text-align: right !important;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
}

/* Improve filter alignment and spacing under RTL. */
body.rtl .wp-pricing-tables-filtered .pricing-filters,
html[dir="rtl"] .wp-pricing-tables-filtered .pricing-filters {
    text-align: right !important;
}

/* Apply complete table-level RTL presentation adjustments. */
.rtl .wp-pricing-tables-filtered .pricing-tables-results .wp-pricing-tables-container,
html[dir="rtl"] .wp-pricing-tables-filtered .pricing-tables-results .wp-pricing-tables-container {
    direction: rtl !important;
}

/* Refine RTL styles for adjacent action buttons. */
.rtl .plan-button,
html[dir="rtl"] .plan-button {
    border-right: none;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.rtl .plan-button:first-child,
html[dir="rtl"] .plan-button:first-child {
    border-radius: 0 30px 30px 0;
}

.rtl .plan-button:last-child,
html[dir="rtl"] .plan-button:last-child {
    border-radius: 30px 0 0 30px;
    border-left: none;
}

.rtl .plan-button::before,
.rtl .location-button::before,
html[dir="rtl"] .plan-button::before,
html[dir="rtl"] .location-button::before {
    right: 50%;
    left: auto;
    transform: translateX(50%) scaleX(0);
}

.rtl .plan-button:hover::before,
.rtl .location-button:hover::before,
html[dir="rtl"] .plan-button:hover::before,
html[dir="rtl"] .location-button:hover::before {
    transform: translateX(50%) scaleX(1);
}

.rtl .location-button,
html[dir="rtl"] .location-button {
    border-right: none;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.rtl .location-button:first-child,
html[dir="rtl"] .location-button:first-child {
    border-radius: 0 30px 30px 0;
}

.rtl .location-button:last-child,
html[dir="rtl"] .location-button:last-child {
    border-radius: 30px 0 0 30px;
    border-left: none;
}

/* Lock text alignment in RTL view. */
.rtl .plan-button,
.rtl .location-button,
html[dir="rtl"] .plan-button,
html[dir="rtl"] .location-button {
    text-align: center !important;
}

/* Mobile-specific sizing for continuous action buttons. */
@media (max-width: 768px) {
    .plan-filter, .location-filter {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 10px;
        width: 100%;
        border-radius: 12px;
        background: transparent;
        box-shadow: none;
    }
    
    /* Mobile plan buttons use a two-column grid layout. */
    .plan-filter {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Force equal-width columns. */
        gap: 10px;
    }
    
    .plan-button, .location-button {
        width: 100%;
        text-align: center;
        border: 1px solid #e0e0e0;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        margin: 0;
    }
    
    .plan-button {
        padding: 12px 5px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .plan-button .filter-icon {
        margin: 0 0 8px 0;
        font-size: 1.6em;
        width: auto;
    }
    
    .plan-button .filter-text {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 14px;
    }
    

    
    .plan-button:first-child,
    .plan-button:last-child,
    .location-button:first-child,
    .location-button:last-child {
        border-radius: 10px !important;
    }
    
    /* Allow locations to scroll horizontally in tight layouts. */
    .location-filter-container {
        margin-bottom: 20px;
        width: 100%;
        overflow-x: auto;
    }
    
    .location-filter {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
		
    }
    
    .location-button {
        flex: 0 0 auto;
        min-width: 80px;
    }
    
    /* RTL mobile-specific refinements. */
    .rtl .plan-button:first-child,
    .rtl .plan-button:last-child,
    .rtl .location-button:first-child,
    .rtl .location-button:last-child,
    html[dir="rtl"] .plan-button:first-child,
    html[dir="rtl"] .plan-button:last-child,
    html[dir="rtl"] .location-button:first-child,
    html[dir="rtl"] .location-button:last-child {
        border-radius: 10px !important;
    }
    
    /* RTL icon alignment adjustments for mobile. */
    .rtl .plan-button .filter-icon,
    html[dir="rtl"] .plan-button .filter-icon {
        margin: 0 0 8px 0;
    }
    
    /* General compact-screen compatibility tweaks. */
    @media (max-width: 350px) {
        .plan-filter {
            grid-template-columns: 1fr; /* Collapse to a single column on tiny screens. */
        }
    }
}



/* Local CSS fallback for filter icons. */
.filter-icon .fab, 
.filter-icon .fas, 
.filter-icon .far, 
.filter-icon .fa {
    font-family: inherit !important;
    font-style: normal !important;
    font-weight: 900 !important;
    text-align: center !important;
    display: inline-block !important;
    width: 100% !important;
}

.filter-icon .fab::before,
.filter-icon .fas::before,
.filter-icon .far::before,
.filter-icon .fa::before {
    content: "•";
}

.filter-text {
    display: inline-block;
    vertical-align: middle;
}

.plan-button:hover .filter-icon,
.location-button:hover .filter-icon {
    opacity: 1;
    transform: scale(1.3);  /* Enlarge icons slightly on hover. */
    color: #4a90e2;  /* Highlight icon color on hover. */
}

.plan-button.active .filter-icon,
.location-button.active .filter-icon {
    opacity: 1;
    margin-right: 14px;  /* Increase gap between icon and text when active. */
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.7);  /* Add a glow effect in active state. */
    transform: scale(1.2);  /* Slightly enlarge active icons. */
}

/* RTL icon adjustments. */
.rtl .filter-icon,
html[dir="rtl"] .filter-icon {
    margin-right: 0;
    margin-left: 10px;
}

.rtl .plan-button.active .filter-icon,
.rtl .location-button.active .filter-icon,
html[dir="rtl"] .plan-button.active .filter-icon,
html[dir="rtl"] .location-button.active .filter-icon {
    margin-right: 0;
    margin-left: 12px;
}

/* Location-based pricing tables styles */
.wp-pricing-tables-filters {
    margin-bottom: 30px;
    text-align: center;
}

.plan-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 0 auto 30px;
    max-width: 800px;
}

.plan-filter-button {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 16px;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.plan-filter-button:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.plan-filter-button.active {
    background: linear-gradient(135deg, #4a90e2, #5a6bed);
    color: #fff;
    border-color: transparent;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

/* Fix for the plan section layout */
.wp-pricing-plan-section {
    display: none; /* Hide all plan sections by default */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wp-pricing-plan-section.active {
    display: block !important;
    opacity: 1;
    animation: fadeIn 0.5s ease-in-out;
}

.wp-pricing-plan-section.hidden {
    display: none !important;
    opacity: 0;
}

/* Hide the default "No pricing tables found" message on load */
.pricing-empty-state {
    display: none;
}

.wp-pricing-plan-section.active .pricing-empty-state {
    display: block;
}

/* Add animation for tab switching */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wp-pricing-plan-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: #2c3e50;
}

.wp-pricing-location-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

/* Fix for pricing table wrapper width issues */
.pricing-tables-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.pricing-table-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    margin: 0;
}

.pricing-table {
    flex-basis: calc(25% - 15px);
    margin: 0 0 20px;
    min-width: 250px;
    box-sizing: border-box;
}

/* Responsive layout */
@media (max-width: 991px) {
    .pricing-table {
        flex-basis: calc(50% - 15px);
    }
}

@media (max-width: 767px) {
    .pricing-table {
        flex-basis: 100%;
    }
    
    .plan-filter-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .plan-filter-button {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        margin-bottom: 8px;
    }
}

/* RTL Compatibility */
.rtl .wp-pricing-tables-filtered .plan-filter,
.rtl .wp-pricing-tables-filtered .location-filter {
    flex-direction: row-reverse;
}

.rtl .wp-pricing-tables-filtered .reset-filter-container {
    text-align: left;
}

/* Additional RTL compatibility updates. */
.rtl .pricing-filters h3,
.rtl .pricing-tables-no-results p {
    text-align: right;
    direction: rtl;
}

.rtl .plan-button,
.rtl .location-button {
    direction: rtl;
    text-align: right;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

.rtl .pricing-tables-filtered {
    direction: rtl;
}

/* Ensure all textual elements align right-to-left. */
html[dir="rtl"] .wp-pricing-tables-filtered,
html[dir="rtl"] .pricing-filters,
html[dir="rtl"] .pricing-filters h3,
html[dir="rtl"] .plan-filter-container,
html[dir="rtl"] .location-filter-container,
html[dir="rtl"] .pricing-tables-no-results {
    direction: rtl;
    text-align: right;
}

/* Set icon appearance in filter buttons. */
.filter-icon {
    display: inline-block;
    margin-right: 12px;  /* Increase spacing between icon and label. */
    font-size: 1.2em;  /* Increase icon size. */
    opacity: 0.8;  /* Increase icon clarity. */
    transition: all 0.3s ease;
    width: 24px;  /* Expand icon container width. */
    text-align: center;
    position: relative;
    top: 1px;
}

/* RTL-specific icon styling. */
.rtl .filter-icon,
html[dir="rtl"] .filter-icon {
    margin-right: 0;
    margin-left: 10px;
}

.rtl .plan-filter-buttons,
html[dir="rtl"] .plan-filter-buttons {
    flex-direction: row-reverse;
}

.rtl .plan-filter-button,
html[dir="rtl"] .plan-filter-button {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

/* Location-based pricing tables styles */
.wp-pricing-tables-filters {
    margin-bottom: 30px;
    text-align: center;
}

.location-filter-container {
    margin-bottom: 30px;
}

.location-filter-container h3 {
    margin: 0 0 18px 0;
    font-size: 20px;
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
}

.location-filter {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    max-width: 100%;
    overflow-x: visible;
    overflow-y: hidden;
    border-radius: 30px;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    border: none;
    background: linear-gradient(to right, #f8f9fa, #f1f3f5);

	scrollbar-width: thin; /* Firefox compact scrollbar. */
	direction: inherit;
}

/* Optional scrollbar styling for supported browsers. */
.location-filter::-webkit-scrollbar {
    height: 6px;
}
.location-filter::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.location-filter::-webkit-scrollbar-track {
    background: transparent;
}



.location-button:first-child {
    border-radius: 30px 0 0 30px;
}

.location-button:last-child {
    border-radius: 0 30px 30px 0;
    border-right: none;
}

.location-button:hover {
    background-color: rgba(46, 204, 113, 0.08);
    color: #2ecc71;
    transform: translateY(-1px);
}

.location-button.active {
    background: linear-gradient(135deg, #4a90e2, #5a6bed);
    color: #fff;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
    font-weight: 700;
    transform: translateY(-1px);
}

.plan-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 0 auto 30px;
    max-width: 800px;
}

/* RTL support for location buttons */
.rtl .location-filter,
html[dir="rtl"] .location-filter {
    flex-direction: row-reverse;
}

.rtl .location-button,
html[dir="rtl"] .location-button {
    border-right: none;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

.rtl .location-button:first-child,
html[dir="rtl"] .location-button:first-child {
    border-radius: 0 30px 30px 0;
}

.rtl .location-button:last-child,
html[dir="rtl"] .location-button:last-child {
    border-radius: 30px 0 0 30px;
    border-left: none;
}

/* Location section display */
.wp-pricing-location-section {
    animation: fadeIn 0.5s ease-in-out;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.wp-pricing-location-section.hidden {
    display: none !important;
}

/* Add animation for tab switching */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile style adjustments */
@media (max-width: 767px) {
    .location-filter {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        border-radius: 12px;
        background: transparent;
        box-shadow: none;
    }
    
    .location-button {
        width: calc(50% - 5px);
        text-align: center;
        border: 1px solid #e0e0e0;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        margin: 0 0 10px 0;
    }
    
    .location-button:first-child,
    .location-button:last-child {
        border-radius: 10px !important;
    }
    
    .rtl .location-button:first-child,
    .rtl .location-button:last-child,
    html[dir="rtl"] .location-button:first-child,
    html[dir="rtl"] .location-button:last-child {
        border-radius: 10px !important;
    }
}
