:root,
[data-bs-theme=light] {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-navy: #0f1724;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #ffe109;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-primary-rgb: 13, 110, 253;
    --bs-secondary-rgb: 108, 117, 125;
    --bs-success-rgb: 25, 135, 84;
    --bs-info-rgb: 13, 202, 240;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger-rgb: 220, 53, 69;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark-rgb: 33, 37, 41;
    --bs-primary-text-emphasis: #052c65;
    --bs-secondary-text-emphasis: #2b2f32;
    --bs-success-text-emphasis: #0a3622;
    --bs-info-text-emphasis: #055160;
    --bs-warning-text-emphasis: #664d03;
    --bs-danger-text-emphasis: #58151c;
    --bs-light-text-emphasis: #495057;
    --bs-dark-text-emphasis: #495057;
    --bs-primary-bg-subtle: #cfe2ff;
    --bs-secondary-bg-subtle: #e2e3e5;
    --bs-success-bg-subtle: #d1e7dd;
    --bs-info-bg-subtle: #cff4fc;
    --bs-warning-bg-subtle: #fff3cd;
    --bs-danger-bg-subtle: #f8d7da;
    --bs-light-bg-subtle: #fcfcfd;
    --bs-dark-bg-subtle: #ced4da;
    --bs-primary-border-subtle: #9ec5fe;
    --bs-secondary-border-subtle: #c4c8cb;
    --bs-success-border-subtle: #a3cfbb;
    --bs-info-border-subtle: #9eeaf9;
    --bs-warning-border-subtle: #ffe69c;
    --bs-danger-border-subtle: #f1aeb5;
    --bs-light-border-subtle: #e9ecef;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-color-rgb: 33, 37, 41;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0, 0, 0;
    --bs-secondary-color: rgba(33, 37, 41, 0.75);
    --bs-secondary-color-rgb: 33, 37, 41;
    --bs-secondary-bg: #e9ecef;
    --bs-secondary-bg-rgb: 233, 236, 239;
    --bs-tertiary-color: rgba(33, 37, 41, 0.5);
    --bs-tertiary-color-rgb: 33, 37, 41;
    --bs-tertiary-bg: #f8f9fa;
    --bs-tertiary-bg-rgb: 248, 249, 250;
    --bs-heading-color: inherit;
    --bs-link-color: #0d6efd;
    --bs-link-color-rgb: 13, 110, 253;
    --bs-link-decoration: underline;
    --bs-link-hover-color: #0a58ca;
    --bs-link-hover-color-rgb: 10, 88, 202;
    --bs-code-color: #d63384;
    --bs-highlight-color: #212529;
    --bs-highlight-bg: #fff3cd;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --bs-focus-ring-width: 0.25rem;
    --bs-focus-ring-opacity: 0.25;
    --bs-focus-ring-color: rgba(13, 110, 253, 0.25);
    --bs-form-valid-color: #198754;
    --bs-form-valid-border-color: #198754;
    --bs-form-invalid-color: #dc3545;
    --bs-form-invalid-border-color: #dc3545;
}


.bg-primary {
    background-color: #000080 !important;
}

.text-orange {
    color: var(--bs-orange) !important;
}

.text-gray-100 {
    color: var(--bs-gray-100) !important;
}

.text-gray-200 {
    color: var(--bs-gray-200) !important;
}

.text-gray-300 {
    color: var(--bs-gray-300) !important;
}

.text-gray-400 {
    color: var(--bs-gray-400) !important;
}

.text-gray-500 {
    color: var(--bs-gray-500) !important;
}

.text-gray-600 {
    color: var(--bs-gray-600) !important;
}

.text-gray-700 {
    color: var(--bs-gray-700) !important;
}

.text-gray-800 {
    color: var(--bs-gray-800) !important;
}

.text-gray-900 {
    color: var(--bs-gray-900) !important;
}


.form-group {
    margin-bottom: 1rem;
}


.small-9 {
    font-size: 90%;
}

.small-8 {
    font-size: 80%;
}

.small-7 {
    font-size: 70%;
}

.small-6 {
    font-size: 60%;
}

.small-5 {
    font-size: 50%;
}

.small-4 {
    font-size: 40%;
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #ffe109;
}

.tenant-login-left-panel {
    background:
        linear-gradient(135deg,
            rgba(25, 0, 128, 0.85),
            rgba(0, 0, 0, 0.35)),
        url("/images/khubes_apartment.png");
    background-size: cover;
    background-position: center;
}

.landlord-login-left-panel {
    background:
        linear-gradient(135deg,
            rgba(25, 0, 128, 0.85),
            rgba(0, 0, 0, 0.35)),
        url("/images/khubes_apartment.png");
    background-size: cover;
    background-position: center;
}

.small-close {
    transform: scale(0.9);
    padding: 0.5rem !important;
    filter: invert(19%) sepia(96%) saturate(7485%) hue-rotate(356deg) brightness(95%) contrast(118%);
}

.float-alert {
    font-size: 70%;
    bottom: 10px;
    right: 2px;
    transform: translateX(-20%);
    position: fixed !important;
    padding: 10px 14px;
    font-weight: bold;
    z-index: 1080;

    width: auto;
    max-width: 90%;
    min-width: 200px;

    border-radius: 8px;
    word-wrap: break-word;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .float-alert {
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        max-width: 92%;
        font-size: 75%;
        padding: 8px 12px;
    }
}


.rf-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--bs-border-color);
    font-size: .8rem;
}

.rf-divider::before,
.rf-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--bs-border-color);
}


.toast-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;

    display: flex;
    flex-direction: column-reverse;
    gap: 12px;

    width: max-content;
    max-width: 90vw;
}

.system_tost {
    min-width: 280px;
    max-width: 400px;
    background: var(--bs-navy);

    border-radius: 12px;
    padding: 8px 18px;

    box-shadow: 0 0.15rem 1rem rgba(0, 0, 0, 0.08);

    transition:
        opacity .3s ease,
        transform .3s ease;

    animation: toastSlide .25s ease forwards;
}

.system_tost.hide {
    opacity: 0;
    transform: translateX(30px);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 14px;
    font-weight: 500;
}

.toast-content i {
    font-size: 18px;
    flex-shrink: 0;
}

/* SUCCESS */
.system_tost.success {
    color: var(--bs-success);
    border-left: 4px solid var(--bs-success);
}

/* DANGER */
.system_tost.danger {
    color: var(--bs-danger);
    border-left: 4px solid var(--bs-danger);
}

/* WARNING */
.system_tost.warning {
    color: var(--bs-warning);
    border-left: 4px solid var(--bs-warning);
}

/* INFO */
.system_tost.info {
    color: var(--bs-info);
    border-left: 4px solid var(--bs-info);
}

/* PRIMARY */
.system_tost.primary {
    color: var(--bs-primary);
    border-left: 4px solid var(--bs-primary);
}

@keyframes toastSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}