/*
 * RP Prospects Stylesheet
 * CRM V2 App Style
 * Author: RP Prospects


 Table of Contents



*/

/*=============================================
    CRM Specific Variables
=============================================*/
:root {
    /* Color Palette */
    --primary-color:    #193F68;
    --secondary-color:  #4576AB;

    --primary-color:         #193F68;
    --primary-hover-color:     color-mix(in srgb, var(--primary-color) 80%, black); /* 80% primary colour + 20% black */
    --primary-color-light:    color-mix(in srgb, var(--primary-color) 80%, white); /* 80% primary colour + 20% white */
    --secondary-color:       #4576AB;
    --secondary-hover-color:   color-mix(in srgb, var(--secondary-color) 80%, black); /* 80% secondary colour + 20% black */
    --secondary-color-light:  color-mix(in srgb, var(--secondary-color) 80%, white); /* 80% secondary colour + 20% white */
    --accent-color:           #BBC1B0;
    --accent-color-dark:      color-mix(in srgb, var(--accent-color) 80%, black); /* 80% accent colour + 20% black */
    --accent-color-light:     color-mix(in srgb, var(--accent-color) 80%, white); /* 80% accent colour + 20% white */
    --alpha-bg:               hsl(from var(--primary-color) h s l / 0.95); /* primary colour RGB at 95% */

    --light-color: #f8f9fa;
    --dark-color: #212529;
    --white-color: #ffffff;
    --text-link: #6c757d;
    --accent-color: #0d6efd;
    --accent-light-color: #4797ff3d;
    --bs-blue: #0d6efd;
    --bs-indigo: #7239EA;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #F8285A;
    --bs-orange: #fd7e14;
    --bs-yellow: #cfa21b;
    --bs-green: #17C653;
    --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-primary: var(--primary-color);
    --bs-secondary: var(--secondary-color);
    --bs-success: #17C653;
    --bs-info: #0dcaf0;
    --bs-warning: #cfa21b;
    --bs-danger: #F8285A;
    --bs-light: #e9ecef;
    --bs-dark: #212529;
    --bs-primary-rgb: 13, 110, 253;
    --bs-secondary-rgb: 164, 96, 227;
    --bs-success-rgb: 23, 198, 83;
    --bs-info-rgb: 13, 202, 240;
    --bs-warning-rgb: 207, 162, 27;
    --bs-danger-rgb: 248, 40, 90;
    --bs-light-rgb: 233, 236, 239;
    --bs-dark-rgb: 33, 37, 41;
    --bs-primary-text-emphasis: rgb(11.05, 93.5, 215.05);
    --bs-secondary-text-emphasis: rgb(139.4, 81.6, 192.95);
    --bs-success-text-emphasis: rgb(19.55, 168.3, 70.55);
    --bs-info-text-emphasis: rgb(11.05, 171.7, 204);
    --bs-warning-text-emphasis: rgb(175.95, 137.7, 22.95);
    --bs-danger-text-emphasis: rgb(210.8, 34, 76.5);
    --bs-light-text-emphasis: #495057;
    --bs-dark-text-emphasis: #495057;
    --bs-primary-bg-subtle: rgb(218.7, 233.25, 254.7);
    --bs-secondary-bg-subtle: rgb(241.35, 231.15, 250.8);
    --bs-success-bg-subtle: rgb(220.2, 246.45, 229.2);
    --bs-info-bg-subtle: rgb(218.7, 247.05, 252.75);
    --bs-warning-bg-subtle: rgb(247.8, 241.05, 220.8);
    --bs-danger-bg-subtle: rgb(253.95, 222.75, 230.25);
    --bs-light-bg-subtle: #f8f9fa;
    --bs-dark-bg-subtle: #ced4da;
    --bs-primary-border-subtle: rgb(158.2, 197, 254.2);
    --bs-secondary-border-subtle: rgb(218.6, 191.4, 243.8);
    --bs-success-border-subtle: rgb(162.2, 232.2, 186.2);
    --bs-info-border-subtle: rgb(158.2, 233.8, 249);
    --bs-warning-border-subtle: rgb(235.8, 217.8, 163.8);
    --bs-danger-border-subtle: rgb(252.2, 169, 189);
    --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: "Inter", sans-serif;
    --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-root-font-size: 1rem;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 0.875rem;
    --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: #f3f3f9;
    --bs-body-bg-rgb: 243, 243, 249;
    --bs-emphasis-color: #212529;
    --bs-emphasis-color-rgb: 33, 37, 41;
    --bs-secondary-color: #6c757d;
    --bs-secondary-color-rgb: 108, 117, 125;
    --bs-secondary-bg: #fff;
    --bs-secondary-bg-rgb: 255, 255, 255;
    --bs-tertiary-color: rgba(33, 37, 41, 0.5);
    --bs-tertiary-color-rgb: 33, 37, 41;
    --bs-tertiary-bg: #e9ecef;
    --bs-tertiary-bg-rgb: 233, 236, 239;
    --bs-heading-color: #212529;
    --bs-link-color: #0d6efd;
    --bs-link-color-rgb: 13, 110, 253;
    --bs-link-decoration: none;
    --bs-link-hover-color: rgb(10.4, 88, 202.4);
    --bs-link-hover-color-rgb: 10, 88, 202;
    --bs-code-color: #d63384;
    --bs-highlight-color: #212529;
    --bs-highlight-bg: rgb(245.4, 236.4, 209.4);
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: #ced4da;
    --bs-border-radius: 4px;
    --bs-border-radius-sm: 3.2px;
    --bs-border-radius-lg: 4.8px;
    --bs-border-radius-xl: 16px;
    --bs-border-radius-xxl: 32px;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(var(--bs-dark-rgb), 0.075);
    --bs-box-shadow-lg: 0 5px 10px rgba(30, 32, 37, 0.12);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(var(--bs-dark-rgb), 0.075);
    --bs-focus-ring-width: 0;
    --bs-focus-ring-opacity: 0;
    --bs-focus-ring-color: rgba(13, 110, 253, 0);
    --bs-form-valid-color: #17C653;
    --bs-form-valid-border-color: #17C653;
    --bs-form-invalid-color: #F8285A;
    --bs-form-invalid-border-color: #F8285A;


    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;

    --sold-color: #D0010A;
    --under-offer-color: #ffc107;
    --eoi-color: #ff8707;
    --available-color: #198754;
    --registered-color: #6f42c1;
    --settled-color: #D0010A;
    --upcoming-color: #ffe5d0;
    --unconditional-color: #0d6efd;
    --unconditional-color2:#43b678;
    --conditional-color: #6c757d;


    --contact-tag-bg: #4797ff3d;
    --contact-tag-color: #1875e7;
    --bg-unpaid: #fee2e280;
    --bs-primary: var(--primary-color);
    --bs-secondary: var(--secondary-color);


    /* Text Colors */
    --text-color: #333333;
    --text-color-light: #495057;
    --text-color-inverse: var(--white-color);
    --text-color-muted: #6c757d;
    --text-code-color: #3788d8;

    /* Background Colors */
    --body-bg: var(--light-color);
    --component-bg: var(--white-color);

    /* Borders */
    --border-color: #dee2e6;
    --border-radius-base: 0.375rem;
    --border-radius-pill: 50vw;
    --border-radius-lg: 0.5rem;
    --border-radius-sm: 0.25rem;

    /* Typography */
    --font-family-sans-serif: 'Inter', sans-serif;
    --font-family-display: 'Red Hat Display', sans-serif;
    --font-family-currency: "IBM Plex Sans", sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.25rem;
    --font-size-xs: 0.75rem;

    /* Z-Index */
    --z-index-navbar: 1030;
    --z-index-dropdown: 1000;

    --sidebar-width-expanded: 260px;
    --sidebar-width-collapsed: 80px;
    --main-content-bg-color: #ffffff;
    --sidebar-bg-color: #f8f9fa;
    --body-bg-color: #e9ecef;
    --sidebar-default-color: #758f8d;
    --sidebar-icon-hover-color: var(--primary-color);
    --sidebar-text-color: var(--primary-color);
    --sidebar-active-bg: #4797ff3d;


    /* Transition */
    --transition-speed: 0.3s;
    --transition-normal: all 300ms ease-in-out;

}

/*=============================================
  GLOBAL STYLES & RESETS
=============================================*/
body {
  background-color: var(--body-bg);
  color: var(--text-color);
  font-family: var(--font-family-sans-serif);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  font-family: var(--font-family-sans-serif);
}

