.image-input-placeholder {
    background-image: url('/admin/assets/media/svg/avatars/blank.svg') !important;
}

[data-bs-theme="dark"] .image-input-placeholder {

    background-image: url('/admin/assets/media/svg/avatars/blank-dark.svg')
}

.custom-datatable tbody tr:hover {
    cursor: pointer;
    background-color: #a4c6ef !important;
    color: #323941 !important;
    transition: 0.3s;

}

body {
    text-transform: capitalize;
}

#kt_app_sidebar,
#kt_app_sidebar .menu-title,
.munhaj-sidebar-flyout-panel,
.munhaj-sidebar-flyout-panel .menu-title {
    text-transform: none;
}

@font-face {
    font-family: 'Cairo';
    src: url('/admin/assets/plugins/global/fonts/Cairo/Cairo-VariableFont_slnt,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('/admin/assets/plugins/global/fonts/PlusJakartaSans/PlusJakartaSans-Variable.woff2') format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

body[dir="ltr"] {
    --bs-font-sans-serif: 'Plus Jakarta Sans', 'Cairo', sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif !important;
}

body[dir="rtl"] {
    --bs-font-sans-serif: 'Cairo', sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    font-family: 'Cairo', sans-serif !important;
}

.munhaj-dashboard-chart-wrap {
    min-height: 300px;
}

.munhaj-dashboard-chart-wrap--tall {
    min-height: 360px;
}

/* Dashboard boolean fields — barqkwt-style boxed switch tiles. */
.munhaj-form-switch-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .munhaj-form-switch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .munhaj-form-switch-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.munhaj-form-switch-row {
    margin-bottom: 1rem;
}

.munhaj-form-switch-grid .munhaj-form-switch-row {
    margin-bottom: 0;
    height: 100%;
}

.munhaj-project-country-row {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    column-gap: 1rem;
    row-gap: 0.75rem;
    align-items: start;
}

.munhaj-project-country-row__country,
.munhaj-project-country-row__switch {
    min-width: 0;
}

.munhaj-project-country-row__switch {
    padding-top: calc(0.5rem + 1.75rem);
}

.munhaj-project-country-row .munhaj-form-switch-row {
    margin-bottom: 0;
    height: auto;
}

.munhaj-project-country-row .munhaj-form-switch-card {
    min-height: calc(1.5em + 1.65rem + 2px);
    height: auto;
    padding: 0.55rem 1rem;
    align-items: center;
}

.munhaj-project-country-row__country .select2-container--bootstrap5 .select2-selection--single {
    min-height: calc(1.5em + 1.65rem + 2px);
}

.munhaj-internal-location-row {
    --bs-gutter-x: 1rem;
}

@media (min-width: 768px) {
    .munhaj-internal-location-row > .col {
        min-width: 0;
    }

    .munhaj-internal-location-row .mb-2 {
        margin-bottom: 0 !important;
    }
}

@media (min-width: 1200px) {
    .munhaj-internal-location-row .select2-container {
        width: 100% !important;
    }
}

@media (max-width: 991.98px) {
    .munhaj-project-country-row {
        grid-template-columns: 1fr;
    }

    .munhaj-project-country-row__switch {
        padding-top: 0;
    }
}

.munhaj-form-trio-row .munhaj-form-switch-row {
    margin-bottom: 0;
    width: 100%;
    height: 100%;
}

.munhaj-form-field-group-heading {
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.munhaj-form-field-group-heading--bordered {
    padding-top: 1.15rem;
    border-top: 1px dashed var(--bs-gray-300);
}

.munhaj-form-sort-status-row .munhaj-form-switch-row {
    height: 100%;
}

.munhaj-form-date-range-row > [class*='col'] > .my-5 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

[data-bs-theme='dark'] .munhaj-form-field-group-heading--bordered {
    border-top-color: var(--bs-border-color);
}

.munhaj-form-trio-sort-card {
    grid-template-columns: minmax(0, 1fr) minmax(5.25rem, 6.75rem);
}

.munhaj-form-trio-sort-card .form-control {
    width: 100%;
    min-width: 0;
    min-height: 2.35rem;
    padding: 0.45rem 0.65rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    flex-shrink: 0;
    justify-self: end;
    background-color: #f1f1f4;
    border: 1px solid #e4e6ef;
    color: #181c32;
}

.munhaj-form-trio-sort-card input[type='number'] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.munhaj-form-trio-sort-card input[type='number']::-webkit-outer-spin-button,
.munhaj-form-trio-sort-card input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

[data-bs-theme='dark'] .munhaj-form-trio-sort-card .form-control.form-control-solid {
    background-color: var(--bs-gray-200) !important;
    border-color: var(--bs-border-color) !important;
    color: var(--bs-gray-900) !important;
}

.munhaj-form-switch-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.85rem;
    border: 1px solid #e4e6ef;
    border-radius: 0.625rem;
    background-color: #fff;
    padding: 0.9rem 1.15rem;
    min-height: 3.35rem;
    height: 100%;
    width: 100%;
}

.munhaj-form-switch-card--with-icon {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 0.65rem;
}

.munhaj-form-switch-icon {
    font-size: 1.2rem;
    color: #a1a5b7;
    line-height: 1;
    transition: color 0.15s ease;
}

.munhaj-form-switch-card:has(.form-check-input:checked) .munhaj-form-switch-icon {
    color: #1b84ff;
}

[data-bs-theme="dark"] .munhaj-form-switch-icon {
    color: var(--bs-gray-500);
}

.munhaj-form-label-with-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.munhaj-form-label-icon {
    font-size: 0.95rem;
    color: #a1a5b7;
    flex-shrink: 0;
    line-height: 1;
}

.munhaj-form-control-icon-wrap {
    position: relative;
}

.munhaj-form-control-icon-wrap .munhaj-form-field-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    inset-inline-start: 1rem;
    font-size: 0.95rem;
    color: #a1a5b7;
    pointer-events: none;
    z-index: 3;
    line-height: 1;
}

.munhaj-form-control-icon-wrap .form-control,
.munhaj-form-control-icon-wrap .form-select {
    padding-inline-start: 2.65rem !important;
}

.munhaj-form-control-icon-wrap--textarea .munhaj-form-field-icon {
    top: 0.95rem;
    transform: none;
}

.munhaj-form-control-icon-wrap--textarea .form-control {
    min-height: 5.5rem;
}

.munhaj-form-control-icon-wrap--select2 .select2-container--bootstrap5 .select2-selection--single,
.munhaj-form-control-icon-wrap--select2 .select2-container--bootstrap5 .select2-selection--multiple {
    padding-inline-start: 2.15rem !important;
}

.munhaj-donor-field-switch__row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.munhaj-donor-field-switch__icon {
    flex-shrink: 0;
}

[data-bs-theme="dark"] .munhaj-form-label-icon,
[data-bs-theme="dark"] .munhaj-form-control-icon-wrap .munhaj-form-field-icon {
    color: var(--bs-gray-500);
}

.munhaj-donor-field-switch__card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    row-gap: 0;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.munhaj-donor-field-switch__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.85rem;
    width: 100%;
}

.munhaj-donor-field-switch__required {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px dashed #e4e6ef;
}

.munhaj-donor-field-switch__required-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #5e6278;
    line-height: 1.35;
    cursor: pointer;
}

.munhaj-form-switch-text {
    text-transform: none;
    line-height: 1.35;
    font-size: 0.95rem;
    font-weight: 600;
    color: #000;
    cursor: pointer;
}

.munhaj-form-switch-toggle .form-check {
    padding: 0;
    min-height: 0;
    margin: 0;
}

.munhaj-project-donation-stats {
    padding-bottom: 0.25rem;
}

