/* RTL Styles for SMM Today Plugin - Arabic Language */

/* ===== Global RTL Direction ===== */
.smmtoday-admin-wrap,
.smmtoday-content-area {
    direction: rtl !important;
    text-align: right !important;
}

/* ===== Header Navigation RTL ===== */
/* اللوجو على اليمين - لا نعكس لأن التصميم الأصلي اللوجو يسار */
.smmtoday-admin-header-saas {
    direction: rtl !important;
}

/* الأزرار - تبقى بنفس ترتيبها الداخلي */
.smmtoday-main-nav .nav-item {
    flex-direction: row-reverse !important;
}

.smmtoday-main-nav .nav-item .dashicons {
    margin-left: 6px !important;
    margin-right: 0 !important;
}

/* ===== Stats Grid ===== */
.smmtoday-stats-grid {
    direction: rtl;
}

.smmtoday-stat-card {
    text-align: right;
}

/* ===== Tables ===== */
.smmtoday-table {
    text-align: right;
}

.smmtoday-table th,
.smmtoday-table td {
    text-align: right;
}

/* ===== Forms ===== */
.smmtoday-form-group label {
    float: right;
    margin-left: 10px;
    margin-right: 0;
}

.smmtoday-form-group input,
.smmtoday-form-group select,
.smmtoday-form-group textarea {
    direction: rtl;
    text-align: right;
}

/* ===== Buttons ===== */
.smmtoday-btn {
    direction: rtl;
}

.smmtoday-btn .dashicons {
    margin-left: 5px;
    margin-right: 0;
}

/* ===== Cards ===== */
.smmtoday-card,
.smmtoday-box {
    text-align: right;
}

/* ===== Settings Page ===== */
.smmtoday-settings-wrap {
    direction: rtl;
}

.smmtoday-settings-nav {
    margin-left: 0;
    margin-right: 0;
}

.smmtoday-settings-content {
    text-align: right;
}

/* ===== Orders Page ===== */
.smmtoday-orders-table {
    direction: rtl;
}

.smmtoday-order-actions {
    text-align: left;
}

/* ===== Services Page ===== */
.smmtoday-service-card {
    text-align: right;
}

/* ===== Reports Page ===== */
.smmtoday-reports-container {
    direction: rtl;
}

/* ===== Notifications ===== */
.smmtoday-notification {
    direction: rtl;
    text-align: right;
}

/* ===== WooCommerce Product Fields ===== */
#_service_parent,
#_Service,
#_service_type,
#_service_rate,
#_service_min,
#_service_max,
#_service_avg_time {
    direction: rtl;
    text-align: right;
}

/* ===== Search and Filters ===== */
.smmtoday-search-box,
.smmtoday-filter-box {
    direction: rtl;
}

.smmtoday-search-box input {
    padding-right: 35px;
    padding-left: 10px;
}

/* ===== Modal / Popup ===== */
.smmtoday-modal-content {
    direction: rtl;
    text-align: right;
}

/* ===== License Page ===== */
.smmtoday-license-wrap {
    direction: rtl;
    text-align: right;
}

/* ===== Support Page ===== */
.smmtoday-support-grid {
    direction: rtl;
}

/* ===== Email Templates ===== */
.smmtoday-email-template-editor {
    direction: rtl;
}

/* ===== Frontend RTL ===== */
.smmtoday-frontend-wrap,
.smmtoday-product-smm-section {
    direction: rtl;
    text-align: right;
}

.smmtoday-quantity-input {
    direction: ltr;
    text-align: center;
}

/* ===== Fix Icon Position ===== */
.dashicons-before:before {
    margin-left: 5px;
    margin-right: 0;
}