/**
 * Pricing Tables Filter Styles
 */

/* Filter Container */
.wp-pricing-tables-filtered {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;  /* افزایش فاصله بالا و پایین */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.pricing-filters {
    margin-bottom: 50px;  /* افزایش فاصله زیر بخش فیلترها */
    padding: 25px;  /* افزایش پدینگ داخلی */
    background: #f9fafc;  /* تغییر رنگ پس‌زمینه به رنگ روشن‌تر و مدرن‌تر */
    border-radius: 12px;  /* افزایش گردی گوشه‌ها */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);  /* سایه بزرگ‌تر و لطیف‌تر */
}

.pricing-filters h3 {
    margin: 0 0 18px 0;  /* افزایش فاصله زیر عنوان */
    font-size: 20px;  /* افزایش اندازه عنوان */
    color: #2c3e50;  /* تغییر رنگ عنوان به تیره‌تر */
    font-weight: 600;
}

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

.plan-filter {
    display: flex;
    flex-wrap: nowrap;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    width: fit-content;
    border: none;
    background: linear-gradient(to right, #f8f9fa, #f1f3f5);
}

.plan-button {
    padding: 20px 30px;  /* افزایش قابل توجه پدینگ برای نمایش بزرگتر */
    background-color: transparent;
    border: none;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    font-size: 18px;  /* افزایش اندازه فونت به 20px */
    font-weight: 400;  /* کاهش وزن فونت به حالت معمولی */
    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);  /* جابجایی بیشتر به بالا در حالت هاور */
    box-shadow: 0 6px 12px -2px rgba(74, 144, 226, 0.25);  /* اضافه کردن سایه بیشتر */
}

.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;  /* افزایش فاصله بین حروف برای خوانایی بهتر */
}

.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: 30px;
}



.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;  /* افزایش حداقل عرض */
    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: 10px;
    text-align: right;
}

.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: 20px;
}

/* 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;
}

/* بهبود پشتیبانی RTL */
.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;
}

/* اطمینان از راست چین شدن همه عناصر متنی در حالت RTL */
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;
}

/* تضمین وسط‌چین شدن دکمه‌های Buy Now در تمام جداول قیمت */
.pricing-tables-results .pricing-footer,
.pricing-tables-filtered .pricing-footer {
    text-align: center !important;
    padding: 25px 20px;
}

/* اطمینان از وسط‌چین بودن دکمه‌های Buy Now در حالت RTL */
.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;
}

/* تنظیم استایل دکمه در حالت فیلتر شده برای یکنواختی بیشتر */
.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;
}

/* اصلاح چپ‌چین بودن و بهبود نمایش فیلترها در RTL */
body.rtl .wp-pricing-tables-filtered .pricing-filters,
html[dir="rtl"] .wp-pricing-tables-filtered .pricing-filters {
    text-align: right !important;
}

/* در حالت RTL ویژگی‌های ظاهری جدول را کاملاً اعمال کنید */
.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;
}

/* اصلاح استایل RTL برای دکمه‌های پیوسته */
.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;
}

/* فیکس کردن تراز متن در حالت RTL */
.rtl .plan-button,
.rtl .location-button,
html[dir="rtl"] .plan-button,
html[dir="rtl"] .location-button {
    text-align: center !important;
}

/* تنظیم استایل موبایل برای دکمه‌های پیوسته */
@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;
    }
    
    /* تنظیمات برای دکمه‌های پلن در حالت موبایل - گرید دو ستونی */
    .plan-filter {
        display: grid;
        grid-template-columns: 1fr 1fr; /* دو ستون با عرض یکسان */
        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;
    }
    
    /* نمایش لوکیشن‌ها به صورت افقی اسکرول */
    .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 */
    .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 برای آیکن‌ها در حالت موبایل */
    .rtl .plan-button .filter-icon,
    html[dir="rtl"] .plan-button .filter-icon {
        margin: 0 0 8px 0;
    }
    
    /* سازگاری با صفحات کوچکتر */
    @media (max-width: 350px) {
        .plan-filter {
            grid-template-columns: 1fr; /* یک ستون برای صفحات خیلی کوچک */
        }
    }
}



/* اصلاح مشکل نمایش آیکن‌ها در Font Awesome - اولویت بالا */
.filter-icon .fab, 
.filter-icon .fas, 
.filter-icon .far, 
.filter-icon .fa {
    font-weight: 900 !important;
    text-align: center !important;
    display: inline-block !important;
    width: 100% !important;
}

/* کلاس‌های اختصاصی برای آیکن‌های برند */
.filter-icon .fab.fa-windows, 
.filter-icon .fab.fa-linux, 
.filter-icon .fab.fa-wordpress {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* کلاس‌های اختصاصی برای آیکن‌های عادی */
.filter-icon .fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

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

.plan-button:hover .filter-icon,
.location-button:hover .filter-icon {
    opacity: 1;
    transform: scale(1.3);  /* افزایش مقیاس آیکن در حالت هاور */
    color: #4a90e2;  /* تغییر رنگ آیکن در حالت هاور */
}

.plan-button.active .filter-icon,
.location-button.active .filter-icon {
    opacity: 1;
    margin-right: 14px;  /* افزایش فاصله بین آیکن و متن در حالت فعال */
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.7);  /* افزایش سایه متنی برای درخشش بیشتر */
    transform: scale(1.2);  /* مقیاس‌بندی آیکن در حالت فعال */
}

/* استایل‌های RTL برای آیکن‌ها */
.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;
}

/* بهبود پشتیبانی RTL */
.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;
}

/* اطمینان از راست چین شدن همه عناصر متنی در حالت RTL */
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;
}

/* استایل آیکن‌ها در دکمه‌های فیلتر */
.filter-icon {
    display: inline-block;
    margin-right: 12px;  /* افزایش فاصله بین آیکن و متن */
    font-size: 1.2em;  /* افزایش اندازه آیکن */
    opacity: 0.8;  /* افزایش وضوح آیکن‌ها */
    transition: all 0.3s ease;
    width: 24px;  /* افزایش عرض کانتینر آیکن */
    text-align: center;
    position: relative;
    top: 1px;
}

/* استایل‌های RTL برای آیکن‌ها */
.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: flex;
    flex-wrap: nowrap;
	overflow-x: auto;
    overflow-y: hidden;
    border-radius: 30px;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    border: none;
    background: linear-gradient(to right, #f8f9fa, #f1f3f5);
    margin: 0 auto; /* مرکز قرار دادن دکمه‌ها */
 scrollbar-width: thin; /* برای فایرفاکس */
	direction:ltr;
}

/* اسکرول مخفی یا زیبا برای مرورگرها */
.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;
    }
}