.munhaj-project-donation-stat-card {
    border: 1px solid #eff2f5;
    box-shadow: 0 1px 2px rgba(24, 28, 50, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.munhaj-project-donation-stat-card:hover {
    box-shadow: 0 4px 12px rgba(24, 28, 50, 0.08);
    transform: translateY(-1px);
}

.munhaj-project-donation-stat-card--total {
    border-color: #d1d5db;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 55%);
}

.munhaj-contrib-panel {
    border: 1px dashed #e4e6ef;
    border-radius: 0.625rem;
    padding: 1.25rem 1.35rem;
    background-color: #fff;
}

.munhaj-contrib-panel--shared {
    border-style: solid;
    background-color: #fff;
}

.munhaj-contrib-panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #181c32;
    margin-bottom: 1rem;
    text-transform: none;
}

.munhaj-form-switch-toggle .form-switch .form-check-input {
    width: 2.85rem;
    height: 1.55rem;
    cursor: pointer;
    margin: 0 !important;
    float: none;
}

.munhaj-form-switch-toggle .form-switch.form-check-solid .form-check-input:not(:checked) {
    background-color: #e4e6ef;
    border-color: transparent;
}

.munhaj-form-switch-toggle .form-switch .form-check-input:checked {
    background-color: #1B84FF;
    border-color: #1B84FF;
}

.munhaj-form-switch-toggle .form-switch .form-check-input:focus {
    box-shadow: none;
}

/* Datatable footer and pagination layout fixes */
div.dataTables_wrapper div.dataTables_info {
    padding-top: 0.75rem;
    white-space: nowrap;
}

div.dataTables_wrapper div.dataTables_paginate {
    margin-top: 0.5rem;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 0;
    gap: 0.25rem;
    flex-wrap: wrap;
    align-items: center;
}

div.dataTables_wrapper div.dataTables_paginate .page-link {
    min-width: 2.25rem;
    text-align: center;
    white-space: nowrap;
}

[dir="rtl"] div.dataTables_wrapper div.dataTables_paginate {
    text-align: left;
}

@media (max-width: 767.98px) {
    div.dataTables_wrapper div.dataTables_info,
    div.dataTables_wrapper div.dataTables_paginate {
        text-align: center;
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: center;
    }
}


.munhaj-contribution-blueprint {
    text-transform: none;
}

.munhaj-contrib-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.munhaj-contrib-subheading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 0.75rem;
}

.munhaj-contrib-hint {
    font-size: 0.8rem;
    color: #000;
    line-height: 1.65;
    text-transform: none;
}

.munhaj-form-switch-grid--wide {
    grid-template-columns: 1fr;
}

.munhaj-segmented-radio,
.pricing-mode {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.munhaj-segmented-radio .munhaj-form-label-with-icon,
.pricing-mode .munhaj-contrib-subheading {
    justify-content: center;
    text-align: center;
}

.pricing-mode .munhaj-contrib-hint {
    max-width: 40rem;
}

.munhaj-pricing-mode-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem;
    background: #eef0f6;
    border: 1px solid #d8dce8;
    border-radius: 0.5rem;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

.munhaj-pricing-mode-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    margin: 0;
    padding: 0.4rem 0.95rem;
    min-height: 2.15rem;
    border: 1px solid transparent;
    border-radius: 0.4rem;
    background: transparent;
    color: #3f4254;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
    text-transform: none;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.munhaj-pricing-mode-tab span {
    color: inherit;
    font-weight: inherit;
}

.munhaj-pricing-mode-tab:hover:not(.is-active) {
    color: #181c32;
    background: rgba(255, 255, 255, 0.55);
}

.munhaj-pricing-mode-tab.is-active,
.munhaj-segmented-radio-option:has(input[type="radio"]:checked) {
    background: #fff;
    border-color: #1b84ff;
    color: #1b84ff;
    box-shadow: 0 1px 4px rgba(27, 132, 255, 0.18);
}

.munhaj-pricing-mode-tab:has(input[type="radio"]) {
    margin: 0;
}

.munhaj-filter-segmented .munhaj-segmented-radio {
    align-items: stretch;
    text-align: start;
    margin-bottom: 0 !important;
    width: 100%;
}

.munhaj-filter-segmented .munhaj-form-label-with-icon {
    justify-content: flex-start;
    text-align: start;
    margin-bottom: 0.5rem;
    gap: 0.4rem;
}

.munhaj-filter-segmented .munhaj-form-label-with-icon .form-label {
    font-size: 0.925rem;
    font-weight: 500;
    color: #3f4254;
}

.munhaj-filter-segmented .munhaj-form-label-icon {
    color: #a1a5b7;
    font-size: 0.9rem;
}

.munhaj-filter-segmented .munhaj-pricing-mode-tabs {
    display: grid;
    gap: 0.35rem;
    margin-inline: 0;
    width: 100%;
    padding: 0.35rem;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 0.475rem;
    box-shadow: none;
}

.munhaj-filter-segmented--payment-method .munhaj-pricing-mode-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.munhaj-filter-segmented--marketing .munhaj-pricing-mode-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.munhaj-filter-segmented .munhaj-pricing-mode-tab {
    flex: initial;
    margin: 0;
    min-width: 0;
    min-height: 2.35rem;
    padding: 0.5rem 0.55rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 0.35rem;
    border: 1px solid transparent;
    text-align: center;
}

.munhaj-filter-segmented .munhaj-pricing-mode-tab span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.munhaj-filter-segmented .munhaj-pricing-mode-tab:hover:not(.is-active) {
    background: #f9f9f9;
    color: #181c32;
    border-color: #e4e6ef;
}

.munhaj-filter-segmented .munhaj-pricing-mode-tab.is-active,
.munhaj-filter-segmented .munhaj-segmented-radio-option:has(input[type='radio']:checked) {
    background: #1b84ff;
    border-color: #1b84ff;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(27, 132, 255, 0.35);
}

[data-bs-theme='dark'] .munhaj-filter-segmented .munhaj-form-label-with-icon .form-label {
    color: var(--bs-gray-800);
}

[data-bs-theme='dark'] .munhaj-filter-segmented .munhaj-pricing-mode-tabs {
    background-color: var(--bs-gray-100);
    border-color: var(--bs-border-color);
}

[data-bs-theme='dark'] .munhaj-filter-segmented .munhaj-pricing-mode-tab:hover:not(.is-active) {
    background: var(--bs-gray-200);
    color: var(--bs-gray-900);
    border-color: var(--bs-border-color);
}

[data-bs-theme='dark'] .munhaj-filter-segmented .munhaj-pricing-mode-tab.is-active,
[data-bs-theme='dark'] .munhaj-filter-segmented .munhaj-segmented-radio-option:has(input[type='radio']:checked) {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #ffffff;
}

.munhaj-short-path-fields {
    width: 100%;
}

.munhaj-short-path-fields__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.munhaj-short-path-fields__row--labels {
    margin-bottom: 0.5rem;
}

.munhaj-short-path-fields__row--controls {
    align-items: flex-start;
}

.munhaj-short-path-fields__code-label,
.munhaj-short-path-fields__code-control {
    flex: 0 0 10.5rem;
    width: 10.5rem;
    max-width: 10.5rem;
}

.munhaj-short-path-fields__code-control input[type='number'] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.munhaj-short-path-fields__code-control input[type='number']::-webkit-outer-spin-button,
.munhaj-short-path-fields__code-control input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.munhaj-short-path-fields__link-label,
.munhaj-short-path-fields__link-control {
    flex: 1 1 0;
    min-width: 0;
}

.munhaj-short-path-fields__row--code-only {
    max-width: 10.5rem;
}

.munhaj-short-path-fields__row--code-only .munhaj-short-path-fields__code-label,
.munhaj-short-path-fields__row--code-only .munhaj-short-path-fields__code-control {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
}

@media (max-width: 767.98px) {
    .munhaj-short-path-fields__row:not(.munhaj-short-path-fields__row--code-only) {
        flex-direction: column;
        align-items: stretch;
    }

    .munhaj-short-path-fields__code-label,
    .munhaj-short-path-fields__code-control {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
    }

    .munhaj-short-path-url-controls {
        flex-wrap: wrap;
    }
}

.munhaj-short-path-url-controls {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.munhaj-short-path-url-controls .munhaj-form-control-icon-wrap {
    flex: 1 1 0;
    min-width: 0;
}

.munhaj-short-path-url-display {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    font-size: 0.925rem;
}

.munhaj-short-path-url-controls .munhaj-short-path-btn {
    min-height: calc(1.5em + 1.65rem + 2px);
    padding-inline: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}

.munhaj-short-path-url-controls .btn-primary {
    background-color: #1B84FF;
    border-color: #1B84FF;
}

.munhaj-short-path-url-controls .btn-primary:hover:not(:disabled),
.munhaj-short-path-url-controls .btn-primary:focus-visible:not(:disabled) {
    background-color: #187de4;
    border-color: #187de4;
}

.munhaj-short-path-url-controls .btn-outline-primary {
    color: #1B84FF;
    border-color: #1B84FF;
    background-color: #f1faff;
}

.munhaj-short-path-url-controls .btn-outline-primary:hover:not(.disabled),
.munhaj-short-path-url-controls .btn-outline-primary:focus-visible:not(.disabled) {
    color: #fff;
    background-color: #1B84FF;
    border-color: #1B84FF;
}

[data-bs-theme="dark"] .munhaj-short-path-url-controls .btn-outline-primary {
    background-color: rgba(27, 132, 255, 0.1);
}

.munhaj-contrib-free-amount-row .munhaj-contrib-free-amount-field > .mb-2 {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .munhaj-contrib-free-amount-row .munhaj-contrib-free-suggested-switch {
        padding-top: 2.125rem;
    }

    .munhaj-contrib-free-amount-row .munhaj-form-switch-card {
        min-height: calc(1.5em + 1.65rem + 2px);
    }
}

.munhaj-contribution-blueprint .preset-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.65rem;
    border: 1px solid #e4e6ef;
    border-radius: 0.625rem;
    background: #fff;
    min-height: 3.35rem;
}

.munhaj-contribution-blueprint .preset-tags.disabled {
    opacity: 0.55;
}

.munhaj-contribution-blueprint .preset-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #e1f0ff;
    background: #f1faff;
    color: #1B84FF;
    border-radius: 999px;
    padding: 0.35rem 0.45rem 0.35rem 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
}

