html {
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    position: relative;
    min-height: 100%;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
        padding: 20px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    margin-bottom: 60px;
    direction: rtl;

}

.form-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.my-actions {
    gap: 1rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    html {
        font-size: 14px;
        padding: 10px;
    }

    .form-container {
        flex-direction: column;
        align-items: center;
    }

    .my-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem !important;
    }
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Cairo', sans-serif;
}

.container.home-content {
    flex: 1; /* يأخذ المساحة المتبقية بين الهيدر والفوتر */
}

.footer {
 
    text-align: center;
    padding: 1rem 0;
    /* عرض كامل الشاشة */
    width: 100%;
}
@media (max-width: 480px) {
    .btn {
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
    }
}
@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap");

.variable-proximity {
    font-family: "Roboto Flex", sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media print {
    /* إخفاء العناصر غير الضرورية */
    .navbar,
    footer,
    .animated-bg,
    .btn-export,
    .btn-print,
    .btn-create,
    .filter-form,
    .search-wrapper,
    .action-links,
    .actions-column,
    th:last-child,
    td:last-child,
    #pagenum,
    #pagenum * {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    body {
        background: white !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    @page {
        size: A4 portrait;
        margin: 1cm;
    }

    table {
        width: 200% !important;
        max-width: 19cm !important; /* أقل من A4 لترك الهوامش */
        margin: 0 auto !important; /* توسيط الجدول */
        border-collapse: collapse !important;
        page-break-inside: auto;
    }

    th, td {
        word-wrap: break-word !important;
        white-space: normal !important;
        overflow: visible !important;
        font-size: 13px !important;
        text-align: center !important;
        padding: 8px !important;
        border: 1px solid #000 !important;
    }

        .actions-column,
        th:last-child,
        td:last-child {
            display: none !important;
        }
}
.btn {
    padding: 8px 18px;
    border-radius: 25px; /* الشكل البيضاوي */
    font-size: 1rem;
    margin: 5px; /* مسافة بسيطة بين الأزرار */
    white-space: nowrap;
}
@media (max-width: 576px) {
    .btn {
        padding: 6px 14px !important;
        font-size: 0.85rem !important;
        border-radius: 20px !important;
        margin: 4px !important;
    }

    .action-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin-bottom: 60px; /* لإبعاد الأزرار عن الفوتر */
    }
}


