.blgcomment-list>li:nth-child(n+2) {
    margin-block-start: 15px !important;
}

.custom-card {
    border: 1px solid #ced4da;
}

.customizer-action svg {
    width: 23px !important;
    color: #ffffff !important;
}

.active-mode {
    border: solid 2px #000000 !important;
}

.property-img {
    max-width: 507px;
    max-height: 286px;
}

.text-justify {
    text-align: justify;
}

.custom .media {
    padding: 10px !important;
}

.user-avatar {
    width: 30px;
    height: 30px;
}

@media only screen and (max-width: 410px) {
    .header_li {
        display: none !important;
    }
}

.blgcomment-list li .media img {
    width: auto;
    height: 40px !important;
}

#card-element {
    border: 1px solid #e5e5e5 !important;
    border-radius: 5px !important;
    padding: 13px !important;
}

.codex-sidebar .logo-gridwrap {
    padding: 0px 16px !important;
}

.setting-logo {
    width: 300px !important;
    ;
}

.landing-logo {
    max-width: 225px;

}

.auth-main .auth-wrapper.v2 .logo {
    max-width: 300px;

}

.b-brand .logo {
    max-width: 212px !important;

}

.lan-footer .codex-brand {
    margin-block-end: 0px !important;
}

.email-sidebar ul.custom-sidebarmenu-list {
    margin-block-start: 0px;
}

.invoice-logo {
    width: 250px;
}

.codex-calendar .events-list li {
    font-size: 13px;
    font-weight: 500;
    padding: 10px 10px;
    border-radius: 5px;
    color: #fff;
    line-height: 1;
}

.codex-calendar .events-list {
    overflow: auto;
    height: 863px;
}