.custom-container {
  max-width: 1920px;
}

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

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

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

.text-positive {
    color: var(--available-color) !important
}

.text-success {
    color: var(--accent-color) !important
}

.text-danger {
    color: var(--danger-color) !important
}

code {
    color: var(--text-code-color)
}

code.bs {
    color:var(--bs-code-color)
}

code[class*="pill-tag--"] {
    border-radius: 50vw;
    padding: 4px 6px;
    display: inline-flex;
    opacity: 0.8;
}


@media (min-width: 2400px) {
  .custom-container {
    max-width: 80% !important;
    margin: 0 auto;
  }
}


/*=============================================
    Bootstrap Overrides
=============================================*/
.btn {
    border-radius: 4px;
    box-shadow: none !important;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active:focus,
.btn-primary:active {
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
    color: white
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #6c757d;
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #5c636a;
    --bs-btn-hover-border-color: #565e64;
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #565e64;
    --bs-btn-active-border-color: #51585e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #6c757d;
    --bs-btn-disabled-border-color: #6c757d;
}

.btn-outline-secondary {
    --bs-btn-color: #6c757d;
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #6c757d;
    --bs-btn-hover-border-color: #6c757d;
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #6c757d;
    --bs-btn-active-border-color: #6c757d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #6c757d;
    --bs-gradient: none;
}

.text-primary {
    color: var(--primary-color) !important
}

.text-secondary {
    color: var(--bs-gray-500) !important
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--primary-color);
    background-color: var(--accent-light-color);
}

.dropdown-menu .dropdown-item:active i {
    color: var(--primary-color);
}

body {
    background-color: var(--body-bg-color);
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    font-size: 0.825rem;
}

a,
.text-link {
    text-decoration: none;
    color: var(--text-link);
    transition: var(--transition-normal);
}

a:hover,
a:focus {
    text-decoration: none;
    color: var(--sidebar-text-color);
}


/* 
++++++++++++++++++++++++++++++++++++++++++++
  Login / Register
++++++++++++++++++++++++++++++++++++++++++++
*/
.login-container {
  height: 100vh;
}

.left-panel {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  height: 100%;
}