.munhaj-contribution-blueprint .preset-tag b {
    font-size: 1rem;
    font-weight: 700;
}

.munhaj-contribution-blueprint .preset-tag-remove {
    border: 0;
    background: transparent;
    color: #a1a5b7;
    width: 1.9rem;
    height: 1.9rem;
    font-size: 1.1rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
}

.munhaj-contribution-blueprint .preset-draft-row {
    display: inline-flex;
    align-items: center;
    flex: 1 1 9rem;
    min-width: 8.5rem;
    gap: 0.4rem;
}

.munhaj-contribution-blueprint .preset-draft-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    border: 0;
    background: transparent;
    min-height: 2rem;
    font-size: 0.8125rem;
}

.munhaj-contribution-blueprint .preset-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
    padding: 0;
    border: 1px solid #1B84FF;
    border-radius: 0.5rem;
    background: #1B84FF;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(24, 125, 228, 0.25);
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.munhaj-contribution-blueprint .preset-add:hover:not(:disabled),
.munhaj-contribution-blueprint .preset-add:focus-visible:not(:disabled) {
    background: #187de4;
    border-color: #187de4;
    color: #fff;
    box-shadow: 0 2px 6px rgba(24, 125, 228, 0.35);
}

.munhaj-contribution-blueprint .preset-add:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.external-donation-log-wrap {
    max-height: 220px;
    overflow-y: auto;
}

.munhaj-vertical-form-layout {
    text-transform: none;
}

@media (min-width: 992px) {
    .munhaj-vertical-form-tabs {
        flex: 0 0 19.5rem;
        width: 19.5rem;
        max-width: 19.5rem;
    }

    .munhaj-vertical-form-tab-panels {
        flex: 1 1 0;
        min-width: 0;
    }
}

.munhaj-vertical-form-tabs {
    width: 100%;
}

.munhaj-vertical-form-tabs-card {
    position: sticky;
    top: 1rem;
    border: 1px solid #e4e6ef;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.munhaj-vertical-form-tabs-nav {
    gap: 0.4rem;
    border: 0;
}

.munhaj-vertical-form-tabs-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.625rem;
    border: 1px solid transparent;
    border-inline-start: 3px solid transparent;
    color: #000;
    font-weight: 600;
    font-size: 0.92rem;
    text-align: start;
    width: 100%;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.munhaj-vertical-form-tabs-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 0.5rem;
    background: #f1f1f4;
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.munhaj-vertical-form-tabs-text {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    line-height: 1.35;
}

.munhaj-vertical-form-tabs-icon {
    width: 1.1rem;
    flex-shrink: 0;
    text-align: center;
    color: #000;
    font-size: 0.9rem;
}

.munhaj-vertical-form-tabs-nav .nav-link.active {
    background-color: #f1faff;
    border-color: rgba(27, 132, 255, 0.35);
    border-inline-start-color: #1b84ff;
    color: #000;
    box-shadow: 0 1px 2px rgba(27, 132, 255, 0.08);
}

.munhaj-vertical-form-tabs-nav .nav-link.active .munhaj-vertical-form-tabs-step {
    background: #1b84ff;
    color: #fff;
}

.munhaj-vertical-form-tabs-nav .nav-link.active .munhaj-vertical-form-tabs-icon {
    color: #000;
}

.munhaj-vertical-form-tabs-nav .nav-link:hover:not(.active) {
    background-color: #fff;
    border-inline-start-color: #e4e6ef;
    color: #000;
}

.munhaj-vertical-form-tabs-hint {
    font-size: 0.75rem;
    line-height: 1.45;
    color: #000;
    padding: 0.65rem 0.5rem 0;
    border-top: 1px dashed #e4e6ef;
}

/* Light dashboard — black form copy (theme lives on <html>, not body). */
html:not([data-bs-theme="dark"]) .app-main .text-muted,
html:not([data-bs-theme="dark"]) .app-main .form-text,
html:not([data-bs-theme="dark"]) .app-main .form-label,
html:not([data-bs-theme="dark"]) .app-main .col-form-label,
html:not([data-bs-theme="dark"]) .app-main .form-control,
html:not([data-bs-theme="dark"]) .app-main .form-control::placeholder,
html:not([data-bs-theme="dark"]) .app-main .form-select,
html:not([data-bs-theme="dark"]) .app-main .form-check-label,
html:not([data-bs-theme="dark"]) .app-main .munhaj-form-switch-text,
html:not([data-bs-theme="dark"]) .app-main .select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered,
html:not([data-bs-theme="dark"]) .app-main .select2-container--bootstrap5 .select2-selection--single .select2-selection__placeholder,
html:not([data-bs-theme="dark"]) .app-main .select2-container--bootstrap5 .select2-selection--multiple .select2-selection__rendered,
html:not([data-bs-theme="dark"]) .app-main .select2-container--bootstrap5 .select2-dropdown .select2-results__option {
    color: #000 !important;
}

html:not([data-bs-theme="dark"]) .app-main .select2-container--bootstrap5 .select2-search__field::placeholder {
    color: #000 !important;
    opacity: 0.65;
}

html:not([data-bs-theme="dark"]) .app-main .form-control.form-control-solid {
    background-color: #ffffff;
    border-color: var(--bs-gray-100);
    color: #000000;
    transition: color 0.2s ease;
    border: 1px solid #ddd;
}

html:not([data-bs-theme="dark"]) .app-main .form-control.form-control-solid::placeholder {
    color: #000000;
    opacity: 0.55;
}

.app-main .munhaj-date-range-picker {
    width: 100%;
    min-height: calc(1.5em + 1.65rem + 2px);
    padding: 0.825rem 1rem;
    cursor: pointer;
    box-shadow: none;
}

.app-main .munhaj-date-range-picker__value {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    color: inherit;
}

.app-main .munhaj-date-range-picker__icon {
    color: var(--bs-gray-500);
}

.app-main .munhaj-date-range-picker__caret {
    color: var(--bs-gray-600);
    font-size: 0.85rem;
}

html:not([data-bs-theme="dark"]) .app-main .munhaj-date-range-picker.form-control-solid {
    background-color: #ffffff;
    border: 1px solid #ddd;
    color: #000000;
}

html:not([data-bs-theme="dark"]) .app-main .munhaj-date-range-picker.form-control-solid:hover,
html:not([data-bs-theme="dark"]) .app-main .munhaj-date-range-picker.form-control-solid:focus {
    border-color: #aeaeae;
    background-color: #ffffff;
    color: #000000;
}

[data-bs-theme="dark"] .app-main .munhaj-date-range-picker.form-control-solid {
    background-color: var(--bs-gray-100) !important;
    border: 1px solid var(--bs-border-color) !important;
    color: var(--bs-gray-900) !important;
}