.landing_logo {
    filter: drop-shadow(2px 3px 7px #011C4B);
}

.head-invoice img {
    width: 250px;
}

.cdx-invoice .body-invoice .table tr td {
    padding: 10px 10px !important;
}


.codex-brand img {
    width: 300px;
}

.codex-authbox .auth-header .codex-brand {
    margin-block-end: 0px;
}


.intro {
    background-repeat: no-repeat;
    background-size: cover;
}

.landing_dash {
    position: absolute;
    right: 0px;
    top: 50%;
    left: auto;
    bottom: 0;
    transform: translateY(-50%);
    overflow: hidden;
    height: 585px;
    display: flex;
    align-items: center;
    width: 60%;
}

.landing_dash img {
    object-fit: cover;
    position: relative;
    right: -220px;
    border-radius: 10px;
    left: auto;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 1440px) {
    .landing_dash {
        display: none;
    }
}

.lan-footer {
    text-align: center;
    background-color: unset;
}

.lan-footer .support-contain p {
    color: #051722;
    font-size: calc(16px + 4*(100vw - 420px) / 1500);
}

.select2-container .select2-selection--single {
    height: 43px !important;
    border-color: #e5e5e5;
}

.select2-container .select2-selection--multiple {
    min-height: 43px !important;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #e5e5e5;
}

/* =========================================================================== */
.dt-length {
    padding-left: 7px !important;
}

.dt-search {
    padding-right: 7px !important;
}

.dt-info {
    padding-left: 7px !important;
}

.dt-paging {
    padding-right: 7px !important;
}

.dt-buttons {
    padding-left: 7px !important;
    float: left;
}

.dt-container {
    margin-top: 10px;
}

html[dir="rtl"] .dt-container,
body[dir="rtl"] .dt-container,
html[dir="rtl"] div.dataTables_wrapper,
body[dir="rtl"] div.dataTables_wrapper {
    direction: rtl;
}

html[dir="rtl"] .dt-buttons,
body[dir="rtl"] .dt-buttons {
    float: right;
    padding-left: 0 !important;
    padding-right: 7px !important;
}

html[dir="rtl"] div.dataTables_wrapper div.dataTables_filter,
body[dir="rtl"] div.dataTables_wrapper div.dataTables_filter {
    float: left;
    text-align: left;
}

.dt-info {
    float: left;
}

.dt-paging {
    float: right;
    padding-top: .85em;
}

.form-group {
    margin-bottom: 15px;
}

div:where(.swal2-container) h2:where(.swal2-title) {
    font-size: 1.2em !important;
}

div:where(.swal2-container) .swal2-html-container {
    font-size: 0.9em !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
    font-size: 0.8em !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    font-size: 0.8em !important;
}

div:where(.swal2-icon) {
    width: 4em !important;
    height: 4em !important;
}

.account-tabs .nav-item .nav-link {
    position: relative;
    padding: 0.7rem 1rem;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.testaments-cards::after {
    background: transparent !important;
}

.pricingpricing .price-card .product-list li::before {
    content: '\eb55';
    color: red;
}

.pricingpricing .price-card .product-list li.enable::before {
    content: "\ea5e";
    color: #00c853;
}

.pricingpricing .price-card .product-list li {
    opacity: 1 !important;
}

.account-tabs .nav-item .nav-link.active {
    color: var(--bs-secondary-rgb);
    background: rgba(var(--bs-secondary-rgb), 0.1);
}

form label {
    text-transform: capitalize;
}

@media print {
    .table-responsive {
        overflow: visible !important;
        height: auto !important;
        display: block !important;
    }
}

.color_type {
    position: relative;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
    margin-right: 10px;
    margin-top: 10px;
    width: 48px;
    height: 48px;
    flex: none;
    cursor: pointer;
}

.cutom_colorr.active::after,
.cutom_colorr.custom::after {
    content: "✓";
    color: #fff;
    font-size: 30px;
    background: none !important;
    font-weight: 900;
    background-color: transparent !important;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 10px;
    line-height: 0;
}


.modal-body .select2-container {
    z-index: 1024;
    width: 100% !important;
}

.modal-backdrop~.select2-container {
    width: 100% !important;
    z-index: 10000 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    line-height: 40px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: rgba(var(--bs-secondary-rgb), 1);
}

.notifier-container {
    z-index: 1072;
}

.select2-container,
.modal-body .select2-container {
    z-index: 1024;
    width: 100% !important;
}


.pc-kanban-wrapper .pc-kanban-column {
    width: 338px;
}

/* DataTables toolbar RTL alignment. Keep this after the base toolbar rules. */
html[dir="rtl"] div.dataTables_wrapper,
body[dir="rtl"] div.dataTables_wrapper,
html[dir="rtl"] div.dt-container,
body[dir="rtl"] div.dt-container {
    direction: rtl;
}

html[dir="rtl"] div.dataTables_wrapper .dt-buttons,
body[dir="rtl"] div.dataTables_wrapper .dt-buttons,
html[dir="rtl"] div.dt-container .dt-buttons,
body[dir="rtl"] div.dt-container .dt-buttons {
    float: right !important;
    direction: rtl;
    padding-left: 0 !important;
    padding-right: 7px !important;
}

html[dir="rtl"] div.dataTables_wrapper .dataTables_filter,
body[dir="rtl"] div.dataTables_wrapper .dataTables_filter,
html[dir="rtl"] div.dt-container .dt-search,
body[dir="rtl"] div.dt-container .dt-search {
    float: left !important;
    direction: rtl;
    text-align: left !important;
}

html[dir="rtl"] div.dataTables_wrapper .dt-buttons .dt-button,
body[dir="rtl"] div.dataTables_wrapper .dt-buttons .dt-button,
html[dir="rtl"] div.dt-container .dt-buttons .dt-button,
body[dir="rtl"] div.dt-container .dt-buttons .dt-button {
    direction: rtl;
}


/* Public language switcher for landing and guest auth pages. */
.public-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    border: 1px solid #dbe6e7;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 3px 12px rgba(36, 89, 90, .08);
    white-space: nowrap;
}

.public-language-option {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 2px 8px;
    border-radius: 999px;
    color: #718084;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: color .15s ease, background-color .15s ease;
}

.public-language-option:hover,
.public-language-option.active {
    color: #fff;
    background: #2f9e91;
}

.public-language-option[lang="ar"] {
    font-family: Tahoma, Arial, sans-serif;
}

.public-language-divider {
    color: #b4c2c4;
    font-size: 11px;
}

.landing-language-item {
    display: flex;
    align-items: center;
    margin-inline: 8px;
}

.auth-main .auth-wrapper .auth-form {
    position: relative;
}

.auth-language-switcher {
    position: absolute;
    z-index: 5;
    top: 26px;
    inset-inline-end: 30px;
}

@media (max-width: 767px) {
    .landing-language-item {
        justify-content: flex-start;
        margin: 8px 0;
    }

    .auth-language-switcher {
        top: 20px;
        inset-inline-end: 20px;
    }
}


/* Refined responsive auth shell and bilingual form presentation. */
.auth-main {
    min-height: 100vh;
    background: #f5fafb;
}

.auth-main .auth-wrapper.v2 {
    min-height: 100vh;
}

.auth-main .auth-wrapper.v2 .auth-form {
    min-width: 0;
    padding: 96px clamp(24px, 6vw, 88px) 48px;
    background: #fff;
    align-items: stretch;
    overflow-y: auto;
}

.auth-main .auth-wrapper.v2 .auth-form > .auth-brandbar {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.auth-main .auth-wrapper.v2 .auth-brandbar .logo {
    position: static;
    width: auto;
    padding: 0;
    flex: 1 1 auto;
}

.auth-main .auth-wrapper.v2 .auth-brandbar .brand-logo {
    max-width: min(250px, 100%);
    max-height: 54px;
    padding: 0;
}

.auth-main .auth-wrapper.v2 .auth-brandbar .auth-language-switcher {
    position: static;
    flex: 0 0 auto;
}

.auth-main .auth-wrapper.v2 .auth-form > .card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    border: 1px solid #e7eff0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(24, 73, 74, .08);
}

.auth-main .auth-wrapper.v2 .auth-form > .card .card-body {
    padding: clamp(24px, 4vw, 40px);
}

.auth-main .auth-wrapper.v2 .auth-form .auth-header h2 {
    margin-bottom: 8px;
    color: #24595a !important;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -.02em;
}

.auth-main .auth-wrapper.v2 .auth-form .auth-header p {
    color: #718084;
    line-height: 1.6;
}

.auth-main .auth-wrapper.v2 .auth-form .form-control {
    min-height: 54px;
    border-color: #dce8e9;
    border-radius: 10px;
    color: #1d3334;
}

.auth-main .auth-wrapper.v2 .auth-form .form-control:focus {
    border-color: #2f9e91;
    box-shadow: 0 0 0 .2rem rgba(47, 158, 145, .12);
}

.auth-main .auth-wrapper.v2 .auth-form .form-floating > label {
    color: #718084;
}

.auth-main .auth-wrapper.v2 .auth-form .btn-secondary {
    min-height: 50px;
    border: 0;
    border-radius: 10px;
    background: #2f9e91;
    box-shadow: 0 8px 18px rgba(47, 158, 145, .18);
    font-weight: 700;
}

.auth-main .auth-wrapper.v2 .auth-form .btn-secondary:hover {
    background: #25867b;
}

.auth-main .auth-wrapper.v2 .auth-form .form-check-label,
.auth-main .auth-wrapper.v2 .auth-form h5 {
    color: #718084;
    font-size: 13px;
}

html[dir="rtl"] .auth-main .auth-wrapper.v2 .auth-form .auth-brandbar {
    direction: rtl;
}

html[dir="rtl"] .auth-main .auth-wrapper.v2 .auth-form .form-check-input {
    float: right;
    margin-right: 0;
    margin-left: .5em;
}

html[dir="rtl"] .auth-main .auth-wrapper.v2 .auth-form .form-check-label,
html[dir="rtl"] .auth-main .auth-wrapper.v2 .auth-form h5 {
    text-align: right;
}

@media (max-width: 991.98px) {
    .auth-main .auth-wrapper.v2 .auth-form {
        padding: 88px 24px 32px;
    }
}

@media (max-width: 575.98px) {
    .auth-main .auth-wrapper.v2 .auth-form {
        padding: 76px 16px 24px;
    }

    .auth-main .auth-wrapper.v2 .auth-form > .auth-brandbar {
        margin-bottom: 20px;
    }

    .auth-main .auth-wrapper.v2 .auth-brandbar .brand-logo {
        max-width: 180px;
    }

    .auth-main .auth-wrapper.v2 .auth-form > .card .card-body {
        padding: 22px 18px;
    }

    .public-language-option {
        padding-inline: 6px;
        font-size: 10px;
    }
}


/* Keep the authentication brand in the panel corner, not centered with the form. */
.auth-main .auth-wrapper.v2 .auth-form > .auth-brandbar {
    position: absolute;
    z-index: 10;
    top: 24px;
    inset-inline: 32px;
    width: auto;
    max-width: none;
    margin: 0;
    direction: ltr;
}

.auth-main .auth-wrapper.v2 .auth-brandbar .logo {
    flex: 0 0 auto;
}

.auth-main .auth-wrapper.v2 .auth-brandbar .brand-logo {
    display: block;
    width: auto;
    max-width: min(230px, 38vw);
    max-height: 48px;
    object-fit: contain;
}

.auth-main .auth-wrapper.v2 .auth-form > .auth-brandbar + .card {
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .auth-main .auth-wrapper.v2 .auth-form > .auth-brandbar {
        top: 22px;
        inset-inline: 24px;
    }
}

@media (max-width: 575.98px) {
    .auth-main .auth-wrapper.v2 .auth-form > .auth-brandbar {
        top: 18px;
        inset-inline: 16px;
    }

    .auth-main .auth-wrapper.v2 .auth-brandbar .brand-logo {
        max-width: 175px;
        max-height: 40px;
    }
}


/* Clean landing-page masthead: compact, corner-aligned, and responsive. */
html,
body.landing-page {
    margin: 0;
    padding: 0;
}

body.landing-page .navbar {
    top: 0;
    min-height: 76px;
    padding: 10px 0;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid #edf3f4;
    box-shadow: 0 5px 18px rgba(36, 89, 90, .07);
}

body.landing-page .navbar .container {
    min-height: 56px;
    display: flex;
    align-items: center;
}

body.landing-page .navbar-brand.landing-logo {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    line-height: 1;
}

body.landing-page .navbar-brand.landing-logo img {
    display: block;
    width: auto;
    height: 48px;
    max-width: 210px;
    object-fit: contain;
}

body.landing-page .navbar-collapse {
    align-items: center;
}

body.landing-page .navbar-nav {
    align-items: center;
    gap: 4px;
}

body.landing-page .navbar .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding-inline: 12px;
    border-radius: 8px;
}

