
.min-h-100 {
    min-height: 100px;
}

.min-h-150 {
    min-height: 150px;
}

.min-h-200 {
    min-height: 200px;
}

.min-h-300 {
    min-height: 300px;
}

.min-h-400 {
    min-height: 400px;
}

.min-h-500 {
    min-height: 500px;
}


.user-profile-banner{
background: linear-gradient(135deg, #4D0B05, 
color-mix(in srgb, #4D0B05 55%, #ffffff)) !important;
}

.property-index-hero, .transfer-index-hero, .sales-index-hero, .ticket-index-hero{
       background: linear-gradient(125deg, #4D0B05 0%, #5f211c 42%, #6b3934 100%) !important;
       color: #F9F2C1;
}

.property-index-hero h2, .transfer-index-hero h2, .sales-index-hero h2, .ticket-index-hero h2 {
      color: #F9F2C1;
}


#propertiesTable thead th, #transfers-table thead th, #sales-table thead th, #ticketsTable thead th{
     background: linear-gradient(180deg, #4D0B05 0%, #6b3934 100%) !important;
     color: #F9F2C1 !important;
}

/* =========================================================
   Tenant theme — burgundy + cream
   Brand gradient: #4D0B05 → #5f211c → #6b3934
   Text: #F9F2C1
   ========================================================= */

:root {
	--tenant-brand-1: #4D0B05;
	--tenant-brand-2: #5f211c;
	--tenant-brand-3: #6b3934;
	--tenant-brand-text: #F9F2C1;
	--tenant-brand-text-muted: rgba(249, 242, 193, 0.75);
	--tenant-brand-gradient: linear-gradient(125deg, #4D0B05 0%, #5f211c 42%, #6b3934 100%);

	/* UBold tokens */
	--ct-bg-topbar-dark: #4D0B05;
	--ct-bg-leftbar: #4D0B05;
	--ct-bg-leftbar-dark: #4D0B05;
	--ct-menu-item: #F9F2C1;
	--ct-menu-item-hover: #ffffff;
	--ct-menu-item-active: #F9F2C1;
	--ct-menu-item-color-dark: #F9F2C1;
	--ct-menu-item-hover-color-dark: #ffffff;
	--ct-menu-item-active-color-dark: #ffffff;
	--ct-menuitem-active-bg: rgba(249, 242, 193, 0.12);

	/* Home area tokens */
	--header-bg: #4D0B05;
	--footer-bg: #4D0B05;
	--primary: #5f211c;
	--primary-dark: #4D0B05;
}

/* ---------- Admin: top menu ---------- */
.navbar-custom {
	background: var(--tenant-brand-gradient) !important;
}

.navbar-custom .topnav-menu .nav-link,
.navbar-custom .button-menu-mobile,
.navbar-custom .nav-user {
	color: var(--tenant-brand-text) !important;
}

.navbar-custom .topnav-menu .nav-link:hover,
.navbar-custom .topnav-menu .nav-link:focus,
.navbar-custom .dropdown .nav-link.show {
	color: #ffffff !important;
	background-color: rgba(249, 242, 193, 0.1) !important;
}

.navbar-custom .app-search .form-control {
	color: var(--tenant-brand-text);
	background-color: rgba(249, 242, 193, 0.12);
	border-color: transparent;
}

.navbar-custom .app-search .form-control::placeholder {
	color: var(--tenant-brand-text-muted);
}

.navbar-custom .app-search .input-group-text,
.navbar-custom .app-search .btn {
	color: var(--tenant-brand-text);
}

/* ---------- Admin: side menu ---------- */
.left-side-menu {
	background: var(--tenant-brand-gradient) !important;
}

.left-side-menu #sidebar-menu > ul > li > a,
.left-side-menu #sidebar-menu .menu-title,
.left-side-menu #sidebar-menu .nav-second-level li a,
.left-side-menu #sidebar-menu .nav-thrid-level li a,
.left-side-menu .user-box .dropdown > a,
.left-side-menu .user-box h5,
.left-side-menu .user-box p {
	color: var(--tenant-brand-text) !important;
}

.left-side-menu #sidebar-menu > ul > li > a:hover,
.left-side-menu #sidebar-menu > ul > li > a:focus,
.left-side-menu #sidebar-menu > ul > li > a:active,
.left-side-menu #sidebar-menu .menuitem-active > a,
.left-side-menu #sidebar-menu .menuitem-active .active,
.left-side-menu #sidebar-menu .nav-second-level li a:hover,
.left-side-menu #sidebar-menu .nav-second-level li a:focus,
.left-side-menu #sidebar-menu .nav-second-level li.active > a {
	color: #ffffff !important;
}

.left-side-menu #sidebar-menu > ul > li > a i,
.left-side-menu #sidebar-menu > ul > li > a svg {
	color: var(--tenant-brand-text) !important;
}

.left-side-menu .menuitem-active > a {
	background-color: rgba(249, 242, 193, 0.12) !important;
}

/* Condensed hover flyout */
body[data-leftbar-size=condensed] .left-side-menu #sidebar-menu > ul > li:hover > a,
body[data-leftbar-size=condensed] .left-side-menu #sidebar-menu > ul > li:hover > .collapse > ul,
body[data-leftbar-size=condensed] .left-side-menu #sidebar-menu > ul > li:hover > .collapsing > ul {
	background: var(--tenant-brand-2) !important;
	color: var(--tenant-brand-text) !important;
}

/* ---------- Index heroes ---------- */
.property-index-hero,
.transfer-index-hero,
.sales-index-hero,
.ticket-index-hero,
.registration-index-hero,
.logbook-index-hero,
.visitor-index-hero {
	background: var(--tenant-brand-gradient) !important;
	color: var(--tenant-brand-text) !important;
	box-shadow: 0 0.5rem 1.25rem rgba(77, 11, 5, 0.28) !important;
}

.property-index-hero h2,
.property-index-hero .lead,
.transfer-index-hero h2,
.transfer-index-hero .lead,
.sales-index-hero h2,
.sales-index-hero .lead,
.ticket-index-hero h2,
.ticket-index-hero .lead,
.registration-index-hero h2,
.registration-index-hero .lead,
.logbook-index-hero h2,
.logbook-index-hero .lead,
.visitor-index-hero h2,
.visitor-index-hero .lead {
	color: var(--tenant-brand-text) !important;
}

/* ---------- Identity / login / TenantSwitcher ---------- */
body.authentication-bg,
body.authentication-bg-pattern {
	background-color: var(--tenant-brand-1) !important;
	background-image: var(--tenant-brand-gradient) !important;
}

body.tenant-switcher-bg.authentication-bg,
body.tenant-switcher-bg.authentication-bg-pattern {
	background-color: #4D0B05 !important;
	background-image: linear-gradient(125deg, #4D0B05 0%, #5f211c 42%, #6b3934 100%) !important;
}

.tenant-switcher-heading,
.tenant-switcher-subheading {
	color: var(--tenant-brand-text) !important;
}

.tenant-switcher-subheading {
	opacity: 0.85;
}

body.tenant-switcher-bg .footer.footer-alt,
.footer.footer-alt {
	color: var(--tenant-brand-text-muted) !important;
}

body.tenant-switcher-bg .footer.footer-alt a,
.footer.footer-alt a {
	color: var(--tenant-brand-text) !important;
}

/* ---------- Home (public) area ---------- */
.navbar-public {
	background: var(--tenant-brand-gradient) !important;
}

.navbar-public .navbar-brand,
.navbar-public .nav-link,
.navbar-public .nav-user-name,
.navbar-public .btn-logout,
.navbar-public .btn-dashboard {
	color: var(--tenant-brand-text) !important;
}

.navbar-public .nav-link:hover,
.navbar-public .nav-link.active,
.navbar-public .btn-dashboard:hover,
.navbar-public .btn-logout:hover {
	color: #ffffff !important;
	background: rgba(249, 242, 193, 0.15) !important;
}

.hero-section {
	background: var(--tenant-brand-gradient) !important;
	color: var(--tenant-brand-text) !important;
}

.hero-section h1,
.hero-section p {
	color: var(--tenant-brand-text) !important;
}

.section-title {
	color: var(--tenant-brand-1) !important;
	border-bottom-color: var(--tenant-brand-2) !important;
}

footer.site-footer {
	background: var(--tenant-brand-gradient) !important;
	color: var(--tenant-brand-text) !important;
}

footer.site-footer a {
	color: var(--tenant-brand-text-muted) !important;
}

footer.site-footer a:hover {
	color: #ffffff !important;
}

.btn-primary {
	background: var(--tenant-brand-2) !important;
	border-color: var(--tenant-brand-1) !important;
	color: var(--tenant-brand-text) !important;
}

.btn-primary:hover,
.btn-primary:focus {
	background: var(--tenant-brand-1) !important;
	border-color: var(--tenant-brand-1) !important;
	color: #ffffff !important;
}

/* ---------- Admin: page body / content ---------- */
body,
body[data-theme=light],
#wrapper,
.content-page,
.content-page .content {
	background-color: #5d0f0f !important;
	background-image: none !important;
	color: #F9F2C1;
}

.page-title-box .page-title,
.page-title-box .breadcrumb-item,
.page-title-box .breadcrumb-item a,
.page-title-box .breadcrumb-item.active {
	color: #F9F2C1 !important;
}

/* Footer */
.footer {
	background-color: #570404 !important;
	color: #F9F2C1 !important;
}

.footer a,
.footer .footer-links a {
	color: #F9F2C1 !important;
}

/* ---------- Cards (tables live inside these) ---------- */
.card,
.card.bg-pattern,
.card .card-body {
	background-color: #6b3934 !important;
	color: #F9F2C1 !important;
	border-color: rgba(249, 242, 193, 0.18) !important;
}

.card-header,
.card-footer,
.card .bg-light,
.bg-light {
	background-color: #5f211c !important;
	color: #F9F2C1 !important;
	border-color: rgba(249, 242, 193, 0.18) !important;
}

.card .card-title,
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6,
.card label,
.card .form-label,
.card .text-muted {
	color: #F9F2C1 !important;
}

/* ---------- Tables (force cell backgrounds — white comes from td/th) ---------- */
.table,
.table.table-bordered,
.table.table-striped,
.table.table-hover,
table.dataTable,
.dataTables_wrapper table {
	--bs-table-bg: #5f211c !important;
	--bs-table-striped-bg: #4D0B05 !important;
	--bs-table-hover-bg: #6b3934 !important;
	--bs-table-active-bg: #6b3934 !important;
	--bs-table-border-color: rgba(249, 242, 193, 0.2) !important;
	--bs-table-color: #F9F2C1 !important;
	--bs-table-striped-color: #F9F2C1 !important;
	--bs-table-hover-color: #F9F2C1 !important;
	--ct-table-bg: #5f211c !important;
	--ct-table-striped-bg: #4D0B05 !important;
	--ct-table-hover-bg: #6b3934 !important;
	--ct-table-border-color: rgba(249, 242, 193, 0.2) !important;
	--ct-table-color: #F9F2C1 !important;
	background-color: #5f211c !important;
	color: #F9F2C1 !important;
}

.table > :not(caption) > * > *,
.table td,
.table th,
.table thead th,
.table tbody td,
.table tfoot td,
table.dataTable tbody td,
table.dataTable thead th,
table.dataTable.no-footer {
	background-color: #5f211c !important;
	color: #F9F2C1 !important;
	border-color: rgba(249, 242, 193, 0.2) !important;
}

.table thead th,
.table > thead > tr > th,
table.dataTable thead th {
	background-color: #4D0B05 !important;
	color: #F9F2C1 !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > *,
table.dataTable.stripe > tbody > tr.odd > *,
table.dataTable.display > tbody > tr.odd > * {
	background-color: #4D0B05 !important;
	color: #F9F2C1 !important;
}

.table-hover > tbody > tr:hover > *,
table.dataTable.hover > tbody > tr:hover > *,
table.dataTable.display > tbody > tr:hover > * {
	background-color: #6b3934 !important;
	color: #F9F2C1 !important;
}

/* DataTables chrome */
.dataTables_wrapper,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper label,
.dataTables_wrapper select,
.dataTables_wrapper input {
	color: #F9F2C1 !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
	background-color: #5f211c !important;
	border-color: rgba(249, 242, 193, 0.25) !important;
	color: #F9F2C1 !important;
}

.page-link {
	background-color: #5f211c !important;
	border-color: rgba(249, 242, 193, 0.25) !important;
	color: #F9F2C1 !important;
}

.page-item.active .page-link {
	background-color: #4D0B05 !important;
	border-color: #4D0B05 !important;
	color: #F9F2C1 !important;
}

.page-item.disabled .page-link {
	background-color: #6b3934 !important;
	color: rgba(249, 242, 193, 0.45) !important;
}

/* ---------- Index table wraps ---------- */
.property-index-table-wrap,
.transfer-index-table-wrap,
.sales-index-table-wrap,
.ticket-index-table-wrap,
.registration-index-table-wrap,
.logbook-index-table-wrap {
	background: #5f211c !important;
	background-color: #5f211c !important;
	border: 2px solid #2a0606 !important; /* darker than body so the panel reads clearly */
	border-radius: 0.5rem !important;
	box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.35) !important;
	overflow: hidden;
}

/* Inner table surface matches wrap */
.property-index-table-wrap .table,
.transfer-index-table-wrap .table,
.sales-index-table-wrap .table,
.ticket-index-table-wrap .table,
.registration-index-table-wrap .table,
.logbook-index-table-wrap .table,
.property-index-table-wrap table.dataTable,
.transfer-index-table-wrap table.dataTable,
.sales-index-table-wrap table.dataTable,
.ticket-index-table-wrap table.dataTable,
.registration-index-table-wrap table.dataTable,
.logbook-index-table-wrap table.dataTable {
	background-color: #5f211c !important;
	--bs-table-bg: #5f211c !important;
	--bs-table-border-color: #2a0606 !important;
	margin-bottom: 0 !important;
}

.property-index-table-wrap .table td,
.property-index-table-wrap .table th,
.transfer-index-table-wrap .table td,
.transfer-index-table-wrap .table th,
.sales-index-table-wrap .table td,
.sales-index-table-wrap .table th,
.ticket-index-table-wrap .table td,
.ticket-index-table-wrap .table th,
.registration-index-table-wrap .table td,
.registration-index-table-wrap .table th,
.logbook-index-table-wrap .table td,
.logbook-index-table-wrap .table th {
	background-color: #5f211c !important;
	color: #F9F2C1 !important;
	border-color: #2a0606 !important;
}

/* Header row — gradient family, cream text */
.property-index-table-wrap thead th,
.transfer-index-table-wrap thead th,
.sales-index-table-wrap thead th,
.ticket-index-table-wrap thead th,
.registration-index-table-wrap thead th,
.logbook-index-table-wrap thead th,
#propertiesTable thead th,
#transfers-table thead th,
#sales-table thead th {
	background: linear-gradient(125deg, #4D0B05 0%, #5f211c 42%, #6b3934 100%) !important;
	color: #F9F2C1 !important;
	border-color: #2a0606 !important;
}

.property-index-table-wrap tbody tr:hover td,
.transfer-index-table-wrap tbody tr:hover td,
.sales-index-table-wrap tbody tr:hover td,
#propertiesTable tbody tr:hover td,
#transfers-table tbody tr:hover td,
#sales-table tbody tr:hover td {
	background-color: #6b3934 !important;
	color: #F9F2C1 !important;
}

/* ---------- Native select ---------- */
select.form-select,
select.form-control,
.form-select,
.dataTables_wrapper select {
	background-color: #5f211c !important;
	color: #F9F2C1 !important;
	border: 1px solid #2a0606 !important;
}

select.form-select:focus,
select.form-control:focus,
.form-select:focus {
	background-color: #5f211c !important;
	color: #F9F2C1 !important;
	border-color: #4D0B05 !important;
	box-shadow: 0 0 0 0.2rem rgba(77, 11, 5, 0.35) !important;
}

/* Best-effort for native option list (Chrome/Edge allow some of this) */
select.form-select option,
select.form-control option,
.form-select option,
select option {
	background-color: #5f211c !important;
	color: #F9F2C1 !important;
}

select option:checked,
select option:hover {
	background-color: #4D0B05 !important;
	color: #F9F2C1 !important;
}

/* ---------- Select2 closed control ---------- */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
	background-color: #5f211c !important;
	border: 1px solid #2a0606 !important;
	color: #F9F2C1 !important;
	min-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #F9F2C1 !important;
	line-height: 36px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: rgba(249, 242, 193, 0.55) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #F9F2C1 transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent #F9F2C1 transparent !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background-color: #4D0B05 !important;
	border-color: #2a0606 !important;
	color: #F9F2C1 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	color: #F9F2C1 !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple {
	border-color: #4D0B05 !important;
	box-shadow: 0 0 0 0.2rem rgba(77, 11, 5, 0.35);
}

