.requiredLabel {
  color: #ff0000;
}
.card-title {
    font-weight: bolder;
}
#template-customizer{
  visibility: hidden !important;
}

.text-left {
    text-align: left!important;
}

.text-right {
    text-align: right!important;
}
.tab-content {
    padding: 0rem;
}
.floor {
    border: 1px solid #c9c9c9;
    padding: 15px;
    margin-bottom: 15px;
    overflow-x: auto; /* Adds horizontal scrolling if items overflow */
}
.accordion:not(.accordion-bordered) > .card:not(:last-of-type) {
    margin-bottom: 1rem;
}

h2, .h2 {
    font-weight: 800;
}
.table th {
    font-weight: 600;
}

.unit {
    width: 85px!important;
    height: 30px!important;
    margin-right: 10px!important;
    margin-bottom: 5px!important;
    border: 1px solid #c9c9c9!important;
    border-color: #7367f0;
    box-shadow: 2px 3px 0px 1px rgba(0, 0, 0, 0.1) 
}

@media(max-width: 1280px) {
    .unit {
        width: 55px !important; /* Adjust as needed */
        font-size: 0.8em;       /* Reduce font size if needed */
    }
}
@media(max-width: 900px) {
    .unit {
        width: 40px !important; /* Adjust as needed */
        font-size: 0.8em;       /* Reduce font size if needed */
    }
}

.avatar img {
    width: 100%;
    height: 100% !important;
}

.light-style .auth-cover-bg-color {
    background-color: #ffffff;
}

.property-header {
padding: 15px;
    text-transform: capitalize;
    border-bottom: 1px solid #e5e5e5;
}

.is-invalid {
    border: 1px solid red;
    background-color: #ffe6e6;
}

/* Modern admin sidebar */
.modern-sidebar {
    --sidebar-accent: #2f6fed;
    --sidebar-accent-soft: rgba(47, 111, 237, 0.1);
    --sidebar-text: #000000;
    --sidebar-muted: #4a4a4a;
    --sidebar-border: #edf0f6;
    background: #fff !important;
    border-right: 1px solid var(--sidebar-border);
    box-shadow: 12px 0 30px rgba(33, 43, 54, 0.04);
}

.modern-sidebar .modern-sidebar-brand {
    min-height: 78px;
    padding: 1rem 1.15rem 0.85rem;
    border-bottom: 1px solid var(--sidebar-border);
}

.modern-sidebar .app-brand-link {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modern-sidebar-logo {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border-radius: 10px;
    background: #f6f8fc;
    border: 1px solid var(--sidebar-border);
    overflow: hidden;
}

.modern-sidebar-logo img {
    max-width: 34px;
    max-height: 34px;
    object-fit: contain;
}

.modern-sidebar-brand-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.modern-sidebar-app-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 700;
}

.modern-sidebar-app-kicker {
    margin-top: 0.2rem;
    color: var(--sidebar-muted);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
}

.modern-sidebar-search {
    position: relative;
    margin: 0.85rem 0.95rem 0.5rem;
}

.modern-sidebar-search i {
    position: absolute;
    top: 50%;
    left: 0.85rem;
    transform: translateY(-50%);
    color: var(--sidebar-muted);
    font-size: 1rem;
    pointer-events: none;
}

.modern-sidebar-search input {
    width: 100%;
    height: 38px;
    padding: 0.45rem 0.85rem 0.45rem 2.35rem;
    border: 1px solid var(--sidebar-border);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--sidebar-text);
    font-size: 0.86rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.modern-sidebar-search input:focus {
    border-color: rgba(47, 111, 237, 0.45);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.09);
}

.modern-sidebar .menu-inner {
    padding: 0.45rem 0.7rem 1rem !important;
}

.modern-sidebar .menu-item {
    margin: 0.1rem 0;
}