body.landing-page .navbar .nav-link:hover,
body.landing-page .navbar .nav-link.active {
    color: #2f9e91;
    background: #f0f8f7;
}

body.landing-page .landing-language-item {
    margin: 0 8px;
}

body.landing-page .landing-language-item .public-language-switcher {
    margin: 0;
}

@media (max-width: 767.98px) {
    body.landing-page .navbar {
        min-height: 68px;
        padding: 8px 0;
    }

    body.landing-page .navbar .container {
        min-height: 52px;
    }

    body.landing-page .navbar-brand.landing-logo img {
        height: 42px;
        max-width: 175px;
    }

    body.landing-page .navbar-collapse {
        margin-top: 10px;
        padding: 10px 0 4px;
        border-top: 1px solid #edf3f4;
    }

    body.landing-page .navbar-nav {
        align-items: stretch;
        gap: 2px;
    }

    body.landing-page .navbar .nav-link,
    body.landing-page .landing-language-item {
        justify-content: flex-start;
        margin-inline: 0;
    }

    body.landing-page .landing-language-item {
        padding-block: 4px;
    }
}


/* Full-viewport authentication page: no top or bottom background bands. */
html,
body {
    min-height: 100%;
}

body:has(.auth-main) {
    min-height: 100vh;
    background: #fff;
}