/* ---------- Select2 dropdown / options list ---------- */
.select2-dropdown {
	background-color: #5f211c !important;
	border: 1px solid #2a0606 !important;
	color: #F9F2C1 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	background-color: #4D0B05 !important;
	border: 1px solid #2a0606 !important;
	color: #F9F2C1 !important;
}

.select2-container--default .select2-results > .select2-results__options {
	background-color: #5f211c !important;
}

.select2-container--default .select2-results__option {
	background-color: #5f211c !important;
	color: #F9F2C1 !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted {
	background-color: #6b3934 !important;
	color: #F9F2C1 !important;
}

.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option--selected {
	background-color: #4D0B05 !important;
	color: #F9F2C1 !important;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
	color: rgba(249, 242, 193, 0.4) !important;
}

.select2-results__message {
	color: rgba(249, 242, 193, 0.7) !important;
}

.select2-container--default .select2-search--dropdown {
	background-color: transparent !important;
	background: none !important;
	padding: 0.5rem !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field,
.select2-search__field {
	background-color: #ffffff !important;
	background: #ffffff !important;
	color: #212529 !important;
	border: 1px solid #2a0606 !important;
}

/* ---------- Home: section title / muted / alt band ---------- */
.section-title {
	color: #F9F2C1 !important;
	border-bottom-color: #6b3934 !important;
}

.text-muted,
.card .text-muted,
.hero-section .text-muted,
main .text-muted {
	color: rgba(249, 242, 193, 0.7) !important;
}

.bg-section-alt {
	background-color: #5f211c !important;
	background: #5f211c !important;
	color: #F9F2C1 !important;
}

.bg-section-alt .section-title,
.bg-section-alt p,
.bg-section-alt h1,
.bg-section-alt h2,
.bg-section-alt h3,
.bg-section-alt h4,
.bg-section-alt h5,
.bg-section-alt h6 {
	color: #F9F2C1 !important;
}

.bg-section-alt .text-muted {
	color: rgba(249, 242, 193, 0.7) !important;
}