/* Hebrew RTL Styling */
html {
    font-size: 14px;
}

@@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

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

/* Fix Bootstrap RTL issues */
.btn + .btn {
    margin-right: 0.5rem;
    margin-left: 0;
}

/* Card improvements */
.card {
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.card-header {
    font-weight: 600;
    border-radius: 8px 8px 0 0 !important;
}

/* Table styling */
.table {
    direction: rtl;
}

.table th,
.table td {
    text-align: right;
}

/* Form styling */
.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.required::after {
    content: " *";
    color: #dc3545;
}

/* Alert styling */
.alert {
    border-radius: 6px;
}

/* Navigation */
.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
}

/* Footer */
.footer {
    padding: 20px 0;
    margin-top: 50px;
}

/* Custom utilities */
.text-rtl {
    direction: rtl;
    text-align: right;
}

.text-ltr {
    direction: ltr;
    text-align: left;
}

/* Responsive tables */
@@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }
}
