.tav-mq-rules {
    margin: 1em 0;
    padding: 1em;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tav-mq-rules p {
    margin: 0.5em 0;
    color: #666;
    font-size: 0.9em;
}

.tav-mq-rules .min-qty {
    color: #e2401c;
}

.tav-mq-rules .max-qty {
    color: #1e85be;
}

.tav-mq-rules .step-qty {
    color: #794f25;
}

/* Quantity input styling */
.quantity input.qty {
    width: 4em;
    padding: 0.5em;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.quantity input.qty:focus {
    outline: none;
    border-color: #1e85be;
}

/* Error message styling */
.woocommerce-error li {
    padding: 1em;
    margin-bottom: 0.5em;
    background: inherit;
    border-radius: 4px;
}

/* Quantity buttons styling */
.quantity .plus,
.quantity .minus {
    padding: 0.5em 1em;
    background: #f8f8f8;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity .plus:hover,
.quantity .minus:hover {
    background: #eee;
}

.quantity .plus:disabled,
.quantity .minus:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Tier table styling - Modernized */
.tav-mq-tier-table {
    margin: 1.5em 0; /* Increased vertical margin */
    background: #ffffff; /* White background */
    border: 1px solid #e0e0e0; /* Lighter border */
    border-radius: 8px; /* Slightly larger radius */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Subtle shadow */
    padding: 0; /* Remove padding from container */
    overflow: hidden; /* Ensure border-radius clips content */
}

.tav-mq-tier-table h4 {
    margin: 0; /* Remove default margin */
    padding: 1em 1.5em; /* Add padding */
    color: #333; /* Darker heading color */
    background-color: #f9f9f9; /* Light background for header row */
    border-bottom: 1px solid #e0e0e0; /* Separator */
    font-size: 1.1em;
    text-align: right; /* Align heading right for RTL */
}

.tav-mq-tier-table table {
    width: 100%;
    border-collapse: collapse; /* Keep collapsed borders */
    border-spacing: 0;
}

.tav-mq-tier-table th,
.tav-mq-tier-table td {
    padding: 1em 1.5em; /* Increased padding */
    border: none; /* Remove individual cell borders */
    border-bottom: 1px solid #eee; /* Use bottom borders for separation */
    text-align: right; /* Default align right for RTL */
    vertical-align: middle; /* Align content vertically */
}

/* Example for aligning specific columns if needed: */
/* .tav-mq-tier-table td:nth-child(2) { text-align: center; } */

.tav-mq-tier-table th {
    background: #f5f5f5; /* Slightly darker header background */
    font-weight: 600; /* Bold header text */
    color: #444; /* Darker header text color */
    border-bottom-width: 2px; /* Thicker bottom border for header */
    border-bottom-color: #ddd;
}

/* Remove bottom border from last row */
.tav-mq-tier-table tr:last-child td {
    border-bottom: none;
}

/* Add subtle hover effect to rows (optional) */
.tav-mq-tier-table tbody tr:hover td {
    background-color: #fafafa; /* Lighter hover */
}

.tav-mq-tier-message {
    margin: 1em 0;
    padding: 1em;
    background: #f7f6f7;
    border-left: 3px solid #1e85be;
    color: #1e85be;
    font-weight: bold;
}

/* Weight info styling */
.tav-mq-weight-info {
    margin: 1em 0;
    padding: 1em;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tav-mq-weight-info p {
    margin: 0 0 1em;
    color: #666;
}

.tav-mq-weight-progress {
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.tav-mq-weight-bar {
    height: 100%;
    background: #1e85be;
    transition: width 0.3s ease;
}

.tav-mq-weight-bar[style*="width: 8"] {
    background: #e2401c;
}

.tav-mq-weight-bar[style*="width: 9"] {
    background: #e2401c;
}

.tav-mq-weight-bar[style*="width: 100"] {
    background: #e2401c;
}

.quantity-rules {
    margin: 10px 0;
    padding: 10px;
    background-color: #f7f7f7;
    border-radius: 4px;
}

.quantity-rules p {
    margin: 5px 0;
    color: #666;
    font-size: 0.9em;
}

.quantity-rules .min-quantity {
    color: #e2401c;
}

.quantity-rules .max-quantity {
    color: #1e85be;
}

.quantity-rules .step-quantity {
    color: #777;
}

/* RTL Support */
.rtl .quantity-rules {
    text-align: right;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .quantity-rules {
        margin: 5px 0;
        padding: 8px;
    }
    
    .quantity-rules p {
        font-size: 0.85em;
    }
}

/* Shipping zone validation styles */
.tav-mq-validation-messages {
    margin: 1em 0;
    padding: 1em;
    border: 1px dashed #ddd;
    background-color: #f9f9f9;
}

/* وقتی خطا وجود دارد، استایل محفظه را تغییر می‌دهیم */
.tav-mq-validation-messages.has-errors {
    border: 2px solid #f5c6cb !important;
    background-color: #f8d7da !important;
    padding: 1.5em !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.1) !important;
}

.tav-mq-zone-restrictions {
    margin-bottom: 1.5em;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    background-color: #f9f9f9;
}

.tav-mq-zone-header {
    background-color: #f0f8ff;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.tav-mq-zone-header h4 {
    margin: 0 !important;
    font-size: 16px !important;
    color: #2c3e50 !important;
    display: flex;
    align-items: center;
}

.tav-mq-zone-content {
    padding: 12px 15px;
}

.tav-mq-zone-group {
    margin-bottom: 12px;
}

.tav-mq-zone-group:last-child {
    margin-bottom: 0;
}

.tav-mq-zone-group-title {
    font-weight: bold;
    margin-bottom: 8px;
    color: #555;
    display: flex;
    align-items: center;
}

.tav-mq-zone-group-content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-right: 25px;
}

.tav-mq-zone-item {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.tav-mq-min-qty, .tav-mq-min-amount {
    border-right: 3px solid #4caf50;
}

.tav-mq-max-qty, .tav-mq-max-amount {
    border-right: 3px solid #f44336;
}

.tav-mq-label {
    color: #777;
    margin-left: 5px;
    font-size: 13px;
}

.tav-mq-value {
    font-weight: bold;
    color: #333;
}

.tav-mq-zone-icon {
    margin-left: 8px;
    font-size: 16px;
}

/* RTL specific styles */
.rtl .tav-mq-zone-group-content {
    padding-right: 0;
    padding-left: 25px;
}

.rtl .tav-mq-min-qty, .rtl .tav-mq-min-amount {
    border-right: none;
    border-left: 3px solid #4caf50;
}

.rtl .tav-mq-max-qty, .rtl .tav-mq-max-amount {
    border-right: none;
    border-left: 3px solid #f44336;
}

.rtl .tav-mq-label {
    margin-left: 0;
    margin-right: 5px;
}

.rtl .tav-mq-zone-icon {
    margin-left: 0;
    margin-right: 8px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .tav-mq-zone-group-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .tav-mq-zone-item {
        width: 100%;
    }
}

.tav-mq-zone-errors {
    margin-top: 1em !important;
    padding: 1em !important;
    background-color: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
    color: #721c24 !important;
    border-radius: 4px !important;
    box-shadow: 0 0 5px rgba(0,0,0,0.1) !important;
}

.tav-mq-emoji {
    margin-right: 5px;
}

/* Place an alert icon beside error messages */
.tav-mq-zone-errors li:before {
    content: "⚠️";
    margin-right: 5px;
    font-size: 16px;
}

/* Disabled place order button */
#place_order.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    background-color: #f8f8f8 !important;
    color: #999 !important;
    border: 1px solid #ddd !important;
    pointer-events: none !important;
}

.tav-mq-checkout-warning {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border: 1px solid #f5c6cb !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px !important;
    margin: 15px 0 !important;
    text-align: center !important;
}

.tav-mq-checkout-warning:before {
    content: "⛔";
    margin-right: 8px;
    font-size: 18px;
}

/* اضافه کردن پیام مسدود کننده روی فرم */
form.checkout.has-geo-restriction-error:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 10;
    display: block;
}

/* استایل نمایش خطا در وودمارت */
.woocommerce-checkout .tav-mq-zone-errors {
    font-size: 14px !important;
    font-weight: bold !important;
}

/* استایل‌های جدول قیمت‌گذاری پلکانی در فرانت‌اند */
.tiered-pricing-table {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin: 15px 0 25px;
    padding: 0;
    direction: rtl;
}

.tiered-pricing-table > div {
    width: 100% !important;
}

.tiered-pricing-table .tav-pricing-table {
    width: 100% !important;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    display: table;
    direction: rtl;
}

.tiered-pricing-table table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 0 !important;
    table-layout: fixed !important;
    direction: rtl;
}

.tiered-pricing-table table th,
.tiered-pricing-table table td {
    padding: 12px 15px !important;
    text-align: center !important;
    border-bottom: 1px solid #e0e0e0 !important;
    width: 33.33% !important;
    display: table-cell !important;
}

.tiered-pricing-table h3 {
    margin-bottom: 15px;
    font-size: 1.3em;
    color: #444;
    text-align: center;
}

/* اصلاح نهایی برای جدول قیمت‌گذاری پلکانی - تنظیم کامل عرض */
.woocommerce-product-attributes,
.woocommerce div.product form.cart table,
.woocommerce table.shop_attributes {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: fixed !important;
    margin: 0 0 20px 0 !important;
}

.woocommerce-product-attributes thead,
.woocommerce div.product form.cart table thead,
.woocommerce table.shop_attributes thead {
    width: 100% !important;
    display: table-header-group !important;
}

.woocommerce-product-attributes tbody,
.woocommerce div.product form.cart table tbody,
.woocommerce table.shop_attributes tbody {
    width: 100% !important;
    display: table-row-group !important;
}

.woocommerce-product-attributes tr,
.woocommerce div.product form.cart table tr,
.woocommerce table.shop_attributes tr {
    width: 100% !important;
    display: table-row !important;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td,
.woocommerce div.product form.cart table th,
.woocommerce div.product form.cart table td,
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    display: table-cell !important;
    width: 33.33% !important;
    padding: 12px 10px !important;
    border: none !important;
    border-bottom: 1px solid #eaeaea !important;
    vertical-align: middle !important;
    line-height: 1.5 !important;
}

.woocommerce-product-attributes thead th,
.woocommerce div.product form.cart table thead th,
.woocommerce table.shop_attributes thead th {
    background-color: #f8f8f8 !important;
    font-weight: 600 !important;
    color: #333 !important;
    border-bottom: 2px solid #e0e0e0 !important;
}

/* تراز متن برای هر ستون */
.woocommerce-product-attributes th:first-child,
.woocommerce-product-attributes td:first-child,
.woocommerce div.product form.cart table th:first-child,
.woocommerce div.product form.cart table td:first-child,
.woocommerce table.shop_attributes th:first-child,
.woocommerce table.shop_attributes td:first-child {
    text-align: right !important;
}

.woocommerce-product-attributes th:nth-child(2),
.woocommerce-product-attributes td:nth-child(2),
.woocommerce div.product form.cart table th:nth-child(2),
.woocommerce div.product form.cart table td:nth-child(2),
.woocommerce table.shop_attributes th:nth-child(2),
.woocommerce table.shop_attributes td:nth-child(2) {
    text-align: center !important;
}

.woocommerce-product-attributes th:last-child,
.woocommerce-product-attributes td:last-child,
.woocommerce div.product form.cart table th:last-child,
.woocommerce div.product form.cart table td:last-child,
.woocommerce table.shop_attributes th:last-child,
.woocommerce table.shop_attributes td:last-child {
    text-align: left !important;
    color: #28a745 !important;
    font-weight: bold !important;
}

/* اصلاح برای سطرهای متناوب */
.woocommerce-product-attributes tbody tr:nth-child(even),
.woocommerce div.product form.cart table tbody tr:nth-child(even),
.woocommerce table.shop_attributes tbody tr:nth-child(even) {
    background-color: #f9f9f9 !important;
}

.woocommerce-product-attributes tbody tr:last-child td,
.woocommerce div.product form.cart table tbody tr:last-child td,
.woocommerce table.shop_attributes tbody tr:last-child td {
    border-bottom: none !important;
}

/* پاسخگویی برای موبایل */
@media screen and (max-width: 767px) {
    .woocommerce-product-attributes th,
    .woocommerce-product-attributes td,
    .woocommerce div.product form.cart table th,
    .woocommerce div.product form.cart table td,
    .woocommerce table.shop_attributes th,
    .woocommerce table.shop_attributes td {
        padding: 10px 5px !important;
        font-size: 0.9em !important;
    }
}

/* Original tiered pricing table styles */
.tiered-pricing-table table.variations {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.tiered-pricing-table table.variations th,
.tiered-pricing-table table.variations td {
    padding: 12px 15px !important;
    text-align: center !important;
    border-bottom: 1px solid #e0e0e0 !important;
    vertical-align: middle !important;
    width: 33.33% !important;
    display: table-cell !important;
}

.tiered-pricing-table table.variations th {
    background-color: #f8f9fa !important;
    font-weight: 600 !important;
    color: #555 !important;
    border-bottom-width: 2px !important;
    border-bottom-color: #d0d0d0 !important;
}

.tiered-pricing-table table.variations td {
    background-color: transparent;
}

.tiered-pricing-table table.variations tbody tr:nth-child(even) td {
    background-color: #fafafa !important;
}

.tiered-pricing-table table.variations tbody tr:last-child td {
    border-bottom: none !important;
}

.tiered-pricing-table table.variations td:last-child {
    font-weight: bold !important;
    color: #28a745 !important;
}

/* RTL Support for tiered pricing table */
.rtl .tiered-pricing-table table.variations th,
.rtl .tiered-pricing-table table.variations td {
    text-align: center !important; /* Keep text aligned center for both LTR and RTL */
}

/* Responsive styles for tiered pricing table */
@media screen and (max-width: 767px) {
    .tiered-pricing-table table.variations {
        border: none;
        box-shadow: none;
    }
    
    .tiered-pricing-table table.variations, 
    .tiered-pricing-table table.variations thead, 
    .tiered-pricing-table table.variations tbody, 
    .tiered-pricing-table table.variations th, 
    .tiered-pricing-table table.variations td, 
    .tiered-pricing-table table.variations tr {
        display: block;
    }
    
    .tiered-pricing-table table.variations thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .tiered-pricing-table table.variations tr {
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .tiered-pricing-table table.variations td {
        position: relative;
        padding: 10px 10px 10px 50%;
        text-align: right !important;
        min-height: 30px;
    }
    
    .tiered-pricing-table table.variations td:before {
        position: absolute;
        top: 10px;
        right: auto;
        left: 6px;
        width: 45%;
        padding-left: 10px;
        white-space: nowrap;
        font-weight: bold;
        content: attr(data-title);
    }
    
    .rtl .tiered-pricing-table table.variations td {
        text-align: left !important;
        padding: 10px 50% 10px 10px;
    }
    
    .rtl .tiered-pricing-table table.variations td:before {
        right: 6px;
        left: auto;
        padding-right: 10px;
        padding-left: 0;
    }
}

/* استایل‌های پیام‌های تخفیف پلکانی */
.woocommerce-message.tiered-pricing-messages {
    background-color: #e9f5ff; /* Light blue background */
    border-right: 4px solid #007bff; /* Blue border */
    color: #0056b3; /* Darker blue text */
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tiered-pricing-messages ul {
    list-style: none !important; /* Remove default list style */
    padding: 0 !important;
    margin: 0 !important;
}

.tiered-pricing-messages li {
    margin-bottom: 10px !important; /* Use important if necessary */
    padding-right: 25px !important; /* Space for icon */
    position: relative;
    font-size: 0.95em;
    line-height: 1.6;
}

.tiered-pricing-messages li:last-child {
    margin-bottom: 0 !important;
}

/* Add a small icon before each message */
.tiered-pricing-messages li::before {
    content: "\f02b"; /* Corrected FontAwesome unicode escape */
    font-family: 'Font Awesome 5 Free', 'FontAwesome'; /* Add fallback font-family just in case */
    font-weight: 900;
    color: #007bff;
    position: absolute;
    right: 0;
    top: 4px; /* Adjust vertical alignment */
    font-size: 1em;
}

.tiered-pricing-messages li strong {
    color: #004085; /* Slightly darker blue for emphasis */
}

.tiered-pricing-messages li .woocommerce-Price-amount {
    color: #155724; /* Dark green for the final price */
    font-weight: bold;
}

/* Fix specifically for the product page tiered pricing table shown in screenshot */
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-price,
.woocommerce div.product form.cart .variations_button,
.woocommerce div.product div.summary table {
    width: 100%;
}

.woocommerce div.product div.summary table tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ebebeb;
    padding: 10px 0;
}

.woocommerce div.product div.summary table tr:last-child {
    border-bottom: none;
}

.woocommerce div.product div.summary table tr td,
.woocommerce div.product div.summary table tr th {
    width: auto !important;
    text-align: center !important;
    padding: 5px 10px !important;
    border: none !important;
    background: transparent !important;
    display: flex;
    align-items: center;
}

.woocommerce div.product div.summary table tr td:first-child,
.woocommerce div.product div.summary table tr th:first-child {
    justify-content: flex-start;
    flex: 1;
    text-align: right !important;
}

.woocommerce div.product div.summary table tr td:last-child,
.woocommerce div.product div.summary table tr th:last-child {
    justify-content: flex-end;
    flex: 1;
    text-align: left !important;
    color: #28a745;
    font-weight: bold;
}

/* For middle column */
.woocommerce div.product div.summary table tr td:nth-child(2),
.woocommerce div.product div.summary table tr th:nth-child(2) {
    justify-content: center;
    flex: 1;
}

/* RTL specific adjustments */
.rtl.woocommerce div.product div.summary table tr td:first-child,
.rtl.woocommerce div.product div.summary table tr th:first-child {
    justify-content: center;
    text-align: center !important;
}

.rtl.woocommerce div.product div.summary table tr td:last-child,
.rtl.woocommerce div.product div.summary table tr th:last-child {
    justify-content: flex-start;
    text-align: left !important;
}

/* For the specific pricing table shown in screenshot */
.product-pricing-table {
    width: 100%;
    margin: 10px 0;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    overflow: hidden;
}

.product-pricing-table tr {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e5e5e5;
}

.product-pricing-table tr:last-child {
    border-bottom: none;
}

.product-pricing-table th,
.product-pricing-table td {
    padding: 10px;
    flex: 1;
    text-align: center;
}

/* Fix for the table in the screenshot */
table.shop_attributes {
    border-top: 1px solid #e1e1e1 !important;
    margin-bottom: 20px !important;
}

table.shop_attributes tr {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #e1e1e1 !important;
}

table.shop_attributes th,
table.shop_attributes td {
    width: auto !important;
    border: none !important;
    margin: 0 !important;
    padding: 10px 15px !important;
}

table.shop_attributes th {
    width: 40% !important;
    text-align: right !important;
    font-weight: 600 !important;
    background: transparent !important;
}

table.shop_attributes td {
    width: 60% !important;
    text-align: left !important;
    font-style: normal !important;
    padding-left: 15px !important;
}

table.shop_attributes td p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Custom styling for the pricing table */
.tav-pricing-table {
    width: 100%;
    margin: 15px 0 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    display: table;
}

.tav-pricing-table table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 0;
    table-layout: fixed;
}

.tav-pricing-table th,
.tav-pricing-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    width: 33.33% !important;
    display: table-cell;
}

.tav-pricing-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid #d0d0d0;
}

.tav-pricing-table tr:nth-child(even) td {
    background-color: #fafafa;
}

.tav-pricing-table tr:last-child td {
    border-bottom: none;
}

.tav-pricing-table td:last-child {
    font-weight: bold;
    color: #28a745;
}

/* RTL support */
.rtl .tav-pricing-table th,
.rtl .tav-pricing-table td {
    text-align: center;
}

/* Responsive styles */
@media screen and (max-width: 767px) {
    .tav-pricing-table th,
    .tav-pricing-table td {
        padding: 10px 5px;
        font-size: 0.9em;
    }
}

/* Tiered Pricing Discount Badge */
.tav-mq-max-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff5722;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    z-index: 9;
    transition: all 0.3s ease;
}

/* RTL support */
.rtl .tav-mq-max-discount-badge {
    right: auto;
    left: 10px;
}

/* Hover effect */
.tav-mq-max-discount-badge:hover {
    background-color: #f4511e;
    transform: scale(1.05);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .tav-mq-max-discount-badge {
        font-size: 11px;
        padding: 4px 8px;
    }
} 