.content-spacer {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.left-panel {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    height: 100vh;
    overflow-y: auto; 
}

.right-panel {
  background: #eff4fa url('/assets/images/bg_asset_1.jpg') center / cover no-repeat;
  border-left: 1px solid #dee2e6;
}

.login-form-wrapper {
  max-width: 420px;
  width: 100%;
}

.form-control {
  padding: 12px 15px;
  border-color: #dee2e6;
  border-radius: 4px;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

/* 
++++++++++++++++++++++++++++++++++++++++++++
  Terms
++++++++++++++++++++++++++++++++++++++++++++
*/

.policy-content-wrapper {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    flex-grow: 1;
    padding: 2rem 0;
}

.policy-heading {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.policy-text {
    color: #495057;
    line-height: 1.7;
    font-size: 0.95rem;
}



/*=============================================
    Main Dashboard
    1. Header
    2. Footer
    3. Sidebar

=============================================*/
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

.dashboard-content {
    flex-grow: 1;
}

.dashboard-content>.card {
    box-shadow: none;
}

.dashboard-content>.card>.card-body {
    padding: 0;
}

/*=============================================
    Main Dashboard - Header 
=============================================*/
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.page-header h1 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.quick-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.quick-nav a {
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
    transition: color 0.2s;
}

.quick-nav a:hover,
.quick-nav a.active {
    color: var(--primary-color);
}

.quick-nav .dropdown-toggle::after {
    vertical-align: 0.15em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions .header-icon {
    font-size: 1.5rem;
    color: #6c757d;
    transition: color 0.2s;
    text-decoration: none;
}

.header-actions .header-icon:hover {
    color: #343a40;
}

.header-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color:white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    object-fit: fill;
    object-position: center;
}

.dropdown-menu {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 0.5rem;
    z-index: 1021;
}


.header-search {
    width: 100%;
}


/*=============================================
    Main Dashboard - Footer
=============================================*/
.page-footer {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.7rem;
    color: #6c757d;
    transition: transform var(--transition-speed) ease-in-out;
    visibility: hidden;
}

.page-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
}

.page-footer a {
    color: #6c757d;
    text-decoration: none;
}

.page-footer a:hover {
    text-decoration: none;
    color: #343a40;
}


/*=============================================
    Main Dashboard - Sidebar
=============================================*/
.sidebar {
    /* 
    background-color: var(--sidebar-bg-color); 
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    */
    width: var(--sidebar-width-expanded);
    transition: width var(--transition-speed) ease-in-out, background-color var(--transition-speed) ease-in-out, box-shadow var(--transition-speed) ease-in-out, left var(--transition-speed) ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1030;
}

.sidebar.collapsed {
    width: var(--sidebar-width-collapsed);
}

.sidebar.collapsed.force-collapse {
    background-color: transparent;
    box-shadow: none;
}

.sidebar.collapsed:hover {
    width: var(--sidebar-width-expanded);
    background-color: var(--sidebar-bg-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.sidebar.collapsed:hover .sidebar-logo .logo-full,
.sidebar.collapsed:hover .nav-link span,
.sidebar.collapsed:hover .nav-link .submenu-arrow {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.2s;
}

.sidebar.collapsed:hover .sidebar-bottom-toggle .toggle-text,
.sidebar.collapsed:hover .sidebar-logout .toggle-text,
.sidebar.collapsed:hover .sidebar-footer {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.2s;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 0.5rem;

}

.sidebar .sidebar-logo,
.sidebar.collapsed .sidebar-logo  {
    max-height: 60px;
    max-width: 60px !important;
}

.sidebar .sidebar-logo img,
.sidebar.collapsed .sidebar-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-logo .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo .logo-icon img {
    max-width: 32px;
    max-height: 32px;
}

.sidebar-logo .logo-full {
    margin-left: 12px;
    opacity: 1;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.sidebar.collapsed .sidebar-logo .logo-full {
    opacity: 0;
    visibility: hidden;
}

.sidebar-nav {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background-color: #e0e0e0;
    border-radius: 2px;
}


.nav-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.5rem;
    margin-bottom: 0.25rem;
    border-radius: 0.5rem;
    color: var(--sidebar-icon-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}

.nav-link i {
    font-size: 1rem;
    min-width: 30px;
    text-align: center;
    color: var(--sidebar-icon-color);
    transition: color var(--transition-speed);
}

.sidebar-nav.nav-link {
    min-width: 48px;
}

.nav-link span {
    opacity: 1;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
    font-weight: 500;
}

.sidebar.collapsed .nav-link span,
.sidebar.collapsed .nav-link .submenu-arrow {
    opacity: 0;
    visibility: hidden;
}

.nav-link:hover {
    background-color: var(--body-bg-color);
    color: var(--sidebar-text-color);
    /* color: var(--sidebar-icon-hover-color); */
}

.nav-link.active {
    background-color: var(--sidebar-active-bg);
    color: var(--sidebar-icon-hover-color);
}

/* .nav-link:hover i,
.nav-link.active i {
    color: var(--sidebar-text-color);
} */

.nav-link .submenu-arrow {
    margin-left: auto;
    transition: transform var(--transition-speed), opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
    font-size: 0.7rem;
}

.nav-link.active .submenu-arrow {
    transform: rotate(90deg);
}

.submenu {
    padding-left: 38px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.submenu.show {
    margin: 10px 0;
}

.submenu a {
    display: block;
    padding: 0.4rem 0.75rem;
    color: #6c757d;
    text-decoration: none;
    border-radius: 0.375rem;
    margin-left: 0px;
    position: relative;
    white-space: nowrap;
}

.submenu a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #adb5bd;
    border-radius: 50%;
    display: none;
}

.submenu a:hover,
.submenu a.active {
    color: var(--sidebar-icon-hover-color);
    background-color: transparent;
}

.sidebar.collapsed:not(:hover) .submenu {
    max-height: 0 !important;
    padding-left: 0;
    overflow: hidden;
}

.sidebar.collapsed:not(:hover) .submenu a::before {
    opacity: 0;
}

.sidebar:hover .current-page .submenu {
    max-height: unset !important;
}

.sidebar:not(.collapsed) .submenu.show,
.sidebar.collapsed:hover .submenu.show {
    max-height: unset !important
}


.sidebar-bottom-toggle {
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.sidebar-bottom-toggle .nav-link,
.sidebar-logout .nav-link {
    margin-bottom: 0;
}

.sidebar-bottom-toggle .toggle-text,
.sidebar-logout .toggle-text {
    opacity: 1;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.sidebar.collapsed .sidebar-bottom-toggle .toggle-text,
.sidebar.collapsed .sidebar-logout .toggle-text {
    opacity: 0;
    visibility: hidden;
}

.sidebar-footer {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #dee2e6;
    font-size: 0.7rem;
    color: #6c757d;
}

.sidebar-footer ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.sidebar-footer a {
    color: #6c757d;
    text-decoration: none;
}

.sidebar-footer a:hover {
    color: #343a40;
}

.sidebar.collapsed .sidebar-footer {
    opacity: 0;
    visibility: hidden;
}



/*=============================================
    Main Dashboard - Main Content
=============================================*/
.dashboard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(23, 27, 31, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1021;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.dashboard-overlay.show {
    opacity: 1;
    visibility: visible;
}


.main-content {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    padding-bottom: 5rem;
    margin-left: var(--sidebar-width-expanded);
    transition: margin-left var(--transition-speed) ease-in-out, transform var(--transition-speed) ease-in-out;
    background-color: var(--main-content-bg-color);
    margin: 1rem 1rem 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-left: calc(var(--sidebar-width-expanded) + 1rem);
    display: flex;
    flex-direction: column;
}


.main-content.collapsed {
    margin-left: calc(var(--sidebar-width-collapsed) + 1rem);
}

.clipboard-notification {
    background-color: var(--dark-color);
    max-width: 200px !important;
    color: #fff;
}

@media screen and (min-width: 992px) {
    .main-content {
        max-width: calc(100% - var(--sidebar-width-expanded) - 40px);
    }

    .main-content.collapsed {
        max-width: calc(100% - var(--sidebar-width-collapsed) - 40px);
    }
 
}


/*=============================================
    Components

    1. Primary Filter
    2. 
=============================================*/



/*=============================================
    Components - Primary Filter
=============================================*/
.primary-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding-bottom: 0.5rem;
    /* border-bottom: 1px solid #dee2e6; */
    border-bottom: 2px solid var(--primary-hover-color);
}

.primary-filter-bar h5 {
    margin: 0;
}

.filter-controls-left,
.filter-controls-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-btn {
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 9px 14px;
}

.filter-btn:hover {
    background-color: var(--bs-gray-200);
    border-color: var(--bs-gray-200);
}

.search-bar {
    position: relative;
}

.search-bar .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    z-index: 3;
    pointer-events: none;
}

.ts-wrapper .ts-control {
    background-color: #fff;
    border: 1px solid #dee2e6;
    padding-left: 30px;
}

.primary-filter-bar .dropdown-toggle::after {
    display: none;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

.input-with-icon .form-control {
    padding-left: 30px;
}

.status-select-wrapper .ts-control {
    min-height: calc(1.5em + 0.75rem + 2px);
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.property-filter-bar {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
}

.property-filter-bar .filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
    align-items: center;
}

.property-filter-bar .ts-control,
.property-filter-bar .form-control,
.property-filter-bar .input-group,
.property-filter-bar .btn {
    font-size: 0.8rem;
    min-height: 35px;
}

.property-filter-bar .input-group-text {
    font-size: 0.7rem;
}

/* .property-filter-bar .filter-field-sm > .form-control {
    flex: unset;
    min-width: 60px;
} */

.property-filter-bar .action-buttons {
    display: flex;
    gap: 0.5rem;
}

.property-filter-bar .ts-control>input {
    min-width: unset !important;
}

.ts-control {
    min-height: calc(1.5em + 0.75rem + 7.2px) !important;
}

.property-filter-bar .ts-control {
    padding-left: 0.75rem;
}


/*=============================================
    Components - Table
=============================================*/
.table-sm > :not(caption) > * > * {
    padding: 0.5rem 0.6rem
}

.table-compact > :not(caption) > * > * {
    padding: 0.4rem 0.6rem
}

.table-hover tr:hover {
    background-color: var(--light-color);
}

.table > thead {
    background: var(--bs-gray-200);
}

.table > :not(caption) > * > * i.fi {
    position: relative;
    top: 1px;
    margin-right: 3px;
    color: var(--bs-gray-600);
}

.table > :not(caption) > * .text-positive i.fi {
    color: var(--available-color)
}

.table > :not(caption) > * .text-negative i.fi {
    color: var(--primary-hover-color)
}

.table-action-col,
.table-checkbox-col {
    width: 1%;
    white-space: nowrap;
}

.note-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.note-item {
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease-in-out;
}

.note-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

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

.note-meta {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.filter-status-select {
    min-width: 150px;
}

.table .dropdown-toggle::after {
    display: none;
}

td.data-link a {
    font-weight: 500;
    color: var(--bs-dark) !important;
    word-break: break-all;
}

.row-success td.data-link * {
    color: var(--available-color) !important;
}

/* .row-danger td.data-link * {
    color: var(--primary-hover-color) !important;
} */

.table tr:hover td[class*="gray-"] {
    color: var(--text-dark) !important;
}

.table tr:hover td.data-link a,
.table tr:hover td.contact-agreement-cell i {
    color: var(--primary-color) !important;
}

.table td.amount {
    /* font-family: var(--font-family-currency);
    font-size: 14px; */
    font-family: var(--bs-font-monospace);
    font-size: 14px;
    color: var(--bs-gray-700);
}

#current-stock-list .table tr:hover td.amount {
    color: var(--available-color) !important
}

.contact-tag {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 400;
    border-radius: 0.25rem;
    text-decoration: none;
    background-color: var(--contact-tag-bg);
    color: var(--contact-tag-color);
    transition: all 0.1s ease-in;
}

.table-hover > tbody > tr:hover > td .contact-tag,
.contact-tag:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}


/*=============================================
    Components - Section Headline
=============================================*/
.section-headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-hover-color);
}

.section-headline.text-center {
    justify-content: center;
}

.primary-filter-bar .title {
    margin: 0;
}


/*=============================================
    Components - Pagination
=============================================*/

.pagination .page-link {
    min-width: 20px;
    width: auto;
    padding: 0 0.5rem;
}

.page-link:focus,
.page-link.active,
.active>.page-link {
    z-index: 3;
    color: var(--white-color);
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
}


/*=============================================
   Components - General View
=============================================*/
.card-body {
    border-color: var(--bs-border-color);
}

.contact-info-panel .contact-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info-panel .company-name {
    font-weight: 500;
    color: #D0010A;
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.contact-info-list li .icon {
    width: 24px;
    color: #6c757d;
    margin-right: 0.75rem;
}

/* .contact-info-list .dropdown-toggle {
        text-decoration: none;
        color: var(--bs-body-color);
    } */
.contact-info-list .dropdown-toggle::after {
    display: none;
}

.contact-view-sidebar .card {
    box-shadow: none;
    border: 1px solid var(--bs-border-color-translucent);
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 1.1rem;
}

.note-card {
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease-in-out;
}

.note-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.note-card .card-header {
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
}




/*=============================================
   Components - Staff Stats Card
=============================================*/
.staff-team-header > .d-flex {
    background: var(--text-color-muted);
    border-radius: 3px;
    color: white;
}

.staff-stat-grid .staff-stat-card-column {
    padding: 0 7.5px;
    margin-bottom: 15px;
}

.staff-stat-card {
    border-radius: 0.35rem;
    border: 1px solid var(--bs-gray-100);
    background-color: var(--white-color);
    overflow: hidden;
}

.staff-stat-card::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover-color));
}

.staff-stat-card .card-header {
    background: linear-gradient(90deg, var(--bs-gray-200), var(--bs-gray-100));
    border-bottom: 1px solid var(--bs-gray-100);
    padding: 0.75rem 1rem;
}

.staff-stat-card .card-header .d-flex {
    gap: 10px;
}


.staff-stat-card .card-header .profile-avatar, 
.staff-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
}

.staff-name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.staff-role {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.2;
}

.staff-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.45rem;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.user-stat-card .card-body {
    padding: 0.9rem 1rem;
}

.staff-section-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-gray-600);
    margin-bottom: 0.4rem;
}

