html, body, .main-page-wrapper {
	height: 100%;
}

.min-h-100 {
	min-height: 100%;
}

.no-wrap {
	white-space: nowrap;
}

table td .btns-group a {
	font-size: 19px;
	color: #000;
	margin-left: 22px;
	transition: all .2s ease-in-out 0s;
}
table td .btns-group a:hover {
	color: #ff3f25;
}
table td .btns-group a:first-child:hover {
	color: #5dc378;
}

table td {
	vertical-align: middle;
}

.dash-aside-navbar .dasboard-main-nav li a {
	padding-right: 10px;
}

.dashboard-body .saved-search-table td {
	padding: .5rem .5rem;
}

.owner-card, .unit-card {
	background-color: #fff;
}

.form-label {
	font-weight: 500;
}

.form-control,
.form-select {
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
	border-color: #333;
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 92, 1, 0.1);
}

.form-control::placeholder, .form-select::placeholder {
	color: #b9b9b9;
}

.form-control-sm {
	padding: .25rem .5rem;
	border-radius: var(--bs-border-radius-sm);
}
.form-select-sm {
	padding-top: .25rem;
	padding-bottom: .25rem;
	padding-left: .5rem;
	border-radius: var(--bs-border-radius-sm);
}

/* Notification Styles */
.notification-toast {
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 12px;
	box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
	padding: 25px 30px;
	position: relative;
	min-width: 380px;
	max-width: 480px;
	display: flex;
	align-items: flex-start;
	transition: all 0.3s ease;
}

.notification-icon {
	font-size: 1.5rem;
	margin-right: 1rem;
	flex-shrink: 0;
	margin-top: 2px;
}

.notification-content {
	flex: 1;
	margin-right: 1.7rem;
	overflow: hidden;
}

.notification-title {
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 0.1rem;
	color: #212529;
	line-height: 1.3;
}

.notification-message {
	font-size: 0.95rem;
	color: #6c757d;
	margin-bottom: 0;
	line-height: 1.4;
}

.notification-stack {
	background: #f8f9fa;
	border: 1px solid #eaeaea;
	border-radius: 6px;
	padding: 1rem;
	margin-top: 0.75rem;
	font-size: 0.8rem;
	font-family: 'Courier New', monospace;
	max-height: 12rem;
	overflow-y: auto;
	color: #495057;
	line-height: 1.4;
}

.notification-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	color: #666;
	font-size: 1.2rem;
	cursor: pointer;
	padding: 0.5rem;
	transition: all 0.3s ease;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.notification-close:hover {
	background: #f5f5f5;
	color: #000;
}

.notification-support-text {
	font-size: 0.85rem;
	color: #ffc107;
	margin-top: 1rem;
	font-weight: 500;
}

.notification-reload-btn {
	background: #007bff;
	color: white;
	border: none;
	border-radius: 6px;
	padding: 10px 20px;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 0.75rem;
}

.notification-reload-btn:hover {
	background: #0056b3;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.notification-reload-btn i {
	margin-right: 0.5rem;
}

