@import url("mv-public.css");
/* Mr Vila - site-wide overrides (DNN loads Portals/0/portal.css on every page; theme saves don't touch it) */

@media (max-width: 768px) {
    /* Admin panel on phones (ticket 21604 item 18): DNN's Persona Bar (80px on the right) and the
       ThemePlugin buttons (left) are admin-only overlays that cover the page content on a phone. */
    #personaBar-iframe,
    .personabar-placeholder,
    #dnn_SKINPLUGIN1_ThemePluginPro_Panel {
        display: none !important;
    }

    /* Search/filter forms: chosen is off on phones, native selects had random widths */
    .mbd-chosen-inner-wrap > select {
        width: 100% !important;
    }
}

/* =====================================================================================
   Mr Vila panel UI kit (1405/07/15): one look for the guest, host and admin panels.
   Everything is opt-in through mv-* classes, so nothing else on the site changes.
   Guide: D:\LocalProjects\mr-vila-deploy\ui\PANEL-UI-GUIDE.md
   ===================================================================================== */
:root {
    --mv-primary: var(--primary-main, #F03E58);
    --mv-primary-dark: var(--primary-darker, #C03246);
    --mv-primary-soft: #FFF0F2;
    --mv-text: var(--text-dark-1, #28293D);
    --mv-text-2: var(--text-dark-2, #555770);
    --mv-muted: var(--text-dark-3, #8F90A6);
    --mv-border: #ECEEF2;
    --mv-bg: #F7F8FA;
    --mv-card: #FFFFFF;
    --mv-radius: var(--radius-12, .85rem);
    --mv-radius-sm: var(--radius-8, .571rem);
    --mv-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .05);
    --mv-green: var(--system-green-0, #06C270);   --mv-green-soft: var(--system-green-3, #E3FFF1);
    --mv-orange: var(--system-orange-0, #FF8800); --mv-orange-soft: var(--system-orange-3, #FFF8E5);
    --mv-red: var(--system-red-0, #FF3B3B);       --mv-red-soft: var(--system-red-3, #FFE5E5);
    --mv-blue: var(--system-blue-0, #0063F7);     --mv-blue-soft: var(--system-blue-3, #E5F0FF);
    --mv-purple: var(--system-purple-0, #6600CC); --mv-purple-soft: var(--system-purple-3, #FFE5FF);
}

/* ---------- page header ---------- */
.mv-page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin: 0 0 1.25rem; }
.mv-page-head h1, .mv-page-head h2, .mv-page-title { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--mv-text); line-height: 1.6; }
.mv-page-sub { margin: .15rem 0 0; color: var(--mv-muted); font-size: .9rem; }
.mv-page-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- card ---------- */
.mv-card { background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); box-shadow: var(--mv-shadow); padding: 1.25rem; margin-bottom: 1.25rem; }
.mv-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: -.25rem 0 1rem; }
.mv-card-title { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--mv-text); }
.mv-card-sub { color: var(--mv-muted); font-size: .85rem; }
.mv-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.mv-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 991px) { .mv-grid-2, .mv-grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- KPI tiles ---------- */
.mv-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.mv-kpi { position: relative; display: flex; gap: .85rem; align-items: flex-start; background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); box-shadow: var(--mv-shadow); padding: 1rem 1.1rem; color: inherit !important; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease; }
a.mv-kpi:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(16, 24, 40, .09); }
.mv-kpi-icon { flex: 0 0 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--mv-primary-soft); color: var(--mv-primary); font-size: 1.2rem; }
.mv-kpi-icon svg { width: 22px; height: 22px; }
.mv-kpi-body { min-width: 0; }
.mv-kpi-label { color: var(--mv-muted); font-size: .85rem; margin-bottom: .2rem; }
.mv-kpi-value { color: var(--mv-text); font-size: 1.45rem; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.mv-kpi-unit { color: var(--mv-muted); font-size: .8rem; font-weight: 500; margin-inline-start: .25rem; }
.mv-kpi-foot { color: var(--mv-muted); font-size: .78rem; margin-top: .25rem; }
.mv-kpi--green .mv-kpi-icon { background: var(--mv-green-soft); color: var(--mv-green); }
.mv-kpi--orange .mv-kpi-icon { background: var(--mv-orange-soft); color: var(--mv-orange); }
.mv-kpi--red .mv-kpi-icon { background: var(--mv-red-soft); color: var(--mv-red); }
.mv-kpi--blue .mv-kpi-icon { background: var(--mv-blue-soft); color: var(--mv-blue); }
.mv-kpi--purple .mv-kpi-icon { background: var(--mv-purple-soft); color: var(--mv-purple); }

/* ---------- buttons ---------- */
.mv-btn { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; height: 2.5rem; padding: 0 1rem; border-radius: var(--mv-radius-sm); border: 1px solid transparent; font-size: .9rem; font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: background .15s, color .15s, border-color .15s; background: var(--mv-primary); color: #fff !important; }
.mv-btn:hover { background: var(--mv-primary-dark); color: #fff !important; }
.mv-btn--outline { background: #fff; color: var(--mv-primary) !important; border-color: var(--mv-primary); }
.mv-btn--outline:hover { background: var(--mv-primary); color: #fff !important; }
.mv-btn--ghost { background: transparent; color: var(--mv-text-2) !important; border-color: var(--mv-border); }
.mv-btn--ghost:hover { background: var(--mv-bg); color: var(--mv-text) !important; }
.mv-btn--dark { background: var(--mv-text); }
.mv-btn--dark:hover { background: #000; }
.mv-btn--danger { background: #fff; color: var(--mv-red) !important; border-color: #FFC9C9; }
.mv-btn--danger:hover { background: var(--mv-red); color: #fff !important; border-color: var(--mv-red); }
.mv-btn--sm { height: 2rem; padding: 0 .7rem; font-size: .8rem; border-radius: 8px; }
.mv-btn--block { width: 100%; }
.mv-btn[disabled], .mv-btn.disabled { opacity: .5; pointer-events: none; }
.mv-actions { display: inline-flex; flex-wrap: wrap; gap: .35rem; }

/* ---------- badges (status) ---------- */
.mv-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 600; line-height: 1.6; white-space: nowrap; background: var(--mv-bg); color: var(--mv-text-2); }
.mv-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.mv-badge--success { background: var(--mv-green-soft); color: #0A8F55; }
.mv-badge--warning { background: var(--mv-orange-soft); color: #C46A00; }
.mv-badge--danger { background: var(--mv-red-soft); color: #D12B2B; }
.mv-badge--info { background: var(--mv-blue-soft); color: var(--mv-blue); }
.mv-badge--purple { background: var(--mv-purple-soft); color: var(--mv-purple); }
.mv-badge--muted { background: #F1F2F5; color: var(--mv-muted); }

/* ---------- toolbar above a list ---------- */
.mv-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .85rem; }
.mv-total { color: var(--mv-text-2); font-weight: 600; font-size: .9rem; }
.mv-total b { color: var(--mv-text); }
.mv-toolbar .mbd-excel-export button, .mv-toolbar .mbd-excel-export .btn { height: 2.5rem; border-radius: var(--mv-radius-sm); padding: 0 1rem; }

/* ---------- table (desktop) => cards (mobile) ---------- */
.mv-table-wrap { background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); box-shadow: var(--mv-shadow); overflow-x: auto; }
table.mv-table { width: 100%; border-collapse: separate; border-spacing: 0; background: transparent; margin: 0; }
table.mv-table th { background: #FAFAFB; color: var(--mv-text-2); font-weight: 700; font-size: .82rem; padding: .8rem .75rem; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--mv-border); height: auto !important; }
table.mv-table td { padding: .75rem; border-bottom: 1px solid #F2F3F6; font-size: .9rem; color: var(--mv-text); vertical-align: middle; line-height: 1.7; height: auto !important; }
table.mv-table tbody tr:last-child td { border-bottom: 0; }
table.mv-table tbody tr:hover td { background: #FFF8F9; }
table.mv-table td.mv-num, table.mv-table th.mv-num { text-align: center; white-space: nowrap; }
table.mv-table td.mv-nowrap { white-space: nowrap; }
table.mv-table td.mv-col-actions { white-space: nowrap; text-align: left; }
table.mv-table .mv-sub { display: block; color: var(--mv-muted); font-size: .78rem; }
.mv-ltr { direction: ltr; unicode-bidi: embed; }
.mv-empty { text-align: center; color: var(--mv-muted); padding: 2.5rem 1rem !important; }
.mv-empty::before { content: ""; display: block; width: 48px; height: 48px; margin: 0 auto .75rem; border-radius: 50%; background: var(--mv-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F90A6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / 24px no-repeat; }

@media (max-width: 767px) {
    .mv-table-wrap { background: transparent; border: 0; box-shadow: none; overflow: visible; }
    table.mv-table, table.mv-table tbody, table.mv-table tr, table.mv-table td { display: block; width: 100%; }
    table.mv-table thead { display: none; }
    table.mv-table tbody tr { background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); box-shadow: var(--mv-shadow); margin-bottom: .85rem; padding: .35rem .9rem; }
    table.mv-table tbody tr:hover td { background: transparent; }
    table.mv-table td { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed #EEF0F3; text-align: left; }
    table.mv-table td::before { content: attr(data-label); flex: 0 0 auto; max-width: 45%; color: var(--mv-muted); font-size: .8rem; font-weight: 600; text-align: right; }
    table.mv-table td[data-label=""]::before { display: none; }
    table.mv-table td:last-child { border-bottom: 0; }
    table.mv-table td.mv-num, table.mv-table td.mv-col-actions { text-align: left; white-space: normal; }
    table.mv-table td.mv-col-actions { justify-content: flex-end; flex-wrap: wrap; }
    table.mv-table td.mv-col-actions::before { display: none; }
    table.mv-table td.mv-empty { display: block; text-align: center; }
    .mv-page-head { margin-bottom: 1rem; }
    .mv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .mv-kpi { flex-direction: column; gap: .5rem; padding: .85rem; }
    .mv-kpi-value { font-size: 1.2rem; }
    .mv-card { padding: 1rem; }
}

/* ---------- paging (mbd-list-paging) inside the kit ---------- */
.mv-list .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: 1.1rem 0 .25rem; padding: 0; }
.mv-list .pagination > li > a, .mv-list .pagination > li > span { min-width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px !important; border: 1px solid var(--mv-border); color: var(--mv-text-2); background: #fff; margin: 0; }
.mv-list .pagination > .active > a, .mv-list .pagination > .active > span { background: var(--mv-primary); border-color: var(--mv-primary); color: #fff; }
.mv-list .list-loading-wrapper { position: relative; min-height: 120px; }

/* ---------- forms (SubmitListing / CustomAction) inside a kit card ---------- */
.mv-form-card .sd-field, .mv-form-card .form-group { margin-bottom: 1rem; }
.mv-form-card label, .mv-form-card .sd-field-text { font-weight: 600; color: var(--mv-text); font-size: .9rem; margin-bottom: .35rem; }
.mv-form-card input[type=text], .mv-form-card input[type=number], .mv-form-card input[type=email], .mv-form-card input[type=tel], .mv-form-card select, .mv-form-card textarea, .mv-form-card .chosen-container .chosen-single, .mv-form-card .form-control { width: 100% !important; min-height: 2.6rem; border: 1px solid #DDE0E6 !important; border-radius: var(--mv-radius-sm) !important; background: #fff; box-shadow: none !important; }
.mv-form-card textarea { min-height: 6rem; }
.mv-form-card button.ui.primary, .mv-form-card .ui.primary.button, .mv-form-card .btn-primary { background: var(--mv-primary) !important; border-color: var(--mv-primary) !important; color: #fff !important; border-radius: var(--mv-radius-sm) !important; height: 2.6rem; padding: 0 1.4rem; font-weight: 700; }

/* ---------- small helpers ---------- */
.mv-muted { color: var(--mv-muted) !important; }
.mv-money { white-space: nowrap; font-weight: 700; }
.mv-money small { color: var(--mv-muted); font-weight: 500; margin-inline-start: .2rem; }
.mv-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--mv-bg); flex: 0 0 36px; }
.mv-person { display: inline-flex; align-items: center; gap: .55rem; }
.mv-thumb { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--mv-bg); flex: 0 0 64px; }

/* ---------- panel filter card (Search modules with Template = Default/panel-search.html) ---------- */
.mv-filter { padding: 1rem 1.1rem .25rem; }
.mv-filter .sd-fields.row { row-gap: .25rem; }
.mv-filter .sd-field { margin-bottom: .75rem; }
.mv-filter .sd-field-text { display: block; font-size: .82rem; font-weight: 600; color: var(--mv-text-2); margin-bottom: .3rem; }
.mv-filter input[type=text], .mv-filter input[type=number], .mv-filter input[type=tel], .mv-filter select, .mv-filter .chosen-container .chosen-single, .mv-filter .form-control { width: 100% !important; height: 2.6rem !important; min-height: 2.6rem; border: 1px solid #DDE0E6 !important; border-radius: var(--mv-radius-sm) !important; background: #fff !important; box-shadow: none !important; font-size: .9rem; }
.mv-filter .chosen-container .chosen-single { line-height: 2.5rem; }
.mv-filter button, .mv-filter .ui.button, .mv-filter .btn { height: 2.6rem; border-radius: var(--mv-radius-sm) !important; font-weight: 700; }
.mv-filter .ui.primary.button, .mv-filter button.ui.primary, .mv-filter .btn-primary { background: var(--mv-primary) !important; border-color: var(--mv-primary) !important; color: #fff !important; }
/* search button / clear link fields: give them the CssClass mv-search-btn / mv-clear-link in the Search module */
.mv-search-btn .d-flex { justify-content: stretch !important; }
.mv-search-btn button { width: 100%; height: 2.6rem; border-radius: var(--mv-radius-sm); }
.mv-clear-link a { display: inline-block; line-height: 2.6rem; color: var(--mv-muted) !important; white-space: nowrap; }
@media (min-width: 768px) { .mv-search-btn, .mv-clear-link { padding-top: 1.75rem; } }

/* columns that are not needed on a phone card: ColumnCss mv-hide-sm */
@media (max-width: 767px) { table.mv-table td.mv-hide-sm { display: none !important; } }


/* ---------- typography (1405/07/15) ---------- */
.mv-h3 { font-size: 1rem; font-weight: 700; color: var(--mv-text); margin: 0 0 .5rem; line-height: 1.7; }
.mv-text-strong { font-weight: 700 !important; color: var(--mv-text) !important; }
.mv-text-muted { color: var(--mv-muted) !important; font-weight: 400; }
.mv-text-sm { font-size: .82rem !important; }
.mv-text-xs { font-size: .75rem !important; }
.mv-label { display: block; color: var(--mv-muted); font-size: .78rem; font-weight: 500; margin-bottom: .15rem; }
.mv-value { color: var(--mv-text); font-size: .95rem; font-weight: 700; }
.mv-num-fa, table.mv-table td, .mv-kpi-value, .mv-money { font-variant-numeric: tabular-nums; }

/* panel content area (skin page-48 «پنل»): calmer base text, clear heading scale */
.has-sidebar .sidebar-siblings-container { color: var(--mv-text); font-size: .92rem; line-height: 1.8; }
.has-sidebar .sidebar-siblings-container h1, .has-sidebar .sidebar-siblings-container .h1 { font-size: 1.3rem; font-weight: 800; color: var(--mv-text); }
.has-sidebar .sidebar-siblings-container h2, .has-sidebar .sidebar-siblings-container .h2 { font-size: 1.12rem; font-weight: 800; color: var(--mv-text); }
.has-sidebar .sidebar-siblings-container h3, .has-sidebar .sidebar-siblings-container .h3 { font-size: 1rem; font-weight: 700; color: var(--mv-text); }
.has-sidebar .sidebar-siblings-container h4, .has-sidebar .sidebar-siblings-container h5 { font-size: .92rem; font-weight: 700; color: var(--mv-text-2); }
.has-sidebar .sidebar-siblings-container small, .has-sidebar .sidebar-siblings-container .text-muted { color: var(--mv-muted) !important; }
.has-sidebar .sidebar-siblings-container .mv-page-sub, .has-sidebar .sidebar-siblings-container .mv-card-sub { font-weight: 400; }
table.mv-table th { letter-spacing: 0; font-weight: 600; color: var(--mv-muted); }
table.mv-table td strong, table.mv-table td b { color: var(--mv-text); font-weight: 700; }
@media (max-width: 767px) {
    .mv-page-head h1, .mv-page-head h2, .mv-page-title { font-size: 1.1rem; }
    .has-sidebar .sidebar-siblings-container { font-size: .9rem; }
}

/* KPI tile: label / value / foot are stacked lines; long numbers shrink instead of overflowing */
.mv-kpi-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mv-kpi-label, .mv-kpi-value, .mv-kpi-foot { display: block; }
.mv-kpi-value { font-size: clamp(1.05rem, 1.6vw, 1.4rem); overflow: hidden; text-overflow: ellipsis; }
.mv-kpis { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* ---------- loading skeleton (List PreloaderTemplate in the panels; same look can be reused on public pages) ---------- */
@keyframes mv-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.mv-skel { display: block; height: .8rem; border-radius: 6px; background: linear-gradient(90deg, #F1F2F5 25%, #F8F9FB 37%, #F1F2F5 63%); background-size: 200% 100%; animation: mv-shimmer 1.3s ease-in-out infinite; }
.mv-skel--title { height: 1rem; width: 55%; }
.mv-skel--circle { width: 40px; height: 40px; border-radius: 50%; flex: 0 0 40px; }
.mv-skel--thumb { width: 72px; height: 54px; border-radius: 10px; flex: 0 0 72px; }
.mv-skel--btn { width: 84px; height: 2rem; border-radius: 8px; flex: 0 0 84px; }
.mv-skel-list { display: flex; flex-direction: column; gap: .75rem; padding: .25rem 0; }
.mv-skel-row { display: flex; align-items: center; gap: .9rem; background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); box-shadow: var(--mv-shadow); padding: .9rem 1rem; }
.mv-skel-lines { flex: 1; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.mv-skel-lines .mv-skel:nth-child(2) { width: 80%; }
.mv-skel-lines .mv-skel:nth-child(3) { width: 35%; height: .65rem; }
.mv-skel-label { text-align: center; color: var(--mv-muted); font-size: .8rem; margin-top: .25rem; }
@media (prefers-reduced-motion: reduce) { .mv-skel { animation: none; } }
@media (max-width: 767px) { .mv-skel-row .mv-skel--btn { display: none; } }

/* Site-wide (1405/07/15): Theme Options in global-0.css left font-family:" " on h1-h6, .default-family and .font-family1,
   so headings fell back to the browser's Latin serif font. Use the site font everywhere. */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'Iransite', Tahoma, sans-serif; }
.default-family, .font-family1 { font-family: 'Iransite', Tahoma, sans-serif !important; }

/* Pagination, whole site (uib-pagination of MBD lists), 1405/07/15: the theme styled the <li> (dark border, red active
   background) and the kit styled the <a>, so two boxes overlapped. One layer only: plain <li>, styled button. */
ul.pagination { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; margin: 1.25rem 0 .5rem !important; padding: 0 !important; list-style: none; background: transparent !important; border: 0 !important; }
ul.pagination > li { border: 0 !important; background: transparent !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; outline: 0 !important; float: none !important; }
ul.pagination > li > a, ul.pagination > li > span { min-width: 2.4rem; height: 2.4rem; padding: 0 .65rem !important; margin: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; float: none !important; border-radius: 10px !important; border: 1px solid #E3E5EA !important; background: #fff !important; color: var(--mv-text-2, #555770) !important; font-size: .9rem; font-weight: 600; line-height: 1; text-decoration: none !important; box-shadow: none !important; transition: border-color .15s, color .15s, background .15s; }
ul.pagination > li > a:hover { border-color: var(--mv-primary, #F03E58) !important; color: var(--mv-primary, #F03E58) !important; background: #fff !important; }
ul.pagination > li.active > a, ul.pagination > li.active > span { background: var(--mv-primary, #F03E58) !important; border-color: var(--mv-primary, #F03E58) !important; color: #fff !important; box-shadow: 0 4px 12px rgba(240, 62, 88, .28) !important; }
ul.pagination > li.disabled > a, ul.pagination > li.disabled > span { opacity: .4; pointer-events: none; }
ul.pagination > li.pagination-first > a, ul.pagination > li.pagination-prev > a, ul.pagination > li.pagination-next > a, ul.pagination > li.pagination-last > a { font-size: 1.05rem; color: var(--mv-muted, #8F90A6) !important; }

/* Excel export button (mbd-excel-export) everywhere: kit outline button */
.mbd-excel-export .btn, .mbd-excel-export button { display: inline-flex !important; align-items: center; justify-content: center; gap: .4rem; height: 2.5rem !important; padding: 0 1rem !important; border-radius: var(--mv-radius-sm, .571rem) !important; border: 1px solid #CDEBDC !important; background: #F1FBF6 !important; color: #0A8F55 !important; font-size: .88rem !important; font-weight: 700 !important; line-height: 1 !important; box-shadow: none !important; text-shadow: none !important; transition: background .15s, color .15s, border-color .15s; }
.mbd-excel-export .btn:hover, .mbd-excel-export button:hover { background: #0A8F55 !important; border-color: #0A8F55 !important; color: #fff !important; }
.mbd-excel-export .btn .zmdi, .mbd-excel-export button .zmdi { font-size: 1.05rem; }
.mbd-excel-export .btn[disabled], .mbd-excel-export button[disabled] { opacity: .6; }

/* ---------- modal (remodal) in the kit: <div class="remodal mv-modal" data-remodal-id="..."> ---------- */
.remodal.mv-modal { max-width: 760px; width: calc(100% - 24px); padding: 1.5rem 1.5rem 1rem; border-radius: 16px; text-align: right; direction: rtl; background: #fff; box-shadow: 0 20px 60px rgba(16, 24, 40, .25); }
.remodal.mv-modal .mv-modal-head { margin: 0 0 1rem; padding-inline-end: 2.75rem; }
.remodal.mv-modal .mv-modal-head .mv-card-title { font-size: 1.1rem; }
.remodal.mv-modal .remodal-close { top: .9rem; left: auto; right: auto; inset-inline-end: .9rem; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--mv-bg); color: var(--mv-text-2); }
.remodal.mv-modal .remodal-close:hover { background: var(--mv-red-soft); color: var(--mv-red); }
.remodal-overlay { background: rgba(16, 24, 40, .45) !important; }
.mv-if-edit { display: none; }
html.mv-editing .mv-if-edit { display: inline; }
html.mv-editing .mv-if-new { display: none; }
@media (max-width: 767px) { .remodal.mv-modal { padding: 1.1rem 1rem .75rem; border-radius: 14px; } }