.staff-stat-row {
    margin-bottom: 0.6rem;
}

.staff-stat-item {
    background: var(--bs-gray-100);
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    padding: 0.45rem 0.55rem;
    transition: var(--transition-normal);
}

.staff-stat-item:hover {
    background: white;
    transform:translateY(-1px) scale(1.03);
    box-shadow: 0 2px 2px rgb(0 0 0 / 5%);
    border-color: var(--bs-gray-500);
}

.groups .staff-stat-item {
    display: flex;
    gap: 2px;
    flex-direction: column;
    padding: 0;
}

.staff-stat-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    color: var(--bs-gray-600);
    margin-bottom: 3px;
}

.groups .staff-stat-label {
    padding: 0.25rem 0.55rem;
    background: var(--bs-gray-200);
    font-weight: 600;
    margin-bottom: 0;
}

.staff-stat-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bs-gray-800);
    line-height: 1.2;

}

.staff-stat-subtext {
    font-size: 0.7rem;
    color: var(--bs-gray-600);
    margin-top: 0.15rem;
    line-height: 1.1;
}

.groups .staff-stat-subtext {
    padding:0 0.45rem 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.staff-stat-subvalue {
    font-weight: 600;
    color: var(--bs-gray-700);
}

@media screen and (min-width: 1600px){
    .staff-stat-value {
        font-size: 0.88rem;
    }
}

@media screen and (min-width: 1920px){
    .staff-stat-card-column {
        width: 25%
    }
    .staff-stat-card-column.staff-sales {
        width: 33.3333%
    }
    .staff-stat-value {
        font-size: 0.8rem;
    }
    .staff-sales .staff-stat-value {
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 2400px){
    .staff-stat-card-column {
        width: 25%
    }
    .staff-stat-card-column.staff-sales {
        width: 33.3333%
    }
    .staff-stat-value {
        font-size: 0.8rem;
    }
}




/*=============================================
   Components - Forms
=============================================*/

.form-section-card {
    box-shadow: none;
    border: 1px solid var(--bs-border-color-translucent);
}

.form-section-card .card-header {
    border-bottom: 2px solid var(--primary-hover-color);
}

.row>div:not(:first-child) .form-section-card .card-header {
    background-color: var(--bs-gray-100);
}

.form-section-card .form-label {
    font-weight: 600;
}

.dropzone {
    border: 2px dashed var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    background-color: var(--bs-tertiary-bg);

    cursor: pointer;
}

.dropzone .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--bs-secondary-color);
}

.in-page-nav .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--bs-body-color);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid transparent;
}

.in-page-nav .nav-link.active {
    background-color: var(--accent-light-color);
    border-color: var(--accent-light-color);
}

.in-page-nav .nav-link:not(.active):hover {
    background-color: var(--bs-gray-100);
}

.in-page-nav .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bs-light);
    color: var(--bs-secondary-color);
    margin-right: 0.75rem;
    font-size: 0.8rem;
}

.in-page-nav .nav-link.active .nav-icon {
    background-color: var(--primary-color);
    color: var(--color-white);
}

.in-page-nav .nav-link.active i {
    color: var(--primary-color);
}

.in-page-nav .nav-link.active .nav-icon i {
    color: var(--color-white);
}

.in-page-nav .nav-link.active .nav-text {
    color: var(--primary-color);
    font-weight: 600;
}







/*=============================================
   Media Queries
=============================================*/
@media (max-width: 767.98px) {
    .filter-controls-left {
        flex-grow: 1;
    }

    .search-bar {
        flex-grow: 1;
    }
}

@media (max-width: 991.98px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar,
    .sidebar.collapsed {
        width: var(--sidebar-width-expanded);
    }

    .sidebar {
        left: calc(-1 * var(--sidebar-width-expanded));
    }

    .sidebar .nav-link span,
    .sidebar .nav-link .submenu-arrow,
    .sidebar .sidebar-logo .logo-full,
    .sidebar .sidebar-bottom-toggle .toggle-text,
    .sidebar .sidebar-logout .toggle-text,
    .sidebar .sidebar-footer {
        opacity: 1;
        visibility: visible;
        transition-delay: 0s;
    }

    .sidebar.collapsed .nav-link span,
    .sidebar.collapsed .nav-link .submenu-arrow {
        opacity: 0;
        visibility: hidden;
    }

    body.mobile-nav-active .sidebar.collapsed .nav-link span,
    body.mobile-nav-active .sidebar.collapsed .nav-link .submenu-arrow,
    body.mobile-nav-active .sidebar.collapsed .sidebar-logo .logo-full,
    body.mobile-nav-active .sidebar.collapsed .sidebar-bottom-toggle .toggle-text,
    body.mobile-nav-active .sidebar.collapsed .sidebar-logout .toggle-text,
    body.mobile-nav-active .sidebar.collapsed .sidebar-footer {
        opacity: 1;
        visibility: visible;
    }

    .main-content,
    .main-content.collapsed {
        margin: 0.5rem;
        margin-left: 0.5rem;
    }

    body.mobile-nav-active .sidebar {
        left: 0;
    }

    body.mobile-nav-active .main-content,
    body.mobile-nav-active .page-footer {
        transform: translateX(var(--sidebar-width-expanded));
    }
}















/*=============================================
  PAGE-SPECIFIC COMPONENTS 
=============================================*/
.bg-success {
    background-color: var(--available-color) !important;
}

.bg-delete,
.bg-danger {
    background-color: var(--sidebar-icon-hover-color) !important;
}

[class*="method--"] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

[class*="method--"] i {
    font-size:  80%;
    top: 1px;
    position: relative;
}

.method--get {
    background-color: #3B82F6 ;
}

.method--delete {
    background-color: var(--primary-hover-color) ;
}

.method--update {
    background-color: #F59E0B ;
}

.method--post {
    background-color: var(--available-color) ;
}

.method--get i::before {
    content:"\f063"
}

.method--delete i::before {
    content:"\f1f8"
}

.method--update i::before {
    content:"\f044"
}

.method--post i::before {
    content:"\2b"
}



/*--- Tasks ---*/
.task-overview-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.task-overview-row:last-child {
    border-bottom: none;
}

.task-overview-label {
    flex-basis: 120px;
    font-weight: 500;
    color: var(--bs-secondary-color);
}

.task-overview-value {
    flex-grow: 1;
}

.task-overview-actions a {
    color: var(--bs-secondary-color);
    padding: 0 0.5rem;
}

.assignee-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--bs-body-color);
    border-radius: 50px;
    padding: 2px 4px 2px 2px;
    transition: background-color 0.2s ease;
}

.assignee-link:hover {
    background-color: var(--bs-tertiary-bg);
}

.badge-status,
.badge-priority {
    padding: 0.35em 0.75em;
    font-size: 0.8em;
    font-weight: 600;
    border-radius: 50px;
    white-space: nowrap;
}

.badge-status-inprogress {
    color: #0d6efd;
    background-color: #cfe2ff;
}

.badge-status-inreview {
    color: #c67400;
    background-color: #fffbe6;
}

.badge-status-done,
.badge-status-completed {
    color: #198754;
    background-color: #d1e7dd;
}

.badge-status-paused {
    color: #6c757d;
    background-color: #e2e3e5;
}

.badge-status-overdue {
    color: #dc3545;
    background-color: #f8d7da;
}

.badge-status-default {
    color: #495057;
    background-color: #f8f9fa;
}

.badge-priority-normal {
    color: #198754;
    background-color: #d1e7dd;
}

.badge-priority-high {
    color: #fd7e14;
    background-color: #fff3e0;
}

.badge-priority-urgent {
    color: #dc3545;
    background-color: #f8d7da;
}

.recurring-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bs-primary);
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 50%;
}

.progress {
    height: 8px;
}

.comments-list {
    list-style: none;
    padding: 0;
    position: relative;
}

.comments-list::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background-color: var(--bs-border-color);
}

.comment-item {
    display: flex;
    gap: 0.75rem;
    position: relative;
}

.comment-item:not(:last-child) {
    margin-bottom: 1.5rem;
}

.comment-avatar {
    z-index: 1;
}

.comment-body {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.125rem;
}

.comment-user-link {
    text-decoration: none;
    color: var(--bs-body-color);
}

.comment-user-link:hover strong {
    text-decoration: underline;
}

.comment-user-name {
    font-weight: 600;
}

.comment-timestamp {
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
    white-space: nowrap;
}