[data-bs-theme="dark"] .app-main .munhaj-date-range-picker.form-control-solid:hover,
[data-bs-theme="dark"] .app-main .munhaj-date-range-picker.form-control-solid:focus {
    border-color: var(--bs-primary) !important;
}

html:not([data-bs-theme="dark"]) .app-main .dropdown.show > .form-control.form-control-solid,
html:not([data-bs-theme="dark"]) .app-main .form-control.form-control-solid:active,
html:not([data-bs-theme="dark"]) .app-main .form-control.form-control-solid.active,
html:not([data-bs-theme="dark"]) .app-main .form-control.form-control-solid:focus,
html:not([data-bs-theme="dark"]) .app-main .form-control.form-control-solid.focus {
    background-color: #ffffff;
    border-color: #aeaeae;
    color: #000000;
    transition: color 0.2s ease;
    border: 1px solid #aeaeae;
}

/* Collapsed sidebar: fixed width (toggle only), icon + caption stacked */
@media (min-width: 992px) {
    [data-kt-app-sidebar-minimize='on'] {
        --bs-app-sidebar-width: 108px;
    }

    html[dir='ltr'] [data-kt-app-sidebar-minimize='on'] {
        --bs-app-sidebar-width: 116px;
    }

    [data-kt-app-sidebar-minimize='on'] .app-sidebar,
    [data-kt-app-sidebar-minimize='on'] .app-sidebar:hover {
        width: var(--bs-app-sidebar-width) !important;
        min-width: var(--bs-app-sidebar-width) !important;
        max-width: var(--bs-app-sidebar-width) !important;
    }

    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-wrapper {
        width: var(--bs-app-sidebar-width) !important;
        max-width: var(--bs-app-sidebar-width) !important;
    }

    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu-title {
        opacity: 1 !important;
        visibility: visible !important;
    }

    body.app-sidebar-minimize[data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item,
    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item {
        padding-left: 0;
        padding-right: 0;
    }

    body.app-sidebar-minimize[data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link,
    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link {
        flex-direction: column !important;
        flex-wrap: nowrap;
        align-items: center !important;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.45rem 0.25rem 0.5rem !important;
        text-align: center;
        min-height: 4.75rem;
        width: 100%;
        max-width: 100%;
    }

    body.app-sidebar-minimize[data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link .menu-icon,
    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link .menu-icon {
        order: 1;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: auto;
    }

    body.app-sidebar-minimize[data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link .menu-title,
    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link .menu-title {
        order: 2;
        flex-grow: 0;
        justify-content: center;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        font-size: 0.68rem;
        line-height: 1.2;
        font-weight: 600;
        white-space: normal;
        word-break: break-word;
        text-wrap: balance;
    }

    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link .menu-title strong {
        font-weight: inherit;
    }

    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link .menu-arrow,
    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link .munhaj-sidebar-flyout__chevron {
        display: none !important;
    }

    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-logo {
        justify-content: center;
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
    }
}

/* Sidebar fly-out submenus — anchored to #kt_app_sidebar (no viewport gap). */
.munhaj-sidebar-flyout__trigger {
    text-align: inherit;
    cursor: pointer;
}

.munhaj-sidebar-flyout-host {
    display: block;
    height: 0;
    overflow: visible;
    pointer-events: none;
}

.munhaj-sidebar-flyout-panel {
    position: fixed;
    z-index: 1105;
    width: 265px;
    max-width: 265px;
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: 0 0 28px 0 rgba(82, 63, 105, 0.08);
    border-inline-start: 1px solid var(--bs-gray-200);
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    isolation: isolate;
    pointer-events: auto;
}

@media (min-width: 992px) {
    .munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible {
        height: auto !important;
        min-height: 0;
        align-self: flex-start;
    }

    .munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible .munhaj-sidebar-flyout-panel__body {
        flex: 0 1 auto;
        overflow-y: auto;
    }

    body[dir="rtl"] .munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible,
    html[dir="rtl"] .munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible {
        border-inline-start: 0;
        border-inline-end: 1px solid var(--bs-gray-200);
        box-shadow: -12px 0 28px rgba(15, 23, 42, 0.14);
    }

    body[dir="rtl"] .munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible::before,
    html[dir="rtl"] .munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible::before {
        display: none;
    }

    body[dir="ltr"] .munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible,
    html[dir="ltr"] .munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible {
        border-inline-end: 0;
        box-shadow: 12px 0 28px rgba(15, 23, 42, 0.14);
    }

    body[dir="ltr"] .munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible::before,
    html[dir="ltr"] .munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 100%;
        width: 6px;
    }

    html[dir="rtl"] .munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible {
        direction: rtl;
    }

    html[dir="rtl"] .munhaj-sidebar-flyout-panel__header {
        padding: 1.1rem 0.35rem 0.85rem 1rem;
    }

    html[dir="rtl"] .munhaj-sidebar-flyout-panel__body {
        padding: 0.35rem 0 0.25rem 0.65rem;
    }

    html[dir="rtl"] .munhaj-sidebar-flyout-panel__menu .menu-item {
        margin: 0;
    }

    html[dir="rtl"] .munhaj-sidebar-flyout-panel__menu .menu-item .menu-link {
        justify-content: flex-start;
        padding: 0.65rem 0.35rem 0.65rem 1rem !important;
    }

    html[dir="rtl"] .munhaj-sidebar-flyout-panel__menu .menu-item .menu-link .menu-title {
        text-align: right;
        width: 100%;
    }

    html[dir="ltr"] .munhaj-sidebar-flyout-panel__header {
        padding-inline: 0.75rem 0.3rem;
    }

    html[dir="ltr"] .munhaj-sidebar-flyout-panel__body {
        padding-inline: 0.65rem 0.2rem;
    }

    html[dir="ltr"] .munhaj-sidebar-flyout-panel__menu .menu-item .menu-link {
        padding-inline: 0.85rem 0.35rem;
    }
}

.munhaj-sidebar-flyout-panel[hidden] {
    display: none !important;
}

.munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible {
    display: flex;
}

.munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible {
    opacity: 1;
    visibility: visible;
}

.munhaj-sidebar-flyout-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1rem 0.85rem;
    border-bottom: 1px dashed var(--bs-gray-300);
    flex-shrink: 0;
}

.munhaj-sidebar-flyout-panel__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: #252f4a;
}

[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout-panel__title {
    color: #f5f5f5;
}

[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout-panel__close {
    color: #9a9cae;
}

[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout-panel__close:hover {
    color: #f5f5f5;
    background-color: #1c1c21;
}

.munhaj-sidebar-flyout-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0.75rem 1rem;
}

.munhaj-sidebar-flyout-panel__menu .menu-item .menu-link {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

[data-kt-app-layout="light-sidebar"] .munhaj-sidebar-flyout-panel {
    background-color: var(--bs-app-sidebar-light-bg-color, #ffffff);
    box-shadow: var(--bs-app-sidebar-light-box-shadow, 0 0 28px 0 rgba(82, 63, 105, 0.05));
}

[data-kt-app-layout="light-sidebar"] .munhaj-sidebar-flyout-panel__header,
[data-kt-app-layout="light-sidebar"] .munhaj-sidebar-flyout-panel__body {
    background-color: var(--bs-app-sidebar-light-bg-color, #ffffff);
}

[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout-panel {
    background-color: #0d0e12;
    box-shadow: 0 0 28px 0 rgba(0, 0, 0, 0.35);
    border-inline-color: #1f212a;
}

[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout-panel__header,
[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout-panel__body {
    background-color: #0d0e12;
}

[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout-panel__header {
    border-bottom-color: #1f212a;
}

[data-kt-app-layout="light-sidebar"] .munhaj-sidebar-flyout-panel .menu-item .menu-link,
[data-kt-app-layout="light-sidebar"] .munhaj-sidebar-flyout-panel .menu-item .menu-link .menu-title {
    color: #252f4a;
}

[data-kt-app-layout="light-sidebar"] .munhaj-sidebar-flyout-panel .menu-item .menu-link:hover:not(.active),
[data-kt-app-layout="light-sidebar"] .munhaj-sidebar-flyout-panel .menu-item .menu-link:hover:not(.active) .menu-title {
    color: #252f4a;
    background-color: #f7f8fb;
}

[data-kt-app-layout="light-sidebar"] .munhaj-sidebar-flyout-panel .menu-item .menu-link.active,
[data-kt-app-layout="light-sidebar"] .munhaj-sidebar-flyout-panel .menu-item .menu-link.active .menu-title {
    background-color: #f7f8fb;
    color: var(--bs-primary);
}

[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout-panel .menu-item .menu-link,
[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout-panel .menu-item .menu-link .menu-title {
    color: #9a9cae;
}

[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout-panel .menu-item .menu-link:hover:not(.active),
[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout-panel .menu-item .menu-link:hover:not(.active) .menu-title {
    color: #f5f5f5;
    background-color: #1c1c21;
}

[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout-panel .menu-item .menu-link.active,
[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout-panel .menu-item .menu-link.active .menu-title {
    background-color: #1c1c21;
    color: #f5f5f5;
}

.munhaj-sidebar-flyout__trigger--open:not(.active) {
    background-color: #f7f8fb;
}

[data-kt-app-layout="dark-sidebar"] .munhaj-sidebar-flyout__trigger--open:not(.active) {
    background-color: #1c1c21;
}

@media (max-width: 991.98px) {
    .munhaj-sidebar-flyout-host {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1105;
        pointer-events: none;
    }

    body.munhaj-sidebar-flyout-open--mobile .munhaj-sidebar-flyout-host {
        pointer-events: auto;
    }

    .munhaj-sidebar-flyout-host [data-munhaj-flyout-backdrop] {
        position: fixed;
        inset: 0;
        z-index: 0;
        border: 0;
        padding: 0;
        margin: 0;
        background: rgba(15, 23, 42, 0.45);
        pointer-events: auto;
        cursor: pointer;
    }

    .munhaj-sidebar-flyout-panel {
        position: fixed;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0;
        z-index: 1;
        width: 100%;
        max-width: 100%;
        height: min(72dvh, 32rem) !important;
        max-height: calc(100dvh - 3rem);
        border-radius: 1rem 1rem 0 0;
        border-inline: 0;
        box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
        transform: translateY(105%);
        transition: opacity 0.2s ease, transform 0.24s ease, visibility 0.2s ease;
        pointer-events: auto;
        -webkit-overflow-scrolling: touch;
    }

    .munhaj-sidebar-flyout-panel.munhaj-sidebar-flyout-panel--visible {
        transform: translateY(0) !important;
    }

    .munhaj-sidebar-flyout-panel__header {
        padding-top: 1.25rem;
    }

    .munhaj-sidebar-flyout-panel__body {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }

    .munhaj-sidebar-flyout-panel__body .menu-item .menu-link {
        min-height: 2.75rem;
    }

    /* Drawer menu: always row layout (ignore desktop minimize state). */
    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: inherit !important;
        min-height: 0 !important;
        padding: 0.65rem 1rem !important;
        gap: 0 !important;
    }

    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link .menu-icon {
        order: 0;
        margin-left: 0.5rem !important;
        width: 2rem;
    }

    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link .menu-title {
        display: flex !important;
        -webkit-line-clamp: unset;
        overflow: visible;
        font-size: inherit !important;
        white-space: nowrap;
    }

    html[dir='ltr'] [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link .menu-icon {
        margin-left: 0 !important;
        margin-right: 0.5rem !important;
    }

    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link .menu-arrow,
    [data-kt-app-sidebar-minimize='on'] .app-sidebar .app-sidebar-menu .menu > .menu-item > .menu-link .munhaj-sidebar-flyout__chevron {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    .munhaj-sidebar-flyout__trigger {
        cursor: pointer;
    }
}

.munhaj-locale-tabs {
    margin-bottom: 1.25rem;
}

.munhaj-locale-tabs--single {
    margin-bottom: 0;
}

.munhaj-locale-tabs--single .munhaj-locale-tab-panels > .tab-pane {
    display: block !important;
    opacity: 1 !important;
}

.munhaj-locale-tabs-bar {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.35rem;
    max-width: 100%;
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 0.625rem;
}

.munhaj-locale-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.5rem 1rem;
    min-height: 2.35rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    background: transparent;
    color: #7e8299;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    text-transform: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.munhaj-locale-tab:hover:not(.active) {
    background: #fff;
    color: #3f4254;
}

.munhaj-locale-tab.active {
    background: #fff;
    border-color: #1b84ff;
    color: #1b84ff;
    box-shadow: 0 1px 2px rgba(27, 132, 255, 0.08);
}

.munhaj-locale-tab-panels {
    padding-top: 0.25rem;
}

.munhaj-project-properties {
    margin-top: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
}

.munhaj-project-properties-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-bottom: 1.15rem;
}

.munhaj-project-properties-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #181c32;
}

.munhaj-project-properties-title-icon {
    font-size: 1.1rem;
    color: #1b84ff;
}

.munhaj-project-properties-badge {
    margin-inline-start: auto;
    padding: 0.25rem 0.65rem;
    border: 1px solid #e1efff;
    border-radius: 999px;
    background-color: #f1faff;
    color: #1b84ff;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.4;
}

.munhaj-project-properties-row {
    align-items: flex-end;
}

.munhaj-project-properties .mb-2,
.munhaj-project-properties .my-5 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.munhaj-project-properties .form-label {
    min-height: 2.75rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-end;
    line-height: 1.35;
}

.munhaj-project-properties textarea.form-control {
    min-height: 6.5rem;
    resize: vertical;
}

.munhaj-project-properties-hint {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #a1a5b7;
}

@media (max-width: 767.98px) {
    .munhaj-project-properties-badge {
        margin-inline-start: 0;
    }

}

.munhaj-project-form-context {
    border: 1px solid #eff2f5;
    background: #f9fafb;
}

[data-bs-theme="dark"] .munhaj-project-form-context {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

.munhaj-project-form-toolbar {
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #eff2f5;
    border-radius: 0.625rem;
    width: 100%;
    justify-content: flex-start;
    gap: 0.5rem 0.65rem;
}

[data-bs-theme="dark"] .munhaj-project-form-toolbar {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .munhaj-project-form-toolbar .btn-light-primary {
    color: var(--bs-primary);
    background-color: rgba(27, 132, 255, 0.12);
    border-color: rgba(27, 132, 255, 0.35);
}

[data-bs-theme="dark"] .munhaj-project-form-toolbar .btn-light-primary:hover,
[data-bs-theme="dark"] .munhaj-project-form-toolbar .btn-light-primary:focus {
    color: #fff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

[data-bs-theme="dark"] .munhaj-project-form-toolbar .btn-light-success {
    color: var(--bs-success);
    background-color: rgba(80, 205, 137, 0.12);
    border-color: rgba(80, 205, 137, 0.35);
}

[data-bs-theme="dark"] .munhaj-project-form-toolbar .btn-light-success:hover,
[data-bs-theme="dark"] .munhaj-project-form-toolbar .btn-light-success:focus {
    color: #fff;
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}

[data-bs-theme="dark"] .munhaj-project-form-toolbar .btn-light-info {
    color: var(--bs-info);
    background-color: rgba(114, 57, 234, 0.12);
    border-color: rgba(114, 57, 234, 0.35);
}

[data-bs-theme="dark"] .munhaj-project-form-toolbar .btn-light-info:hover,
[data-bs-theme="dark"] .munhaj-project-form-toolbar .btn-light-info:focus {
    color: #fff;
    background-color: var(--bs-info);
    border-color: var(--bs-info);
}

[data-bs-theme="dark"] .munhaj-project-form-toolbar .btn-success {
    box-shadow: 0 0 0 1px rgba(80, 205, 137, 0.25);
}

.munhaj-payment-methods-block {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px dashed #e4e6ef;
}

.munhaj-payment-methods-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #181c32;
    margin-bottom: 1rem !important;
}

.munhaj-payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 767.98px) {
    .munhaj-payment-methods-grid {
        grid-template-columns: 1fr;
    }
}

.munhaj-payment-method-pill {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    min-height: 4rem;
    padding: 1.05rem 1.35rem;
    margin: 0;
    border: 1px solid #e4e6ef;
    border-radius: 0.85rem;
    background-color: #fff;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.munhaj-payment-method-pill:hover {
    border-color: #c4cada;
}

.munhaj-payment-method-pill input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.munhaj-payment-method-label {
    flex: 1 1 auto;
    font-weight: 600;
    font-size: 1.02rem;
    color: #3f4254;
    line-height: 1.35;
}

.munhaj-payment-method-icon {
    flex-shrink: 0;
    font-size: 1.4rem;
    color: #a1a5b7;
}

.munhaj-payment-method-radio {
    flex-shrink: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background-color: #fff;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.munhaj-payment-method-radio::after {
    content: '';
    display: block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.15s ease, transform 0.15s ease;
    transform: scale(0.5);
}

.munhaj-payment-method-pill.is-selected {
    border-color: #1b84ff;
    background-color: #fff;
}

.munhaj-payment-method-pill.is-selected .munhaj-payment-method-label {
    color: #000;
}

.munhaj-payment-method-pill.is-selected .munhaj-payment-method-icon {
    color: #1b84ff;
}

.munhaj-payment-method-pill.is-selected .munhaj-payment-method-radio {
    border-color: #1b84ff;
    background-color: #fff;
}

.munhaj-payment-method-pill.is-selected .munhaj-payment-method-radio::after {
    background-color: #1b84ff;
    transform: scale(1);
}

@media (max-width: 991.98px) {
    .munhaj-vertical-form-tabs-card {
        position: static;
    }

    .munhaj-vertical-form-tabs-nav {
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scrollbar-width: thin;
    }

    .munhaj-vertical-form-tabs-nav .nav-item {
        flex: 0 0 auto;
    }

    .munhaj-vertical-form-tabs-nav .nav-link {
        width: auto;
        min-width: 9.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        padding: 0.65rem 0.75rem;
    }

    .munhaj-vertical-form-tabs-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ——— Dark mode (Metronic + munhaj custom surfaces) ——— */
[data-bs-theme="dark"] .list-group {
    --bs-list-group-color: var(--bs-body-color);
    --bs-list-group-bg: var(--bs-body-bg);
    --bs-list-group-border-color: var(--bs-border-color);
    --bs-list-group-action-color: var(--bs-body-color);
    --bs-list-group-action-hover-color: var(--bs-emphasis-color);
    --bs-list-group-action-hover-bg: var(--bs-tertiary-bg);
    --bs-list-group-action-active-color: var(--bs-body-color);
    --bs-list-group-action-active-bg: var(--bs-secondary-bg);
    --bs-list-group-disabled-color: var(--bs-secondary-color);
    --bs-list-group-disabled-bg: var(--bs-body-bg);
}

[data-bs-theme="dark"] .custom-datatable tbody tr:hover {
    background-color: rgba(27, 132, 255, 0.22) !important;
    color: var(--bs-gray-900) !important;
}

/* Dark dashboard — form copy and solid inputs (Metronic defaults stay light). */
[data-bs-theme="dark"] .app-main .text-muted,
[data-bs-theme="dark"] .app-main .form-text {
    color: var(--bs-gray-700) !important;
}

[data-bs-theme="dark"] .app-main .form-label,
[data-bs-theme="dark"] .app-main .col-form-label,
[data-bs-theme="dark"] .app-main .form-check-label,
[data-bs-theme="dark"] .app-main .munhaj-form-switch-text {
    color: var(--bs-gray-800) !important;
}

[data-bs-theme="dark"] .app-main .form-control,
[data-bs-theme="dark"] .app-main .form-select {
    color: var(--bs-gray-900) !important;
}

[data-bs-theme="dark"] .app-main .form-control::placeholder {
    color: var(--bs-gray-600) !important;
    opacity: 1;
}

[data-bs-theme="dark"] .app-main .form-control.form-control-solid,
[data-bs-theme="dark"] .app-main .form-select.form-select-solid,
[data-bs-theme="dark"] .app-main textarea.form-control.form-control-solid {
    background-color: var(--bs-gray-100) !important;
    border-color: var(--bs-border-color) !important;
    color: var(--bs-gray-900) !important;
}

[data-bs-theme="dark"] .app-main .form-control.form-control-solid::placeholder {
    color: var(--bs-gray-600) !important;
    opacity: 1;
}

[data-bs-theme="dark"] .app-main .dropdown.show > .form-control.form-control-solid,
[data-bs-theme="dark"] .app-main .form-control.form-control-solid:active,
[data-bs-theme="dark"] .app-main .form-control.form-control-solid.active,
[data-bs-theme="dark"] .app-main .form-control.form-control-solid:focus,
[data-bs-theme="dark"] .app-main .form-control.form-control-solid.focus,
[data-bs-theme="dark"] .app-main .form-select.form-select-solid:focus {
    background-color: var(--bs-gray-100) !important;
    border-color: var(--bs-primary) !important;
    color: var(--bs-gray-900) !important;
}

[data-bs-theme="dark"] .app-main .select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered,
[data-bs-theme="dark"] .app-main .select2-container--bootstrap5 .select2-selection--single .select2-selection__placeholder,
[data-bs-theme="dark"] .app-main .select2-container--bootstrap5 .select2-selection--multiple .select2-selection__rendered,
[data-bs-theme="dark"] .app-main .select2-container--bootstrap5 .select2-dropdown .select2-results__option {
    color: var(--bs-gray-900) !important;
}

[data-bs-theme="dark"] .app-main .select2-container--bootstrap5 .select2-search__field::placeholder {
    color: var(--bs-gray-600) !important;
    opacity: 1;
}

[data-bs-theme="dark"] .munhaj-form-switch-card {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .munhaj-form-switch-text {
    color: var(--bs-gray-700);
}

[data-bs-theme="dark"] .munhaj-form-switch-toggle .form-switch.form-check-solid .form-check-input:not(:checked) {
    background-color: var(--bs-gray-300);
}

[data-bs-theme="dark"] .munhaj-contrib-panel,
[data-bs-theme="dark"] .munhaj-contrib-panel--shared {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .munhaj-contrib-panel-title,
[data-bs-theme="dark"] .munhaj-contrib-heading,
[data-bs-theme="dark"] .munhaj-project-properties-title,
[data-bs-theme="dark"] .munhaj-payment-methods-title {
    color: var(--bs-gray-900);
}

[data-bs-theme="dark"] .munhaj-contrib-subheading {
    color: var(--bs-gray-800);
}

[data-bs-theme="dark"] .munhaj-contrib-hint,
[data-bs-theme="dark"] .munhaj-project-properties-hint,
[data-bs-theme="dark"] .munhaj-vertical-form-tabs-hint {
    color: var(--bs-gray-700);
}

[data-bs-theme="dark"] .munhaj-pricing-mode-tabs {
    background-color: var(--bs-gray-100);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .munhaj-pricing-mode-tab {
    color: var(--bs-gray-700);
}

[data-bs-theme="dark"] .munhaj-pricing-mode-tab:hover:not(.is-active) {
    color: var(--bs-gray-900);
    background-color: rgba(255, 255, 255, 0.06);
}

[data-bs-theme="dark"] .munhaj-pricing-mode-tab.is-active,
[data-bs-theme="dark"] .munhaj-segmented-radio-option:has(input[type="radio"]:checked) {
    background-color: var(--bs-body-bg);
    border-color: #1b84ff;
    color: #5aa7ff;
}

[data-bs-theme="dark"] .munhaj-contribution-blueprint .preset-tags {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .munhaj-contribution-blueprint .preset-tag {
    background-color: rgba(27, 132, 255, 0.12);
    border-color: rgba(27, 132, 255, 0.35);
    color: var(--bs-primary);
}

[data-bs-theme="dark"] .munhaj-contribution-blueprint .preset-draft-input {
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .munhaj-contribution-blueprint .preset-add {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

[data-bs-theme="dark"] .munhaj-contribution-blueprint .preset-add:hover:not(:disabled),
[data-bs-theme="dark"] .munhaj-contribution-blueprint .preset-add:focus-visible:not(:disabled) {
    background-color: #187de4;
    border-color: #187de4;
}

[data-bs-theme="dark"] .munhaj-vertical-form-tabs-nav .nav-link {
    color: var(--bs-gray-700);
}

[data-bs-theme="dark"] .munhaj-vertical-form-tabs-nav .nav-link .munhaj-vertical-form-tabs-icon,
[data-bs-theme="dark"] .munhaj-vertical-form-tabs-nav .nav-link.active .munhaj-vertical-form-tabs-icon {
    color: inherit;
}

[data-bs-theme="dark"] .munhaj-vertical-form-tabs-nav .nav-link.active {
    background-color: rgba(27, 132, 255, 0.12);
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

[data-bs-theme="dark"] .munhaj-vertical-form-tabs-nav .nav-link:hover:not(.active) {
    background-color: var(--bs-body-bg);
    color: var(--bs-gray-800);
}

[data-bs-theme="dark"] .munhaj-vertical-form-tabs-card {
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .munhaj-vertical-form-tabs-step {
    background: var(--bs-gray-200);
    color: var(--bs-gray-800);
}

[data-bs-theme="dark"] .munhaj-vertical-form-tabs-nav .nav-link.active .munhaj-vertical-form-tabs-step {
    background: var(--bs-primary);
    color: #fff;
}

[data-bs-theme="dark"] .munhaj-vertical-form-tabs-hint {
    border-top-color: var(--bs-border-color);
    color: var(--bs-gray-700);
}

[data-bs-theme="dark"] .munhaj-locale-tabs-bar {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .munhaj-locale-tab {
    color: var(--bs-gray-600);
}

[data-bs-theme="dark"] .munhaj-locale-tab.active {
    background-color: var(--bs-gray-200);
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

[data-bs-theme="dark"] .munhaj-locale-tab:hover:not(.active) {
    background-color: var(--bs-gray-200);
    color: var(--bs-gray-800);
}

[data-bs-theme="dark"] .munhaj-project-properties-badge {
    background-color: rgba(27, 132, 255, 0.12);
    border-color: rgba(27, 132, 255, 0.35);
    color: var(--bs-primary);
}

[data-bs-theme="dark"] .munhaj-payment-methods-block {
    border-top-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .munhaj-payment-method-pill {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .munhaj-payment-method-label {
    color: var(--bs-gray-800);
}

[data-bs-theme="dark"] .munhaj-payment-method-pill.is-selected {
    background-color: var(--bs-body-bg);
}

[data-bs-theme="dark"] .select2-container--bootstrap5 .select2-selection {
    background-color: var(--bs-gray-100);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
    color: var(--bs-gray-800);
}

[data-bs-theme="dark"] .select2-dropdown {
    background-color: var(--bs-gray-100);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .select2-container--bootstrap5 .select2-results__option--highlighted {
    background-color: var(--bs-primary);
    color: var(--bs-white);
}

[data-bs-theme="dark"] .ck.ck-editor__editable:not(.ck-editor__nested-editable),
[data-bs-theme="dark"] .ck.ck-toolbar {
    background-color: var(--bs-gray-100) !important;
    border-color: var(--bs-border-color) !important;
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .ck.ck-editor__editable:not(.ck-editor__nested-editable) {
    color: var(--bs-gray-900);
}

[data-bs-theme="dark"] .ck.ck-toolbar .ck.ck-toolbar__separator {
    background: var(--bs-border-color);
}

[data-bs-theme="dark"] .ck.ck-button:not(.ck-disabled):hover,
[data-bs-theme="dark"] .ck.ck-button.ck-on {
    background: var(--bs-gray-200) !important;
}

[data-bs-theme="dark"] .flatpickr-calendar {
    background: var(--bs-gray-100);
    border-color: var(--bs-border-color);
    box-shadow: var(--bs-box-shadow);
}

[data-bs-theme="dark"] .flatpickr-calendar .flatpickr-day,
[data-bs-theme="dark"] .flatpickr-calendar .flatpickr-months .flatpickr-month,
[data-bs-theme="dark"] .flatpickr-current-month .flatpickr-monthDropdown-months,
[data-bs-theme="dark"] .flatpickr-calendar .flatpickr-weekday {
    color: var(--bs-gray-800);
}

[data-bs-theme="dark"] .tagify {
    --tags-border-color: var(--bs-border-color);
    --tag-bg: var(--bs-gray-200);
    --tag-text-color: var(--bs-gray-900);
    --tag-hover: var(--bs-gray-300);
    --placeholder-color: var(--bs-gray-600);
    --placeholder-color-focus: var(--bs-gray-500);
    background-color: var(--bs-gray-100);
}

/* Dashboard auth (login) — aligned with app shell typography and primary. */
.munhaj-auth-page {
    text-transform: none;
}

.munhaj-auth {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    background-color: var(--bs-app-bg-color, #f5f8fa);
}

.munhaj-auth-brand {
    display: none;
    flex: 1 1 45%;
    background: linear-gradient(145deg, #151521 0%, #1e1e2d 45%, #252536 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.munhaj-auth-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(var(--bs-primary-rgb), 0.35), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(var(--bs-primary-rgb), 0.2), transparent 50%);
    pointer-events: none;
}

.munhaj-auth-brand-inner {
    position: relative;
    z-index: 1;
    max-width: 420px;
    padding: 3rem 2.5rem;
    margin: auto;
    text-align: center;
}

.munhaj-auth-brand-logo img {
    max-height: 72px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.munhaj-auth-brand-name {
    margin: 1.75rem 0 0.75rem;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.munhaj-auth-brand-tagline {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}

.munhaj-auth-main {
    flex: 1 1 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}

.munhaj-auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--bs-body-bg);
    border-radius: 1rem;
    border: 1px solid var(--bs-border-color);
}

.munhaj-auth-card-body {
    padding: 2.5rem 2.25rem 1.5rem;
}

.munhaj-auth-card-footer {
    padding: 0 2.25rem 1.75rem;
    border-top: 1px dashed var(--bs-border-color);
    padding-top: 1rem;
}

.munhaj-auth-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(var(--bs-primary-rgb), 0.1);
}

@media (min-width: 992px) {
    .munhaj-auth-brand {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .munhaj-auth {
        background: linear-gradient(180deg, #151521 0%, #1e1e2d 120px, var(--bs-app-bg-color, #f5f8fa) 120px);
    }

    .munhaj-auth-main {
        align-items: flex-start;
        padding-top: 2.5rem;
    }
}

/* Dashboard — donation detail as A4 invoice */
body.munhaj-donation-invoice-page #kt_app_content_container {
    padding-inline: 0;
    max-width: 100%;
}

body.munhaj-donation-invoice-page #kt_app_content {
    padding-bottom: 0;
}

html:not([data-bs-theme='dark']) body.munhaj-donation-invoice-page #kt_app_content {
    background: #f1f3f8;
}

[data-bs-theme='dark'] body.munhaj-donation-invoice-page #kt_app_content,
[data-bs-theme='dark'] body.munhaj-donation-invoice-page #kt_app_content_container,
[data-bs-theme='dark'] body.munhaj-donation-invoice-page .app-main {
    background-color: var(--bs-app-bg-color, #151521) !important;
}

.munhaj-donation-invoice-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1.25rem 1rem 2.5rem;
    box-sizing: border-box;
}

.munhaj-donation-invoice {
    width: 210mm;
    max-width: 100%;
    min-height: 0;
    margin: 0 auto;
    padding: 14mm 16mm 16mm;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 0.35rem;
    box-shadow: 0 0.35rem 1.25rem rgba(24, 28, 50, 0.08);
    color: #181c32;
    text-transform: none;
}

.munhaj-donation-invoice__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #181c32;
    margin-bottom: 1.5rem;
}

.munhaj-donation-invoice__brand-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.munhaj-donation-invoice__logo {
    display: block;
    max-width: 11rem;
    max-height: 3.75rem;
    width: auto;
    height: auto;
    object-fit: contain;
}

.munhaj-donation-invoice__brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: #181c32;
    margin: 0 0 0.35rem;
    line-height: 1.25;
}

.munhaj-donation-invoice__doc-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #3f4254;
    margin: 0;
}

.munhaj-donation-invoice__number {
    font-size: 1.15rem;
    font-weight: 800;
    color: #181c32;
    margin: 0 0 0.25rem;
    text-align: end;
}

.munhaj-donation-invoice__ref {
    font-size: 0.75rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #7e8299;
    word-break: break-all;
    text-align: end;
    display: block;
}

.munhaj-donation-invoice__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
    margin-top: 0.65rem;
}

.munhaj-donation-invoice__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 767.98px) {
    .munhaj-donation-invoice__columns {
        grid-template-columns: 1fr;
    }
}

.munhaj-donation-invoice__block-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7e8299;
    margin: 0 0 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e4e6ef;
}

.munhaj-donation-invoice__dl {
    margin: 0;
}

.munhaj-donation-invoice__dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    font-size: 0.875rem;
    border-bottom: 1px dotted #eff2f5;
}

.munhaj-donation-invoice__dl > div:last-child {
    border-bottom: 0;
}

.munhaj-donation-invoice__dl dt {
    font-weight: 600;
    color: #5e6278;
    margin: 0;
}

.munhaj-donation-invoice__dl dd {
    font-weight: 700;
    color: #181c32;
    margin: 0;
    text-align: end;
}

.munhaj-donation-invoice__total-box {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #181c32;
    border-radius: 0.35rem;
    text-align: center;
}

.munhaj-donation-invoice__total-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #7e8299;
    margin-bottom: 0.25rem;
}

.munhaj-donation-invoice__total-value {
    font-size: 1.65rem;
    font-weight: 800;
    color: #181c32;
    line-height: 1.2;
}

.munhaj-donation-invoice__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.munhaj-donation-invoice__table thead th,
.munhaj-donation-invoice__table tbody td,
.munhaj-donation-invoice__table tfoot td {
    text-align: start;
}

.munhaj-donation-invoice__table .munhaj-donation-invoice__col-qty {
    text-align: center;
}

.munhaj-donation-invoice__table .munhaj-donation-invoice__col-money {
    text-align: end;
}

.munhaj-donation-invoice__table thead th {
    padding: 0.65rem 0.5rem;
    border-top: 1px solid #181c32;
    border-bottom: 1px solid #181c32;
    font-size: 0.75rem;
    font-weight: 800;
    color: #3f4254;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.munhaj-donation-invoice__table tbody td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #eff2f5;
    vertical-align: top;
    color: #181c32;
}

.munhaj-donation-invoice__table tfoot td {
    padding: 0.85rem 0.5rem;
    border-top: 2px solid #181c32;
    font-weight: 800;
    font-size: 1rem;
}

.munhaj-donation-invoice__item-title {
    font-weight: 700;
    display: block;
}

.munhaj-donation-invoice__item-meta {
    font-size: 0.78rem;
    color: #7e8299;
    margin-top: 0.2rem;
    display: block;
}

.munhaj-donation-invoice__annex {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px dashed #e4e6ef;
}

.munhaj-donation-invoice__annex-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #181c32;
    margin: 0 0 0.85rem;
}

.munhaj-donation-invoice__footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e4e6ef;
    font-size: 0.75rem;
    color: #a1a5b7;
    text-align: center;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 12mm 14mm;
    }

    body.munhaj-donation-invoice-page .app-sidebar,
    body.munhaj-donation-invoice-page .app-header,
    body.munhaj-donation-invoice-page .app-toolbar,
    body.munhaj-donation-invoice-page #kt_app_footer,
    body.munhaj-donation-invoice-page #kt_scrolltop,
    body.munhaj-donation-invoice-page .d-print-none,
    body:has(.munhaj-donation-invoice) .app-sidebar,
    body:has(.munhaj-donation-invoice) .app-header,
    body:has(.munhaj-donation-invoice) .app-toolbar,
    body:has(.munhaj-donation-invoice) #kt_app_footer,
    body:has(.munhaj-donation-invoice) #kt_scrolltop,
    body:has(.munhaj-donation-invoice) .d-print-none {
        display: none !important;
    }

    body.munhaj-donation-invoice-page,
    body.munhaj-donation-invoice-page #kt_app_content,
    body:has(.munhaj-donation-invoice) .app-wrapper,
    body:has(.munhaj-donation-invoice) .app-main,
    body:has(.munhaj-donation-invoice) #kt_app_content,
    body:has(.munhaj-donation-invoice) #kt_app_content_container {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        background: #fff !important;
    }

    body.munhaj-donation-invoice-page .munhaj-donation-invoice-wrap,
    body:has(.munhaj-donation-invoice) .munhaj-donation-invoice-wrap {
        display: block;
        padding: 0 !important;
    }

    body.munhaj-donation-invoice-page .munhaj-donation-invoice,
    body:has(.munhaj-donation-invoice) .munhaj-donation-invoice {
        width: 100% !important;
        max-width: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        min-height: auto;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .munhaj-donation-invoice__annex.d-print-none {
        display: none !important;
    }

    .munhaj-donation-invoice__table {
        font-size: 0.8125rem;
    }

    .munhaj-donation-invoice__footer {
        margin-top: 1.25rem;
    }
}

.munhaj-input-phone__controls {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    direction: ltr;
}

.munhaj-input-phone__code {
    flex: 0 0 7rem;
    max-width: 7.5rem;
    direction: ltr;
}

.munhaj-input-phone__number {
    flex: 1 1 auto;
    min-width: 0;
}

.munhaj-input-phone__code .form-select,
.munhaj-input-phone .munhaj-input-phone__code .select2-container {
    width: 100% !important;
}

.munhaj-input-phone__code .form-select,
.munhaj-input-phone__code .select2-container--bootstrap5 .select2-selection--single {
    direction: ltr;
    text-align: start;
    padding-inline-start: 0.75rem !important;
    padding-inline-end: 2.15rem !important;
    background-position: right 0.65rem center;
}

.munhaj-input-phone .select2-container--bootstrap5 .select2-selection--single {
    min-height: calc(1.5em + 1.65rem + 2px);
}

.munhaj-input-phone__code .select2-container {
    direction: ltr;
}

.munhaj-input-phone__code .select2-selection__rendered {
    justify-content: flex-start;
    text-align: start;
}

.tab-pane .select2-container--open .select2-dropdown {
    z-index: 1056;
}

.munhaj-section-multicheck {
    position: relative;
}

.munhaj-section-multicheck__control {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    min-height: calc(1.5em + 1.85rem + 2px);
    padding: 0.45rem 2.5rem 0.45rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.475rem;
    background-color: #ffffff;
    cursor: text;
}

.munhaj-section-multicheck.is-invalid .munhaj-section-multicheck__control {
    border-color: var(--bs-danger);
}

.munhaj-section-multicheck__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    max-width: 100%;
}

.munhaj-section-multicheck__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.55rem 0.35rem 0.65rem;
    border-radius: 0.4rem;
    background: var(--bs-gray-300);
    color: var(--bs-gray-800);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    min-height: 2rem;
}

.munhaj-section-multicheck__tag-remove {
    border: 0;
    background: transparent;
    color: var(--bs-gray-700);
    line-height: 1;
    padding: 0 0.2rem;
    font-size: 1.15rem;
    opacity: 0.7;
    cursor: pointer;
}

.munhaj-section-multicheck__tag-remove:hover {
    opacity: 1;
    color: var(--bs-primary);
}

.munhaj-section-multicheck__search {
    flex: 1 1 120px;
    min-width: 80px;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

.munhaj-section-multicheck__caret {
    position: absolute;
    inset-inline-end: 0.85rem;
    top: 50%;
    width: 0.55rem;
    height: 0.55rem;
    border-inline-end: 2px solid var(--bs-gray-600);
    border-bottom: 2px solid var(--bs-gray-600);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.munhaj-section-multicheck__panel {
    position: absolute;
    z-index: 1060;
    inset-inline: 0;
    margin-top: 0.35rem;
    max-height: 280px;
    overflow: auto;
    padding: 0.5rem;
    border: 1px solid var(--bs-gray-300);
    border-radius: 0.475rem;
    background: var(--bs-body-bg);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

.munhaj-section-multicheck__group {
    padding: 0.35rem 0.25rem 0.5rem;
    border-bottom: 1px dashed var(--bs-gray-300);
}

.munhaj-section-multicheck__group:last-child {
    border-bottom: 0;
}

.munhaj-section-multicheck__group-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    cursor: pointer;
}

.munhaj-section-multicheck__children {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-inline-start: 1.75rem;
}

.munhaj-section-multicheck__child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    cursor: pointer;
}

[data-bs-theme="dark"] .munhaj-section-multicheck__control {
    background-color: var(--bs-gray-100);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .munhaj-section-multicheck__tag {
    background: var(--bs-gray-700);
    color: var(--bs-gray-900);
}
