
/* =========================================
   RTL SUPPORT
========================================= */

[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .logo-text {
    text-align: right;
}

[dir="rtl"] .nav-list a::after {
    transform-origin: center;
}

[dir="rtl"] .footer-column ul a:hover {
    transform: translateX(-4px);
}

[dir="rtl"] .footer-contact-link,
[dir="rtl"] .footer-email {
    direction: rtl;
}

[dir="rtl"] .footer-bottom {
    direction: rtl;
}

[dir="rtl"] .hero-container {
    direction: rtl;
}

[dir="rtl"] .header-actions {
    direction: rtl;
}

@media (max-width: 850px) {
    [dir="rtl"] .navbar {
        text-align: right;
    }

    [dir="rtl"] .nav-list a {
        text-align: right;
    }
}





/* =========================================
   GLOBAL DJANGO MESSAGES
========================================= */

.global-messages {
    position: relative;
    z-index: 20;
    padding-top: 20px;
}

.global-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.8;
}

.global-alert i {
    font-size: 18px;
    flex-shrink: 0;
}

.global-alert-success {
    border-color: #16a34a;
}

.global-alert-success i {
    color: #16a34a;
}

.global-alert-warning {
    border-color: #d97706;
}

.global-alert-warning i {
    color: #d97706;
}

.global-alert-error {
    border-color: #dc2626;
}

.global-alert-error i {
    color: #dc2626;
}