.comment-text {
    color: var(--bs-secondary-color);
}

.comment-text strong {
    color: var(--bs-body-color);
}

.comment-text a {
    font-weight: 600;
    text-decoration: none;
}

.comment-input-box {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.comment-input-box .form-control {
    min-height: 80px;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease-in-out;
}

.file-item:hover {
    background-color: var(--bs-tertiary-bg);
}

.assignee-pill {
    font-size: 0.9em;
    font-weight: 500;
}

.assignee-pill .btn-close {
    width: 0.5em;
    height: 0.5em;
}

.user-quick-view-avatar {
    width: 90px;
    height: 90px;
}

.user-summary-card {
    border: 1px solid var(--bs-border-color);
    padding: 0.75rem;
    border-radius: 0.375rem;
}

.user-summary-card-value {
    font-size: 1.5rem;
    font-weight: 600;
}

.user-summary-card-label {
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
}

.modal-fit-content .modal-content {
    width: auto;
    padding: 0;
    display: inline-block;
}

.modal-fit-content .modal-body {
    padding: 0.5rem;
}

.modal-fit-content .modal-header,
.modal-fit-content .modal-footer {
    padding: 0.5rem 1rem;
}

.file-view-modal-preview {
    background-color: var(--bs-tertiary-bg);
    padding: 1rem;
    border-radius: 0.375rem;
    text-align: center;
    margin-bottom: 1rem;
}

.file-view-modal-preview img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.file-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-details-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.file-details-list li:not(:last-child) {
    border-bottom: 1px solid var(--bs-border-color);
}

.file-details-list .label {
    color: var(--bs-secondary-color);
}

.file-details-list .value {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress {
    height: 8px;
    background-color: var(--bs-gray-200);
}

.task-tabs .nav-link {
    color: var(--bs-secondary-color);
    font-weight: 500;
}

.task-tabs .nav-link.active {
    color: var(--bs-primary);
    border-bottom-color: var(--bs-primary);
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0;
}

.fc-theme-standard .fc-scrollgrid {
    border: none;
}

.fc .fc-daygrid-day.fc-day-today {
    background-color: var(--bs-primary-bg-subtle);
}

.fc-event {
    cursor: pointer;
}

.fc-event .fc-event-title {
    color: #fff;
}

.fc-event.event-status-inreview {
    background-color: #c67400;
    border-color: #c67400;
}

.fc-event.event-status-inprogress {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.fc-event.event-status-completed {
    background-color: #198754;
    border-color: #198754;
}

.collaborator-avatars .avatar {
    width: 32px;
    height: 32px;
    border: 2px solid var(--bs-card-bg);
}

.collaborator-avatars .avatar:not(:first-child) {
    margin-left: -12px;
}

.btn-icon-xs {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
}

.summary-cards-wrapper {
    max-width: 1200px;
}

.summary-card-item {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    border: 1px solid var(--bs-border-color);
    background-color: var(--bs-card-bg);
    border-radius: 0.5rem;
    width: 100%;
}

.summary-item-title {
    font-size: 0.875rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
}

.summary-item-value-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.summary-item-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-body-color);
    line-height: 1;
}

.summary-item-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.summary-item-trend.trend-up {
    color: #1c9d6f;
}

@media (max-width: 991.98px) {
    .summary-item-title {
        min-height: 2.5em;
        line-height: 1.25;
    }

    .summary-item-value {
        font-size: 1.75rem;
    }
}

.calendar-container {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    background-color: var(--bs-card-bg);
    transition: all 0.3s ease-in-out;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

#calendarBody.collapsed~.calendar-header {
    border-bottom: none;
}

#calendarBody {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease;
}

#calendarBody.collapsed {
    max-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/*--- Property Listing & Filters ---*/

.filters-bar {
    background-color: var(--white-color);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color-light);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.02);
}

.filters-bar .form-control,
.filters-bar .form-select {
    border-radius: var(--border-radius-base);
    height: 38px;
}

.filters-bar .map-filter-toggle-btn {
    background-color: var(--component-bg-alt);
    color: var(--text-color-light);
    border: 1px solid var(--border-color);
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius-base);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    min-width: 120px;
    justify-content: center;
}

.filters-bar .map-filter-toggle-btn:hover {
    background-color: var(--border-color);
    color: var(--text-color);
}

.property-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card__image-placeholder {
    width: 100%;
    height: 150px;
    background-color: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-light);
    font-weight: bold;
    border-bottom: 1px solid var(--border-color-light);
    overflow: hidden;
}

.property-card__content {
    padding: 1rem;
    flex-grow: 1;
}

.property-card__price {
    font-weight: bold;
    font-size: var(--font-size-lg);
    margin-bottom: 0.5rem;
}

.property-card__address {
    font-size: var(--font-size-sm);
    color: var(--text-color-light);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.property-card__bookmark {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: var(--font-size-lg);
    color: var(--warning-color);
}

.property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.property-detail-item {
    display: flex;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--text-color);
}

.property-detail-item i {
    margin-right: 0.25rem;
    color: var(--text-color-muted);
}

.property-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color-light);
}

