/* RTL Styles for TAV Customer Discount Codes Public */

/* تنظیمات RTL */
.tav-discount-codes-container {
    direction: inherit;
    text-align: inherit;
}

.tav-discount-codes-container h2,
.tav-discount-codes-container h3,
.tav-discount-codes-container p {
    text-align: inherit;
}

.tav-discount-codes-table th,
.tav-discount-codes-table td {
    text-align: inherit;
}

.tav-code-display .button {
    margin-left: 0;
    margin-right: 5px;
}

.tav-discount-restriction {
    border-left: 4px solid #2271b1;
    border-right: 0;
}

.tav-error-message {
    border-left: 4px solid #dc3232;
    border-right: 0;
}

.tav-limit-reached-message {
    border-left: 4px solid #f0ad4e;
    border-right: 0;
}

.tav-discount-codes-container h2:before,
.tav-discount-codes-container h3:before,
.tav-discount-restriction:before,
.tav-create-discount-code .button:before,
.tav-code-display .button:before,
.tav-expiry-date:before,
.tav-user-restriction:before,
.tav-no-codes:before,
.tav-limit-reached-message p:before {
    margin-left: 0;
    margin-right: 8px;
}

/* تنظیمات فونت */
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir.eot');
    src: url('../fonts/Vazir.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazir.woff2') format('woff2'),
         url('../fonts/Vazir.woff') format('woff'),
         url('../fonts/Vazir.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.tav-discount-codes-container,
.tav-discount-codes-container input,
.tav-discount-codes-container textarea,
.tav-discount-codes-container select,
.tav-discount-codes-container button {
    font-family: 'Vazir', Tahoma, Arial, sans-serif !important;
} 