@keyframes notificationSlideIn {
	0% {
		opacity: 0;
		transform: translateX(100%);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes notificationSlideOut {
	0% {
		opacity: 1;
		transform: translateX(0);
	}
	100% {
		opacity: 0;
		transform: translateX(100%);
	}
}

.notification-toast {
	animation: notificationSlideIn 0.3s ease-out;
}

.notification-toast.removing {
	animation: notificationSlideOut 0.3s ease-in forwards;
}

/* Toastify overrides */
.toastify {
	max-width: none !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	position: fixed;
	z-index: 99999999;
	right: 0;
}

.toastify.on {
	opacity: 1 !important;
}

.btn-one.btn-sm {
	padding: 10px 20px;
	font-size: 14px;
	line-height: 30px;
}

.btn-two i {
	position: relative;
	top: 2px;
	margin-left: 0;
	margin-right: 0;
}

.btn-two[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

.user-data-form .form-wrapper .input-group-meta .placeholder_icon span::before {
	display: none;
}
.user-data-form .form-wrapper .input-group-meta .placeholder_icon span {
	align-content: center;
}

@media (max-width: 1399px) {
	.search-wrapper-one.bg {
		padding: 10px;
	}
}

@keyframes modalBackdropFadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes modalFadeInUp {
	0% {
		opacity: 0;
		transform: translate(-50%, -48%) scale(0.95);
	}
	100% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

@keyframes modalFadeInCenter {
	0% {
		opacity: 0;
		transform: translate(-50%, -45%) scale(0.9);
	}
	100% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

.modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	z-index: 1050;
	animation: modalBackdropFadeIn 0.35s ease backwards;
}

.modal-container {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1050;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	animation: modalFadeInUp 0.25s ease 0.1s backwards;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-container.modal-sm {
	max-width: 500px;
}

.modal-container.modal-md {
	max-width: 700px;
}

.modal-container.modal-lg {
	max-width: 900px;
}

.modal-container.modal-xl {
	max-width: 1200px;
}

.modal-content {
	background: white;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px 30px;
	border-bottom: 1px solid #eaeaea;
}

.modal-header .close-btn {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #666;
	transition: all 0.3s ease;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.modal-header .close-btn:hover {
	background: #f5f5f5;
	color: #000;
}

.modal-body {
	padding: 30px;
}

.modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 36px;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eaeaea;
}

.modal-container.modal-centered {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	animation: modalFadeInCenter 0.3s ease 0.1s backwards;
}

.modal-container.modal-centered .modal-content {
	text-align: center;
	padding: 50px 30px;
	border: none;
}

.modal-container.modal-centered .modal-header {
	border: none;
	padding: 0;
	margin-bottom: 20px;
	position: relative;
	width: 100%;
}

.modal-container.modal-centered .modal-body {
	padding: 0;
}

.modal-container.modal-centered .modal-footer {
	border: none;
	margin-top: 20px;
	padding-top: 0;
	justify-content: center;
}

.modal-content .btn-danger {
	background-color: #dc3545;
	border-color: #dc3545;
	color: white;
	padding: 10px 20px;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.modal-content .btn-danger:hover {
	background-color: #c82333;
	border-color: #bd2130;
}

.upload-img {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 35px;
	height: 35px;
	background-color: #fff;
	border-radius: 50%;
	border: 1px solid #ddd;
	cursor: pointer;
	transition: all 0.3s ease;
}

.upload-img:hover {
	background-color: #f5f5f5;
	border-color: #ddd;
}

.owner-selector {
	position: relative;
	width: 100%;
}

.owner-selector-input-wrapper {
	position: relative;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: white;
	transition: all 0.3s ease;
}

.owner-selector-input-wrapper:hover {
	border-color: #bbb;
}

.owner-selector-input-wrapper.disabled {
	background-color: #f5f5f5;
	cursor: not-allowed;
}

.owner-selector-input-wrapper.invalid {
	border-color: #dc3545;
}

.selected-owner-display {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 15px;
	min-height: 48px;
}

.selected-owner-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	flex: 1;
}

.owner-name {
	font-weight: 600;
	color: #212529;
	font-size: 0.95rem;
}

.owner-detail {
	font-size: 0.85rem;
	color: #6c757d;
	padding: 2px 8px;
	background-color: #f8f9fa;
	border-radius: 4px;
}

.clear-selection-btn {
	background: none;
	border: none;
	color: #666;
	cursor: pointer;
	padding: 6px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.clear-selection-btn:hover {
	background-color: #fee;
	color: #dc3545;
}

.clear-selection-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.search-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 15px;
}

.search-icon {
	color: #6c757d;
	margin-right: 10px;
	font-size: 0.9rem;
}

.owner-search-input {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px 0;
	font-size: 0.95rem;
	background: transparent;
}

.owner-search-input:disabled {
	cursor: not-allowed;
}

.owner-search-input::placeholder {
	color: #adb5bd;
}

.loading-spinner {
	margin-left: 10px;
	display: flex;
	align-items: center;
}

.owner-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: white;
	border: 1px solid #ddd;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	max-height: 320px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	animation: dropdownSlideIn 0.2s ease;
}

@keyframes dropdownSlideIn {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.owner-list {
	overflow-y: auto;
	max-height: 210px;
}

.owner-item {
	width: 100%;
	padding: 12px 15px;
	border: none;
	background: white;
	text-align: left;
	cursor: pointer;
	transition: all 0.2s ease;
	border-bottom: 1px solid #f0f0f0;
}

.owner-item:hover {
	background-color: #f8f9fa;
}

.owner-item:active {
	background-color: #e9ecef;
}

.owner-item:last-child {
	border-bottom: none;
}

.owner-item-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.owner-item-name {
	font-weight: 600;
	color: #212529;
	font-size: 0.95rem;
}

.owner-item-details {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.detail-badge {
	font-size: 0.8rem;
	color: #495057;
	background-color: #e9ecef;
	padding: 2px 8px;
	border-radius: 3px;
	font-weight: 500;
}

.detail-text {
	font-size: 0.85rem;
	color: #6c757d;
}

.empty-state {
	padding: 30px 20px;
	text-align: center;
	color: #6c757d;
}

.empty-state i {
	font-size: 2.5rem;
	color: #dee2e6;
	margin-bottom: 12px;
}

.empty-state p {
	margin: 0;
	font-size: 0.9rem;
}

.dropdown-footer {
	border-top: 1px solid #eaeaea;
	padding: 10px;
	background-color: #f8f9fa;
}

.create-new-btn {
	width: 100%;
	padding: 10px 15px;
	background: white;
	border: 1px solid #ddd;
	border-radius: 6px;
	color: #495057;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 0.9rem;
}

.create-new-btn:hover {
	background-color: #333;
	border-color: #333;
	color: white;
}

.create-new-btn i {
	font-size: 0.9rem;
}

.property-selector {
	position: relative;
	width: 100%;
}

.property-selector-input-wrapper {
	position: relative;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: white;
	transition: all 0.3s ease;
}

.property-selector-input-wrapper:hover {
	border-color: #bbb;
}

.property-selector-input-wrapper.disabled {
	background-color: #f5f5f5;
	cursor: not-allowed;
}

.property-selector-input-wrapper.invalid {
	border-color: #dc3545;
}

.selected-property-display {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 15px;
	min-height: 48px;
}

.selected-property-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

.property-address {
	font-weight: 600;
	color: #212529;
	font-size: 0.95rem;
}

.property-detail {
	font-size: 0.85rem;
	color: #6c757d;
}

.property-search-input {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px 0;
	font-size: 0.95rem;
	background: transparent;
}

.property-search-input:disabled {
	cursor: not-allowed;
}

.property-search-input::placeholder {
	color: #adb5bd;
}

.property-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: white;
	border: 1px solid #ddd;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	max-height: 320px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	animation: dropdownSlideIn 0.2s ease;
}

.property-list {
	overflow-y: auto;
	max-height: 210px;
}

.property-item {
	width: 100%;
	padding: 12px 15px;
	border: none;
	background: white;
	text-align: left;
	cursor: pointer;
	transition: all 0.2s ease;
	border-bottom: 1px solid #f0f0f0;
}

.property-item:hover {
	background-color: #f8f9fa;
}

.property-item:active {
	background-color: #e9ecef;
}

.property-item:last-child {
	border-bottom: none;
}

.property-item-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.property-item-address {
	font-weight: 600;
	color: #212529;
	font-size: 0.95rem;
}

.ts-wrapper .ts-control {
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 6px;
	transition: all 0.3s ease;
	background: #fff;
	min-height: 48px;
}

.ts-wrapper.single .ts-control {
	padding: 10px 15px;
}

.ts-wrapper.focus .ts-control {
	border-color: #333;
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 92, 1, 0.1);
}

.ts-wrapper .ts-control input {
	color: #333;
	font-size: 0.95rem;
}

.ts-wrapper .ts-control input::placeholder {
	color: #b9b9b9;
}

.ts-wrapper .ts-dropdown {
	border: 1px solid #ddd;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	margin-top: 4px;
}

.ts-wrapper .ts-dropdown .option {
	padding: 10px 15px;
	transition: all 0.2s ease;
}

.ts-wrapper .ts-dropdown .option:hover {
	background-color: #f8f9fa;
}

.ts-wrapper .ts-dropdown .option.active {
	background-color: #333;
	color: #fff;
}

.ts-wrapper.disabled .ts-control {
	background-color: #f5f5f5;
	cursor: not-allowed;
	opacity: 0.6;
}

.ts-wrapper .ts-control .item {
	color: #333;
	font-size: 0.95rem;
	align-content: center;
}

.ts-wrapper.single .ts-control::after {
	border-color: #666 transparent transparent transparent;
	border-width: 6px 6px 0 6px;
	margin-top: -3px;
}

.ts-wrapper.dropdown-active.single .ts-control::after {
	border-color: transparent transparent #666 transparent;
	border-width: 0 6px 6px 6px;
	margin-top: -3px;
}

.address-input-wrapper {
	position: relative;
}

.address-suggestions-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1000;
	margin-top: 4px;
	background: white;
	border: 1px solid #ddd;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	animation: addressDropdownSlideIn 0.2s ease;
}

@keyframes addressDropdownSlideIn {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.address-suggestions-list {
	max-height: 300px;
	overflow-y: auto;
}

.address-suggestion-item {
	width: 100%;
	padding: 12px 15px;
	border: none;
	background: white;
	text-align: left;
	cursor: pointer;
	transition: all 0.2s ease;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	align-items: center;
	font-size: 0.95rem;
	color: #212529;
}

.address-suggestion-item:hover {
	background-color: #f8f9fa;
}

.address-suggestion-item:active {
	background-color: #e9ecef;
}

.address-suggestion-item:last-child {
	border-bottom: none;
}

.address-suggestion-item i {
	color: #6c757d;
	font-size: 0.9rem;
}

.civic-number-wrapper {
	position: relative;
}

.civic-number-loading {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	color: #333;
	pointer-events: none;
	font-size: 1rem;
}

.civic-number-wrapper select:disabled {
	background-color: #f5f5f5;
	cursor: wait;
	opacity: 0.8;
}

.search-form-wrapper {
	position: relative;
}

.search-results-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: white;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	max-height: 500px;
	overflow-y: auto;
	animation: searchDropdownSlideIn 0.2s ease;
}

@keyframes searchDropdownSlideIn {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.search-results-section {
	border-bottom: 1px solid #f0f0f0;
}

.search-results-section:last-child {
	border-bottom: none;
}

.search-results-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background-color: #f8f9fa;
	font-weight: 600;
	font-size: 0.85rem;
	color: #495057;
	border-bottom: 1px solid #e9ecef;
}

.search-results-header i {
	font-size: 0.9rem;
	color: #6c757d;
}

.search-result-item {
	width: 100%;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 16px;
	border: none;
	background: white;
	text-align: left;
	cursor: pointer;
	transition: all 0.2s ease;
	border-bottom: 1px solid #f8f9fa;
}

.search-result-item:hover {
	background-color: #f8f9fa;
}

.search-result-item:last-child {
	border-bottom: none;
}

.search-result-item i {
	color: #6c757d;
	font-size: 1.1rem;
	margin-top: 2px;
	flex-shrink: 0;
}

.search-result-content {
	flex: 1;
	min-width: 0;
}

.search-result-title {
	font-weight: 600;
	font-size: 0.95rem;
	color: #212529;
	margin-bottom: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.search-result-subtitle {
	font-size: 0.85rem;
	color: #6c757d;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.search-results-empty {
	padding: 40px 20px;
	text-align: center;
	color: #6c757d;
}

.search-results-empty i {
	font-size: 2rem;
	color: #dee2e6;
	margin-bottom: 12px;
}

.search-results-empty p {
	margin: 0;
	font-size: 0.9rem;
}

.search-form input:focus+button,
.search-form button:focus {
	outline: none;
}

.search-form button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
}

.search-form button i {
	color: #6c757d;
	font-size: 1rem;
}

.data-table {
	font-size: 0.95rem;
}

.data-table thead {
	background-color: #fafafa;
}

.data-table thead th {
	padding: 15px 12px;
	font-weight: 600;
	color: #333;
	border-bottom: 2px solid #e9ecef;
	white-space: nowrap;
}

.data-table thead th.sortable {
	cursor: pointer;
	user-select: none;
	transition: background-color 0.2s ease;
}

.data-table thead th.sortable:hover {
	background-color: #f0f0f0;
}

.data-table tbody tr {
	border-bottom: 1px solid #eaeaea;
	transition: background-color 0.2s ease;
}

.data-table tbody tr:hover {
	background-color: rgba(0, 123, 255, 0.03);
}

.data-table tbody td {
	padding: 12px;
	vertical-align: middle;
}

.table-warning {
	background-color: rgba(255, 193, 7, 0.1) !important;
}

.table-danger {
	background-color: rgba(220, 53, 69, 0.1) !important;
}

.color-dark {
	color: #212529;
}

.fw-500 {
	font-weight: 500;
}

.view-mode-toggle {
	display: inline-flex;
	background-color: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	overflow: hidden;
}

.toggle-option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 16px;
	border: none;
	background: transparent;
	color: #495057;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	border-right: 1px solid #dee2e6;
}

.toggle-option:last-child {
	border-right: none;
}

.toggle-option i {
	font-size: 0.9rem;
}

.toggle-option:hover {
	background-color: #e9ecef;
	color: #212529;
}

.toggle-option.active {
	background-color: #333;
	color: #fff;
}

.toggle-option.active:hover {
	background-color: #212529;
}

.toggle-option span {
	white-space: nowrap;
}