.property-tag {
    background-color: var(--component-bg-alt);
    color: var(--text-color-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

/*--- Map Display ---*/
.map-section-wrapper {
    margin-bottom: 2rem;
}

.map-section {
    background-color: #e0e0e0;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.map-section .map-placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    font-size: 2rem;
    color: var(--danger-color);
    cursor: pointer;
    z-index: 5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-marker .map-marker-price {
    background-color: var(--white-color);
    color: #000;
    font-size: var(--font-size-xs);
    font-weight: bold;
    padding: 0.1rem 0.4rem;
    border-radius: var(--border-radius-sm);
    white-space: nowrap;
    margin-top: -0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/*--- Dashboard Elements ---*/
.stats-card {
    position: relative;
    padding: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    min-height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-card__icon {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: #f0f2f5;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.stats-card__icon i {
    font-size: 6rem;
    display: inline-flex;
}

.stats-card__number {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    transition: color 0.3s ease-in-out;
}

.stats-card__label {
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color-muted);
    margin-top: 0.25rem;
    transition: color 0.3s ease-in-out;
}

.stats-card:hover {
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stats-card:hover .stats-card__number,
.stats-card:hover .stats-card__label {
    color: #ffffff;
}

.stats-card:hover .stats-card__icon {
    color: #ffffff;
    opacity: 0.2;
}

.dashboard-section {
    background-color: var(--white-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    /* box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05); */
    margin-bottom: 2rem;
}

.dashboard-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color-light);
}

.dashboard-section__title {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 0;
}

.dashboard-table .table thead th {
    font-size: 0.85rem;
    color: #777;
    font-weight: normal;
}

.dashboard-table .table tbody td {
    font-size: var(--font-size-sm);
    vertical-align: middle;
}

.table thead th.th-col-label  {
    width: 180px;
    text-align: center;
}

@media (min-width: 1920px) {
    .th-col-company {
        min-width: 320px !important 
    }
}

.contact-email-cell {
    max-width: 180px; 
}

.contact-email-cell .contact-tag {
    display: flex
}

.email-text {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


@media (min-width: 1600px) {
    .contact-email-cell {
        width: 280px;
        max-width: 280px;
    }

    .contact-email-cell .contact-tag {
        display: inline-block
    }

    .email-text {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
}

@media (min-width: 1900px) {
    .contact-email-cell {
        width: 320px;
        max-width: 320px;
    }
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-buttons .btn {
    border: 1px solid var(--bs-gray-500);
    display: inline-flex;
    align-items: center;
    color: var(--bs-gray-500)
}

tr:hover td .action-buttons .btn {
    border: 1px solid var(--bs-gray-600);
    background-color: var(--bs-gray-600);
    color: white
}


.action-buttons .btn:hover,
.action-buttons .btn:focus,
.action-buttons .btn:active,
tr:hover td .action-buttons .btn:hover,
tr:hover td .action-buttons .btn:focus,
tr:hover td .action-buttons .btn:active {
    border: 1px solid var(--bs-gray-800);
    background-color: var(--bs-gray-800);
    color: white
}

.action-buttons .btn.btn-restore {
    border: 1px solid var(--available-color);
    color: var(--available-color);
    opacity: 0.7;
}

.action-buttons .btn.btn-delete {
    border: 1px solid var(--bs-danger-text-emphasis);
    color: var(--bs-danger-text-emphasis);
    opacity: 0.7;
}

tr:hover td .action-buttons .btn.btn-delete {
    background-color: var(--bs-danger-text-emphasis);
    border-color: var(--bs-danger-text-emphasis);
    color: white
}

.action-buttons .btn.btn-delete:hover,
.action-buttons .btn.btn-delete:focus,
.action-buttons .btn.btn-delete:active,
tr:hover td .action-buttons .btn.btn-delete:hover,
tr:hover td .action-buttons .btn.btn-delete:focus,
tr:hover td .action-buttons .btn.btn-delete:active {
    background-color: var(--accent-color);
    border-color:var(--accent-color);
    color: white;
    opacity: 1;
}

tr:hover td .action-buttons .btn.btn-restore {
    background-color: var(--available-color);
    border-color: var(--available-color);
    color: white
}

.action-buttons .btn.btn-restore:hover,
.action-buttons .btn.btn-restore:focus,
.action-buttons .btn.btn-restore:active,
tr:hover td .action-buttons .btn.btn-restore:hover,
tr:hover td .action-buttons .btn.btn-restore:focus,
tr:hover td .action-buttons .btn.btn-restore:active  {
    opacity: 1;
    background-color: var(--available-color);
    border-color: var(--available-color);
    color: white
}


.action-buttons .btn:hover i {
    color: white !important
}

.table figure > img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: center;
    border-radius: 3px;
}

#estate-list .table figure > img {
    width: 120px;
    height: 40px;
}

.text-details [class*="pb-"] {
    padding-bottom: 0 !important;
}


/*--- Carousel ---*/
.carousel-inner .carousel-item {
    display: flex !important;
    transition: transform 0.5s ease-in-out;
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex !important;
}

.carousel-inner .carousel-item>div {
    display: block;
    flex: 0 0 calc(100% / 3);
    margin-right: 1rem;
}

.carousel-inner .carousel-item>div:last-child {
    margin-right: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 0.75rem;
    border-radius: 50%;
}

.related-properties-section .splide__arrow {
    opacity: 0;
    transition: all 0.3s ease
}

.related-properties-section:hover .splide__arrow {
    opacity: 1;
}

.related-properties-section .splide__arrow.splide__arrow--prev {
    left: -0.5em
}

.related-properties-section .splide__arrow.splide__arrow--next {
    right: -0.5em
}

.related-properties-section:hover .splide__arrow.splide__arrow--prev {
    left: 1em
}

.related-properties-section:hover .splide__arrow.splide__arrow--next {
    right: 1em
}

@media (min-width: 1200px) {
    .carousel-inner .carousel-item>div {
        flex: 0 0 calc(100% / 4);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .carousel-inner .carousel-item>div {
        flex: 0 0 calc(100% / 2);
    }
}

@media (max-width: 767px) {
    .carousel-inner .carousel-item>div {
        flex: 0 0 100%;
        margin-right: 0;
    }
}

/* Property View */
.section-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.card {
    border: 1px solid var(--border-color);
    box-shadow: none !important;
    /* box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04); */
}

.property-stat {
    font-size: 0.9rem;
}

.property-stat i {
    color: var(--primary-color);
}

.property-details-v2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.detail-item-v2 {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--body-bg);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.detail-item-v2 .icon-wrap {
    color: var(--primary-color);
    margin-right: 1rem;
}

.detail-item-v2 .detail-label {
    font-size: 0.8rem;
    color: var(--text-color-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item-v2 .detail-data {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.image-gallery-container .image-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 0.375rem;
    background-color: #e9ecef;
    display: block;
}

.image-gallery-container .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-gallery-container .image-wrapper:hover img {
    transform: scale(1.05);
}

.view-all-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background-color 0.3s ease;
}

.image-wrapper:hover .view-all-overlay {
    background-color: rgba(0, 0, 0, 0.75);
}

.pill-tag {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    font-size: var(--font-size-xs);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--border-radius-pill);
    background-color: var(--bs-gray-500);
    color: #f1f1f1;
}

.company-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.45rem 0.65rem;
    background: #ffffff;
    transition: background 0.15s ease, border-color 0.15s ease;
    font-size: 0.9rem;
}

.company-item:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.company-name {
    color: #374151;
    font-weight: 500;
    line-height: 1.2;
}

.company-badge {
    background: #10b981;
    color: #ffffff;
    font-weight: 600;
    padding: 0.1rem 0.45rem;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    line-height: 1;
    min-width: 28px;
    text-align: center;
}


/* Property Type Colors */
.houseandland,
.pill-tag--type-1 {
    background-color: #006668;
}

.dualkey,
.pill-tag--type-2 {
    background-color: #bae6fd;
    color:#0284c7
}

.duplex,
.pill-tag--type-3 {
    background-color: #006400;
}

.landonly,
.pill-tag--type-4 {
    background-color: #795547;
}

.dualkey,
.pill-tag--type-5 {
    background-color: #006668;
}

.houseonly,
.pill-tag--type-7 {
    background-color: var(--bs-gray-600);
}

.townhouse,
.pill-tag--type-11 {
    background-color: #f97316;
}

.coliving,
.pill-tag--type-12 {
    background-color: #ecfccb;
    color: #4d7c0f
}

/* Role Type */
.user--admin {
    background-color:#fef2f2;
    color: var(--primary-hover-color)
}

.user--marketing {
    background: var(--bs-info-bg-subtle);
    color: var(--bs-info-text-emphasis);
}

.user--builder {
    background-color: var(--bs-light);
    color: var(--bs-gray-600)
}

.user--developer {
    background-color: #f7fee7;
    color: #4d7c0f
}

.user--affiliate {
    background-color: #c5b3e6;
    color: white
}

.user--superadmin {
    background-color: #dc3545;
    color: white
}

/* Property Status Colors */
.pill-tag--feature {
    background-color: #6c757d24;
    color: var(--text-color-light)
}

.pill-tag--status-sold,
.pill-tag--status-3 {
    background-color: var(--sold-color);
}

.pill-tag--status-settled,
.pill-tag--status-5 {
    background-color: #7A1F0E;
}

.pill-tag--status-unconditional,
.pill-tag--status-4 {
    background-color: #E31A1A;
}

.pill-tag--status-conditional,
.pill-tag--status-8 {
    background-color: #B51241;
}

.pill-tag--status-asset,
.pill-tag--status-9 {
    background-color: #FF9333;
}

.pill-tag--status-offmarket,
.pill-tag--status-underconstruction,
.pill-tag--status-10 {
    background-color: var(--under-offer-color);
    color:var(--text-color)
}

.pill-tag--status-under-offer,
.pill-tag--status-11 {
    background-color: var(--under-offer-color);
    color:white
}

.pill-tag--status-eoi,
.pill-tag--status-2 {
    background-color: var(--eoi-color);
    color:white
}
.pill-tag--status-1,
.pill-tag--status-active,
.pill-tag--status-available,
.pill-tag--status-registered,
.pill-tag--status-success {
    background-color: var(--available-color);
}

.pill-tag--status-upcoming,
.pill-tag--status-0 {
    background-color: var(--upcoming-color);
    color:#ca6510
}

.pill-tag--status-unconditional {
    background-color: var(--unconditional-color);
}

.pill-tag--status-unconditional2,
.pill-tag--total {
    background-color: var(--unconditional-color2);
}

.pill-tag--status-conditional {
    background-color: var(--conditional-color);
}

/* Expenses Status */
.pill-tag--paid {
    background-color: var(--available-color);
}
.pill-tag--unpaid {
    background-color: var(--sidebar-icon-hover-color);
}

/* Salary â€“ pastel pink */
.pill-tag--salary {
    color:#9D174D;
    background:#FCE7F3;
}

/* Operations â€“ changed to pastel blue-gray */
.pill-tag--operating {
    color:#1E40AF;
    background:#E0E7FF;
}

/* Professional Fees â€“ pastel blue */
.pill-tag--professional_fee {
    color:#1E3A8A;
    background:#DBEAFE;
}

/* Utilities â€“ pastel cream */
.pill-tag--utilities {
    color:#92400E;
    background:#FEF3C7;
}

/* Taxes â€“ pastel sand */
.pill-tag--taxes {
    color:#7C2D12;
    background:#FDE2D2;
}

/* Marketing â€“ pastel yellow */
.pill-tag--marketing {
    color:#A16207;
    background:#FEF9C3;
}

/* Repairs â€“ pastel coral */
.pill-tag--repairs {
    color:#9A3412;
    background:#FFE4D5;
}

/* Supplies â€“ changed to pastel purple-lavender */
.pill-tag--supplies {
    color:#6B21A8;
    background:#F3E8FF;
}

/* Bonus â€“ pastel purple */
.pill-tag--bonus {
    color:#6B21A8;
    background:#F3E8FF;
}

/* Fixed â€“ neutral pastel blue-gray */
.pill-tag--fixed {
    color:#334155;
    background:#E2E8F0;
}

/* Insurance â€“ pastel sky blue */
.pill-tag--insurance {
    color:#0369A1;
    background:#E0F2FE;
}

/* Reimbursement â€“ changed to pastel orange */
.pill-tag--reimbursement {
    color:#B45309;
    background:#FEF3C7;
}

/* Rent â€“ pastel rose */
.pill-tag--rent {
    color:#9D174D;
    background:#FCE7F3;
}

/* Travel â€“ pastel cyan (non-green shift) */
.pill-tag--travel {
    color:#0E7490;
    background:#CFFAFE;
}

/* Variable â€“ pastel amber */
.pill-tag--variable {
    color:#B45309;
    background:#FEF3C7;
}

/* Paid â€“ the ONLY green tag */
.pill-tag--paid {
    color:#166534;
    background:#DCFCE7;
}

/* Unpaid â€“ pastel red */
.pill-tag--unpaid {
    color:#B91C1C;
    background:#FEE2E2;
}

/* Visit â€“ pastel indigo */
.pill-tag--visit {
    color:#1E40AF;     
    background:#E0E7FF;
}

/* Download â€“ pastel teal green */
.pill-tag--download {
    color:#047857;     
    background:#D1FAE5; 
}

.bg-unpaid {
    background-color: var(--bg-unpaid) !important;
}


.status-pill {
    display: inline-block;
    padding: 0.4em 0.75em;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--border-radius-pill);
}

.status-under-offer { background-color: var(--under-offer-color); color: var(--dark-color); }
.status-sold { background-color: var(--sold-color); }
.status-available { background-color: var(--available-color); }


.progress-snap-item {
    text-align: center;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.progress-snap-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.progress-snap-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
    filter: grayscale(80%);
}

.progress-snap-item:hover .progress-snap-image,
.progress-snap-item.is-finished .progress-snap-image,
.progress-snap-item.is-current-stage .progress-snap-image {
    filter: grayscale(0%);
}

.progress-snap-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.progress-snap-label {
    font-weight: 600;
    color: var(--text-color-light);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.progress-step-number {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white-color);
    padding: 0.15rem 0.5rem;
    border-radius: var(--border-radius-pill);
    font-size: var(--font-size-xs);
    font-weight: 600;
    z-index: 2;
}

.current-stage-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.progress-snap-item.is-finished {
    opacity: 1;
}

.progress-snap-item.is-finished .progress-snap-image::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f058';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.5rem;
    color: var(--white-color);
    background-color: var(--success-color);
    border-radius: 50%;
    line-height: 1;
    z-index: 2;
}

.progress-snap-item.is-current-stage {
    opacity: 1;
}

.progress-snap-item.is-current-stage .progress-snap-image {
    border-color: var(--primary-color);
}

.progress-snap-item.is-current-stage .progress-snap-label {
    color: var(--primary-color);
}

.splide__arrow {
    background: var(--primary-color);
    opacity: 0.8;
}

.splide__arrow:hover {
    opacity: 1;
}

.splide__arrow svg {
    fill: var(--white-color);
}

.nav-tabs .nav-link {
    color: var(--text-color-muted);
    font-weight: 500;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: var(--primary-color);
    border-color: var(--border-color) var(--border-color) var(--white-color);
    border-bottom-width: 3px;
    border-bottom-color: var(--primary-color);
}

/* Media Files */
#main-image-carousel .splide__slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: zoom-in;
}

#thumbnail-image-carousel .splide__slide {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 0.5rem;
    overflow: hidden;
}

#thumbnail-image-carousel .splide__slide.is-active {
    opacity: 1;
    border-color: var(--primary-color);
}

