:root {
    --primary: #321fdb;
    --secondary: #ced2d8;
    --success: #2eb85c;
    --info: #39f;
    --warning: #f9b115;
    --danger: #e55353;
    --light: #ebedef;
    --dark: #636f83;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  }

  a {
    text-decoration: none;
    background-color: transparent;
    color: #321fdb;
}

.btn-info[data-action]{
    background-color: #3ec9d6 !important;
    border-color: #3ec9d6 !important;
}

.btn-group-toggle > .btn input[type="radio"],
.btn-group-toggle > .btn input[type="checkbox"],
.btn-group-toggle > .btn-group > .btn input[type="radio"],
.btn-group-toggle > .btn-group > .btn input[type="checkbox"] {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.chartbtn
{
    height:300px;margin-top:40px;
}

.foreign
{
    display: none;
}

/*  */

div.dataTables_wrapper div.dataTables_filter {
    text-align: right;
    display: inline;
    float: right;
}

.dataTables_scrollBody
{
 overflow: unset !important;
}

.cust-margin{
    margin-top:-2%;
}

.cust-margin1{
    margin-top:15%;
}

.table-responsive {
    overflow-x: unset !important;
}

.logo_img{
    width: 1000px !important;
    height: 200px !important;
}

.cust_logo{
    width:40%;
}

.app_logo {
    width: auto;
    height: auto;
    max-width: 50%;
    max-height: 100%;
}

/* Full-height auth pages without scroll */
body.auth-page.auth-no-scroll,
body.auth-page.auth-no-scroll html {
    height: 100%;
}
body.auth-page.auth-no-scroll {
    overflow: hidden;
}
.auth-wrapper.auth-v1 {
    min-height: 100vh;
}
.auth-content {
    min-height: calc(100vh - 60px);
}

/* Persian Notifications & Alerts - readable Farsi font */
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2'),
         url('/assets/fonts/Vazirmatn-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body[dir="rtl"] .notifier,
body[dir="rtl"] .notifier *,
body[dir="rtl"] .alert,
body[dir="rtl"] .toast,
body[dir="rtl"] .modal .modal-body,
body[dir="rtl"] .swal2-container {
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif !important;
    line-height: 1.9;
    letter-spacing: 0.01em;
}

/* Tuning notifier titles/buttons */
body[dir="rtl"] .notifier .title,
body[dir="rtl"] .notifier .btn {
    font-weight: 600;
}

/* Slightly larger alert text for readability */
body[dir="rtl"] .alert { font-size: 0.95rem; }

/* Footer centering for both desktop and mobile */
.footer-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.footer-wrapper.text-center {
    text-align: center !important;
}

/* Mobile-specific footer centering */
@media (max-width: 768px) {
    .footer-wrapper {
        padding: 10px !important;
        margin: 0 auto !important;
    }

    .footer-wrapper .text-muted {
        font-size: 0.875rem !important;
        line-height: 1.4 !important;
    }
}