.modern-sidebar .menu-link {
    min-height: 42px;
    margin: 0;
    border-radius: 8px;
    color: var(--sidebar-text);
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.modern-sidebar .menu-link:hover {
    background: #f6f8fc;
    color: var(--sidebar-accent);
    transform: translateX(2px);
}

.modern-sidebar .menu-icon {
    width: 1.25rem;
    min-width: 1.25rem;
    color: #000000;
}

.modern-sidebar .menu-item.active > .menu-link,
.modern-sidebar .menu-item.open > .menu-link {
    background: var(--sidebar-accent-soft);
    color: var(--sidebar-accent);
}

.modern-sidebar .menu-item.active > .menu-link .menu-icon,
.modern-sidebar .menu-item.open > .menu-link .menu-icon {
    color: var(--sidebar-accent);
}

.modern-sidebar .menu-item.active > .menu-link {
    box-shadow: inset 3px 0 0 var(--sidebar-accent);
}

.modern-sidebar .menu-sub {
    margin: 0.15rem 0 0.35rem 0.7rem;
    padding-left: 0.65rem;
    border-left: 1px solid #e7ebf3;
}

.modern-sidebar .menu-sub .menu-link {
    min-height: 36px;
    color: #000000;
    font-size: 0.88rem;
    font-weight: 500;
}

.modern-sidebar .menu-sub .menu-icon {
    font-size: 0.95rem;
}

.modern-sidebar .layout-menu-toggle {
    width: 34px;
    min-width: 34px;
    height: 34px;
    justify-content: center;
    border-radius: 8px;
    background: #f6f8fc;
}

.modern-sidebar .layout-menu-toggle:hover {
    transform: none;
}

.modern-sidebar .sidebar-menu-hidden {
    display: none !important;
}

.modern-sidebar .sidebar-menu-search-empty {
    padding: 0.85rem 1rem;
    color: var(--sidebar-muted);
    font-size: 0.85rem;
    text-align: center;
}

@media (min-width: 1200px) {
    .layout-menu-collapsed .modern-sidebar .modern-sidebar-search,
    .layout-menu-collapsed .modern-sidebar .modern-sidebar-brand-text {
        display: none;
    }

    .layout-menu-collapsed .modern-sidebar .modern-sidebar-brand {
        justify-content: center;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }
}

@media (max-width: 1199.98px) {
    .modern-sidebar {
        box-shadow: 18px 0 44px rgba(33, 43, 54, 0.13);
    }
}


/* ===== Global text color: gray -> black ===== */
:root,
.light-style {
    --bs-body-color: #000000;
    --bs-body-color-rgb: 0, 0, 0;
    --bs-heading-color: #000000;
    --bs-emphasis-color: #000000;
    --bs-secondary-color: #000000;
}

body,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: #000000;
}

.form-label, .col-form-label, .form-check-label,
.card-title, .card-header, .card-subtitle, .card-body,
.modal-title, .modal-body,
.breadcrumb-item, .breadcrumb-item.active, .breadcrumb-item a,
.dropdown-item:not(.active):not(:active),
.accordion-button, .accordion-body,
.list-group-item:not(.active),
.text-body, .text-heading, .text-muted, .text-secondary,
.table, .table th, .table td, .table thead th,
.dataTables_info, .dataTables_length, .dataTables_length label, .dataTables_filter label,
.page-item:not(.active):not(.disabled) .page-link,
.form-control, .form-select, .input-group-text,
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-results__option:not(.select2-results__option--highlighted),
.layout-navbar .navbar-nav .nav-link,
.nav-tabs .nav-link:not(.active), .nav-pills .nav-link:not(.active),
.menu-header, .menu-header-text,
.footer {
    color: #000000 !important;
}

.table > :not(caption) > * > * {
    --bs-table-color: #000000;
    --bs-table-color-state: #000000;
}

/* sidebar menu (non-active items) */
.modern-sidebar .menu-item:not(.active):not(.open) > .menu-link,
.modern-sidebar .menu-item:not(.active):not(.open) > .menu-link .menu-icon {
    color: #000000;
}

/* placeholders / disabled stay lighter so empty fields remain recognisable */
.form-control::placeholder,
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #8a8a8a !important;
}
.form-control:disabled, .form-select:disabled {
    color: #555555 !important;
}

/* ===== Stronger black overrides (beat theme specificity) ===== */
html body,
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6,
html body .h1, html body .h2, html body .h3, html body .h4, html body .h5, html body .h6,
html body .card-title, html body .card-title h5, html body .card-header h5,
html body .text-muted, html body .text-body, html body .text-heading, html body .text-secondary,
html body small, html body p {
    color: #000000 !important;
}

/* text on purple / coloured backgrounds stays white */
html body .btn-primary, html body .btn-primary *,
html body .btn-success, html body .btn-success *,
html body .btn-danger, html body .btn-danger *,
html body .btn-info, html body .btn-info *,
html body .btn-warning, html body .btn-warning *,
html body .btn-dark, html body .btn-dark *,
html body .bg-primary, html body .bg-primary *,
html body .bg-success, html body .bg-success *,
html body .bg-danger, html body .bg-danger *,
html body .bg-info, html body .bg-info *,
html body .bg-dark, html body .bg-dark *,
html body .widget-nav-tabs .nav-link, html body .widget-nav-tabs .nav-link h6,
html body .badge:not([class*="bg-label"]),
html body .alert-primary .btn, html body .text-white {
    color: #ffffff !important;
}