#thumbnail-image-carousel .splide__slide img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

#video-carousel .splide__slide {
    position: relative;
}

#video-carousel .splide__slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Stage Progress */
#current-stage-carousel .splide__slide {
    cursor: default;
}

.current-stage-item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}

.current-stage-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.current-stage-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: var(--white-color);
    text-align: right;
}

.current-stage-info .stage-number {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.current-stage-info .stage-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Download Section */
.download-links-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .download-links-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.download-link {
    display: block;
    padding: 0.65rem 1rem;
    background-color: var(--body-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.download-link:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #000;
}

.download-link i {
    color: var(--primary-color);
}

/* Property Card */
.property-card-v2 {
    border: 1px solid #e0e0e0;
    border-radius: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.property-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.property-card-v2-image {
    position: relative;
    height: 220px;
}

.property-card-v2-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card-v2 .status-pill {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
}

.property-card-v2 .favorite-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
}

.property-card-v2 .favorite-btn i {
    transition: color 0.2s ease;
    color: var(--text-color-muted);
}

.property-card-v2 .favorite-btn.is-favorited i {
    color: var(--primary-color);
    font-weight: 900;
}


.property-card-v2 .card-body {
    padding: 1.25rem;
}

.property-card-v2 .price {
    color: var(--text-color-muted);
}

.property-card-v2 .specs {
    font-size: 0.9rem;
    white-space: nowrap;
}

.property-card-v2 .specs i {
    color: var(--primary-color);
}

.property-card-v2 .address {
    color: #333;
}

.property-card-v2 .card-footer {
    border-top: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--text-color-muted);
    text-transform: uppercase;
}

.property-card-v2 .tags {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.property-card-v2 .tags span {
    color: var(--white-color);
}

.property-card-v2-details-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 992px) {
    .property-card-v2-details-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.property-card-v2-details-grid small {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.property-card-v2-details-grid strong {
    font-size: 0.95rem;
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
    color: var(--primary-hover-color);
    /* background-color: rgba(208, 1, 10, 0.05); */
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    border-color: rgba(208, 1, 10, 0.25);
    box-shadow: 0 0 0 0.25rem rgba(208, 1, 10, 0.25);
}

.accordion-button::after {
    filter: grayscale(100%) brightness(50%) sepia(100%) hue-rotate(-25deg) saturate(600%) contrast(0.8);
}

/* Placeholders */
.avatar-wrapper {
    gap: 5px;
}
.placeholder,
.placeholder--avatar {
  background-color: var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color-muted);
  font-weight: bold;
  overflow: hidden;
}

.placeholder--logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.placeholder--avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.75rem;
}

img.placeholder--avatar {
    object-fit: cover;
    object-position: center;
}

.user--avatar.placeholder--avatar, 
.group--logo.placeholder--avatar {
    margin-right: 5px;
    border: 1px solid var(--bs-gray-300);
    width: 40px;
    height: 40px;
}



/*=============================================
General Form Page Styles 
=============================================*/

    .form-sidebar {
        background-color: #fff;
        padding: 1.5rem 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
        height: fit-content;
        min-height: 400px;
    }

    .form-sidebar__heading {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }

    .form-sidebar__nav {
        list-style: none;
        padding-left: 0;
    }

    .form-sidebar__nav-item {
        margin-bottom: 0.5rem;
    }

    .form-sidebar__nav-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        text-decoration: none;
        color: #555;
        font-weight: 500;
        border-radius: 0.375rem;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    
    .form-sidebar__nav-link.active {
        background-color: var(--primary-color);
        color: #fff;
    }

    .form-sidebar__nav-link i {
        color: #999;
        font-size: 0.9rem;
    }

    .form-sidebar__nav-link:hover {
        background-color: #f0f0f0;
        color: #333;
    }

    .form-sidebar__nav-link--active {
        background-color: #e9ecef;
        color: #000;
        font-weight: 600;
    }

    .form-sidebar__nav-link--active i {
        color: #000;
    }

    .form-sidebar__sub-nav {
        list-style: none;
        padding-left: 2.5rem;
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
    }

    .form-sidebar__sub-nav-item {
        margin-bottom: 0.25rem;
    }

    .form-sidebar__sub-nav-link {
        display: block;
        padding: 0.25rem 0;
        text-decoration: none;
        color: #777;
        font-size: 0.875rem;
    }

    .form-sidebar__sub-nav-link:hover {
        color: #333;
        text-decoration: underline;
    }

    .form-sidebar__sub-nav-link--active {
        color: #000;
        font-weight: 600;
    }

    .form-main-content {
        background-color: #fff;
        /* padding: 1.5rem; */
        padding: 0rem;
        border-radius: 0.5rem;
        border: 1px solid var(--border-color);
        /* box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05); */
    }

    .form-top-actions {
        display: flex;
        justify-content: flex-end;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .form-top-actions .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px dashed var(--bs-gray-200);
    }

    .form-section:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .form-section__title {
        font-size: 1.1rem;
        font-weight: 600;
        margin: 1rem 0 1.5rem;
        color: var(--bs-gray-700);
        border-bottom: 2px solid var(--primary-hover-color);
        padding-bottom: 0.5rem;

    }

    .form-group .form-label {
        font-size: 0.9rem;
        font-weight: 500;
        color: #495057;
        margin-bottom: 0.5rem;
    }

    .form-control {
        font-size: 0.9rem;
    }

    .file-upload-placeholder {
        border: 2px dashed #ced4da;
        border-radius: 0.375rem;
        padding: 2rem;
        text-align: center;
        color: #6c757d;
        cursor: pointer;
        transition: border-color 0.2s ease;
    }

    .file-upload-placeholder:hover {
        border-color: #007bff;
    }

    .file-upload-placeholder i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        display: block;
    }

    .file-upload-placeholder .text-primary {
        font-weight: 500;
    }

    /* Profile specific styles */
    .profile-photo-placeholder {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background-color: #dee2e6;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #888;
        font-size: 2rem;
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        overflow: hidden;
    }

    .profile-photo-placeholder i {
        font-size: 2.5rem;
    }

    .form-check-switch {
        /* For 2FA toggles */
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        padding: 0.5rem 0;
    }

    .form-check-switch .form-check-label {
        font-weight: 500;
        color: #333;
    }

    .form-check-switch .form-check-input {
        width: 3.5rem;
        /* Larger toggle switch */
        height: 1.75rem;
    }

    .browser-session-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.85rem;
        color: #555;
        margin-bottom: 0.5rem;
    }

    .browser-session-item i {
        color: #6c757d;
    }

    .browser-session-item .badge {
        font-size: 0.7em;
        font-weight: normal;
    }

    .delete-account-warning {
        background-color: #fcebe9;
        /* Light red background */
        border: 1px solid #dc3545;
        /* Red border */
        color: #dc3545;
        /* Red text */
        padding: 1rem;
        border-radius: 0.375rem;
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }

    .delete-account-warning i {
        margin-right: 0.5rem;
    }

    /* Responsive adjustments */
    @media (max-width: 991.98px) {
        .form-sidebar {
            margin-bottom: 1.5rem;
        }

        .form-main-content {
            padding: 1rem;
        }
    }


    /* Calculator */
    .custom-container.stamp-duty {
        max-width: 1170px;
    }

    .calc-card {
        border: 1px solid var(--border-color);
        border-radius: 0.75rem;
        background: white;
    }

    .calc-title {
        font-weight: 600;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.5rem;
    }

    .calc-subtitle {
        font-weight: 600;
        color: var(--bs-gray-600);
    }

    .calc-amount {
        font-weight: 700;
        font-size: 2rem;
        color: var(--text-dark);
    }

    .calc-state {
        font-size: 0.9rem;
        font-weight: 500;
        color: #374151;
    }

    .calc-note {
        font-size: 0.75rem;
       color: var(--bs-gray-600);
    }

    .calculator__map img {
        max-height: 180px;
        object-fit: contain;
    }


    .calculator__map img {
        max-height: 180px;
        object-fit: contain;
    }

    .placeholder.placeholder--image {
        width: 100%;
        height: 140px;
        border-radius: 0.5rem;
        background: white;
    }

    .calculator__result {
        text-align: center;
        padding-top: 1rem;
    }

    .calculator__amount {
        font-weight: bold;
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .calculator__note {
        color: var(--bs-gray-300);
    }

    .calculator-section-card {
        background-color: #fff;
        padding: 1.5rem;
        border-radius: 0.5rem;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
        margin-bottom: 1.5rem;
    }

    .calculator-section-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        color: #333;
    }

    .calculator-form .form-label {
        font-size: 0.9rem;
        font-weight: 500;
        color: #495057;
        margin-bottom: 0.5rem;
    }

    .calculator-form .form-control,
    .calculator-form .form-select {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .price-breakdown-chart {
        width: 180px;
        height: 180px;
        border-radius: 50%;
        border: 15px solid #ffc107;
        /* Yellowish border for part of the chart */
        border-right-color: #dc3545;
        /* Reddish for another part */
        border-top-color: #0d6efd;
        /* Blue for another part */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        font-weight: bold;
        font-size: 1.5rem;
        color: #333;
        margin: 0 auto;
        position: relative;
    }

    .price-breakdown-chart::before {
        content: '';
        position: absolute;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background-color: #fff;
        /* Inner circle background */
        z-index: -1;
    }

    .price-breakdown-chart small {
        font-size: 0.75rem;
        font-weight: normal;
        color: #777;
        margin-top: 0.25rem;
    }

    .summary-card {
        background-color: #fff;
        padding: 1.5rem;
        border-radius: 0.5rem;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
        text-align: center;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .summary-card__amount {
        font-size: 1.8rem;
        font-weight: bold;
        color: #000;
        margin-bottom: 0.25rem;
    }

    .summary-card__label {
        font-size: 0.9rem;
        color: #777;
    }
    
    .stats-card__number {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    
    .chart-price {
        font-size: 1.5rem;
        font-weight: 700;
        color:var(--dark-color)
    }

    .breakdown-table .table {
        margin-bottom: 0;
        font-size: 0.9rem;
    }

    .breakdown-table .table th,
    .breakdown-table .table td {
        padding: 0.75rem;
        vertical-align: middle;
        color: var(--bs-gray-600)
    }

    .breakdown-table .table td.text-end {
       font-family: var(--font-family-currency);
       color: var(--bs-gray-800)
    }
 
    .breakdown-table .table thead th {
        border-bottom: 2px solid var(--primary-hover-color);
        text-align: center;
        color: var(--text-dark)
    }

    .breakdown-table .table tbody tr:last-child {
        border-top: 1px solid #dee2e6;
        /* Separator for total row */
        font-weight: bold;
    }

    .breakdown-table .table tbody tr:last-child,
    .breakdown-table .table tbody tr.totals-row {
        background-color: var(--primary-hover-color);
    }
    .breakdown-table .table tbody tr:last-child td,
    .breakdown-table .table tbody tr.totals-row td {
        color: white;
    }

    .what-means-section {
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid #eee;
    }

    .what-means-section__title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: #333;
    }

    .what-means-section__text {
        font-size: 0.9rem;
        color: #777;
    }


    @media (min-width: 2400px) {
       .custom-container.stamp-duty {
        max-width: 1170px !important;
        margin: 0 auto;
    }
}


/*=============================================
SMS Widget
=============================================*/
 .sms-widget {
     position: fixed;
     bottom: 30px;
     right: 30px;
     z-index: 1050;
     display: flex;
     flex-direction: column;
     align-items: flex-end;
     gap: 15px;
     pointer-events: none;
 }

 .sms-widget .bg-primary {
    background-color: var(--primary-color) !important;
    border-radius: 6px 6px 0 0
}

 .sms-panel {
     width: 350px;
     opacity: 0;
     visibility: hidden;
     pointer-events: none;
     transform: translateY(20px) scale(0.95);
     transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
     transform-origin: bottom right;
 }

 .sms-panel.is-active {
     opacity: 1;
     visibility: visible;
     pointer-events: auto;
     transform: translateY(0) scale(1);
 }

 .sms-trigger {
     width: 60px;
     height: 60px;
     border-radius: 50%;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
     transition: transform 0.2s ease, background-color 0.2s ease;
     display: flex;
     align-items: center;
     justify-content: center;
     pointer-events: auto;
 }

 .sms-trigger:hover {
     transform: scale(1.08);
 }

 .sms-trigger svg {
     transition: transform 0.3s ease;
 }

 .is-active~.sms-trigger svg {
     transform: rotate(360deg);
 }
