/* ═══════════════════════════════════════════════════
   RTL Styles - Arabic Version
   ═══════════════════════════════════════════════════ */

body {
    direction: rtl;
    text-align: right;
}

/* Force RTL for all text inputs */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
textarea {
    direction: rtl;
    text-align: right;
}

/* Card RTL */
.card {
    text-align: right;
}

.card-title {
    text-align: right;
}

/* Breadcrumb RTL */
.breadcrumb {
    direction: rtl;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    padding-right: 0;
    content: "\203A";
}

/* Table RTL */
.table {
    text-align: right;
}

.table thead th {
    text-align: right;
}

/* List groups */
.list-group {
    text-align: right;
}

/* Alerts */
.alert {
    text-align: right;
}

/* Pagination RTL */
.pagination {
    direction: rtl;
}

/* Modal RTL */
.modal-header {
    text-align: right;
}

.modal-body {
    text-align: right;
}

.modal-footer {
    justify-content: flex-start;
}

/* Forms RTL */
.form-label {
    text-align: right;
    display: block;
}

.form-check {
    padding-right: 1.5em;
    padding-left: 0;
}

.form-check-input {
    float: right;
    margin-right: -1.5em;
    margin-left: 0;
}

/* Custom select arrows */
.form-select {
    background-position: left 0.75rem center;
    padding-left: 2.25rem;
    padding-right: 0.75rem;
}

/* Newsletter form RTL fix */
.newsletter-section .form-control {
    border-radius: 0 8px 8px 0;
}

.newsletter-section .btn {
    border-radius: 8px 0 0 8px;
}

/* Search form RTL */
.navbar .d-flex .form-control {
    border-radius: 0 8px 8px 0;
}

.navbar .d-flex .btn {
    border-radius: 8px 0 0 8px;
}

/* Article meta RTL */
.article-meta {
    flex-direction: row;
}

/* Trending number alignment */
.trending-number {
    margin-left: 0.8rem;
    margin-right: 0;
}

/* Section header RTL */
.section-header {
    flex-direction: row;
}

/* Share buttons RTL fix */
.share-buttons {
    flex-direction: row;
}