.auth-main {
    min-height: 100vh;
    height: 100vh;
    background: #fff;
}

.auth-main .auth-wrapper.v2 {
    height: 100vh;
    min-height: 100vh;
    align-items: stretch;
}

.auth-main .auth-wrapper.v2 .auth-form {
    min-height: 100vh;
    height: 100%;
    align-self: stretch;
    justify-content: center;
}

@media (max-width: 575.98px) {
    .auth-main,
    .auth-main .auth-wrapper.v2,
    .auth-main .auth-wrapper.v2 .auth-form {
        height: auto;
        min-height: 100svh;
    }
}


/* Bilingual admin content fields */
.bilingual-admin-note { display:flex; flex-wrap:wrap; align-items:baseline; gap:.35rem .75rem; padding:.75rem 1rem; margin-bottom:1rem; border:1px solid rgba(39,154,140,.2); border-radius:.5rem; background:rgba(39,154,140,.07); color:#40505c; }
.bilingual-admin-note strong { color:#197c70; }
.bilingual-admin-note span { font-size:.82rem; }
.bilingual-language-label { display:block; margin:.35rem 0 .2rem; color:#6c757d; font-size:.72rem; font-weight:700; letter-spacing:.02em; text-transform:uppercase; }
.bilingual-arabic-label { color:#197c70; text-align:right; }
.bilingual-arabic-input { direction:rtl; text-align:right; }
.classic-editor-field[dir="rtl"] + .ck-editor { direction:rtl; text-align:right; }


/* Arabic pricing table layout */
html[dir="rtl"] .pricingpricing .price-card .product-list {
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .pricingpricing .price-card .product-list li {
    direction: rtl;
    text-align: right;
    padding: 8px 25px 8px 0;
}
html[dir="rtl"] .pricingpricing .price-card .product-list li::before {
    right: 0;
    left: auto;
}
html[dir="rtl"] .pricingpricing .price-card .price-price {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: center;
}
