/* Modern Admin Design - Sidebar and Topbar */

/* Fix Font Awesome Icons */
.fa, .ion {
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

/* Ensure icons are visible */
i.fa, i.ion {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force specific icon rendering for myListings page */
i.fa-pencil:before {
    content: "\f040" !important;
    font-family: 'FontAwesome' !important;
}

i.fa-download:before {
    content: "\f019" !important;
    font-family: 'FontAwesome' !important;
}

i.fa-map-marker:before {
    content: "\f041" !important;
    font-family: 'FontAwesome' !important;
}

i.fa-star:before {
    content: "\f005" !important;
    font-family: 'FontAwesome' !important;
}

i.fa-star-o:before {
    content: "\f006" !important;
    font-family: 'FontAwesome' !important;
}

i.fa-trash:before,
i.fa-trash-o:before {
    content: "\f1f8" !important;
    font-family: 'FontAwesome' !important;
}

i.fa-upload:before {
    content: "\f093" !important;
    font-family: 'FontAwesome' !important;
}

i.fa-image:before {
    content: "\f03e" !important;
    font-family: 'FontAwesome' !important;
}

i.fa-edit:before {
    content: "\f044" !important;
    font-family: 'FontAwesome' !important;
}

i.fa-key:before {
    content: "\f084" !important;
    font-family: 'FontAwesome' !important;
}

i.fa-lock:before {
    content: "\f023" !important;
    font-family: 'FontAwesome' !important;
}

i.fa-history:before {
    content: "\f1da" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}

i.fa-facebook:before,
i.fa-facebook-square:before {
    content: "\f082" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}

i.fa-instagram:before {
    content: "\f16d" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}
i.fa-file-pdf-o:before {
    content: "\f1c1" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}
i.fa-print:before {
    content: "\f02f" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}
i.fa-expand:before {
    content: "\f065" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}
i.fa-user:before {
    content: "\f007" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}
i.fa-sign-out:before {
    content: "\f011" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}
i.fa-chevron-up:before {
    content: "\f077" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}
i.fa-chevron-down:before {
    content: "\f078" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}
i.fa-chevron-left:before {
    content: "\f053" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}
i.fa-chevron-right:before {
    content: "\f054" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}
i.fa-th-large:before {
    content: "\f009" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}
i.fa-angle-left:before {
    content: "\f104" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}
i.fa-angle-right:before {
    content: "\f105" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}

i.fa-bars:before {
    content: "\f0c9" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}

/* MyListings page - Business and Offer names */
.business-name-mylistings {
    color: #c7a370;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.offer-name-mylistings {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 400;
}

/* ========== BODY & PAGE WRAPPER ========== */
body {
    background: #f5f5f5;
    overflow-x: hidden;
}

.page-wrapper {
    background: #f5f5f5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========== MODERN SIDEBAR ========== */
.page-wrapper .sidebar,
.sidebar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #4a5f7f 100%) !important;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.15) !important;
    position: fixed !important;
    height: 100vh !important;
    overflow-y: auto !important;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                min-width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 1000 !important;
}

.page-wrapper .sidebar.collapsed,
.sidebar.collapsed {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    overflow: visible !important;
}

.sidebar.collapsed .copyright {
    display: none !important;
}

.sidebar.collapsed .bar-head {
    padding: 15px 10px !important;
}

.sidebar.collapsed .bar-head .logo {
    display: none !important;
}

.sidebar.collapsed .bar-head .logo img {
    max-width: 30px !important;
    height: 30px !important;
}

/* Sidebar mini toggle button (shows in collapsed state) */
.sidebar-mini-toggle {
    display: none !important;
    position: relative !important;
    background: linear-gradient(135deg, #c7a370 0%, #d4b88a 100%) !important;
    border: none !important;
    border-radius: 6px !important;
    width: 40px !important;
    height: 40px !important;
    box-shadow: 0 2px 8px rgba(199, 163, 112, 0.4) !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    margin: 0 auto !important;
}

.sidebar-mini-toggle i {
    color: white !important;
    font-size: 18px !important;
}

.sidebar-mini-toggle:hover {
    background: linear-gradient(135deg, #d4b88a 0%, #c7a370 100%) !important;
    box-shadow: 0 4px 12px rgba(199, 163, 112, 0.6) !important;
    transform: scale(1.05) !important;
}

.sidebar.collapsed .sidebar-mini-toggle {
    display: flex !important;
}

.sidebar.collapsed .bar-head {
    padding: 15px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sidebar.collapsed .nav-side li {
    position: relative !important;
    overflow: visible !important;
}

.sidebar.collapsed .nav-side li a {
    justify-content: center !important;
    padding: 15px 0 !important;
    gap: 0 !important;
    width: 60px !important;
    overflow: visible !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.sidebar.collapsed .nav-side li a .nav-icon {
    margin: 0 auto !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    font-size: 22px !important;
    width: auto !important;
    display: block !important;
}

.sidebar.collapsed .nav-side li a .nav-label {
    position: absolute !important;
    left: 60px !important;
    top: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    background: linear-gradient(90deg, rgba(44, 62, 80, 0.98) 0%, rgba(52, 73, 94, 0.98) 100%) !important;
    color: white !important;
    padding: 0 20px 0 15px !important;
    border-radius: 0 8px 8px 0 !important;
    white-space: nowrap !important;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.4) !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    transform: translateX(-10px) !important;
    visibility: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    pointer-events: none !important;
    min-width: 150px !important;
}

.sidebar.collapsed .nav-side li a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    z-index: 10000 !important;
}

.sidebar.collapsed .nav-side li a:hover .nav-icon {
    color: #c7a370 !important;
    transform: scale(1.15) !important;
}

.sidebar.collapsed .nav-side li a:hover .nav-label {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

.sidebar.collapsed .nav-side li.active a .nav-icon {
    color: #c7a370 !important;
    font-size: 24px !important;
}

/* Adjust mainbar to account for fixed sidebar */
.page-wrapper .mainbar,
.mainbar {
    /* margin-left: 250px !important; */
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}


/* Sidebar Toggle Button */
.sidebar-toggle {
    position: fixed !important;
    top: 20px !important;
    left: 260px !important;
    z-index: 1001 !important;
    background: linear-gradient(135deg, #c7a370 0%, #d4b88a 100%) !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(199, 163, 112, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sidebar-toggle:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(199, 163, 112, 0.5) !important;
}

.sidebar-toggle i {
    color: white !important;
    font-size: 18px !important;
    transition: transform 0.3s ease !important;
    display: block !important;
    line-height: 1 !important;
}

.sidebar-toggle i:before {
    content: "\f0c9" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}

body:has(.sidebar.collapsed) .sidebar-toggle {
    display: none !important;
}

body:has(.sidebar.collapsed) .sidebar-toggle i:before {
    content: "\f0c9" !important;
}

/* Mobile Peek Button (Shows when sidebar is hidden) */
.mobile-menu-peek {
    position: fixed !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 999 !important;
    background: linear-gradient(135deg, #c7a370 0%, #d4b88a 100%) !important;
    border: none !important;
    border-radius: 6px !important;
    width: 38px !important;
    height: 38px !important;
    box-shadow: 0 2px 8px rgba(199, 163, 112, 0.4) !important;
    cursor: pointer !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.mobile-menu-peek:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(199, 163, 112, 0.6) !important;
}

.mobile-menu-peek i {
    color: white !important;
    font-size: 18px !important;
}

/* Mobile Close Button (Inside Sidebar) */
.sidebar .navbar-toggle {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 6px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    cursor: pointer !important;
    display: none;
    transition: all 0.3s ease !important;
}

.sidebar .navbar-toggle:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.sidebar .navbar-toggle .icon-bar {
    background-color: white !important;
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    border-radius: 1px !important;
    margin: 4px auto !important;
}

.sidebar .navbar-toggle .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    border: 0 !important;
}

/* Remove old tooltip styles - now using expanding labels */

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

/* Sidebar Logo Area */
.sidebar .bar-head {
    padding: 25px 20px !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(199, 163, 112, 0.15) !important;
}

.sidebar .bar-head .logo img {
    max-width: 120px !important;
    height: auto !important;
    transition: transform 0.3s ease, opacity 0.3s ease, height 0.3s ease !important;
}

.sidebar .bar-head .logo img:hover {
    transform: scale(1.05) !important;
}

.sidebar .bar-head .link-mobile {
    display: none !important;
}

/* Sidebar Menu Items */
.sidebar .widget.left-menu {
    padding: 0;
    overflow: visible !important;
}

.sidebar .nav-side {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0 !important;
}

.sidebar .nav-side li {
    margin: 0;
    position: relative;
}

.sidebar .nav-side li a {
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 400;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.sidebar .nav-side li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: 0;
}

.sidebar .nav-side li a:hover::before {
    width: 100%;
}

.sidebar .nav-side li a:hover {
    color: #ffffff;
    text-decoration: none;
    border-left-color: #c7a370;
    padding-left: 30px;
}

.sidebar .nav-side li.active a {
    background: rgba(199, 163, 112, 0.25);
    color: #ffffff;
    border-left-color: #c7a370;
    font-weight: 500;
}

.sidebar .nav-side li.active a .nav-icon {
    color: #c7a370;
}

.sidebar .nav-side li a .nav-icon {
    font-size: 20px;
    width: 28px;
    min-width: 28px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
}

.sidebar .nav-side li a:hover .nav-icon {
    transform: scale(1.1);
    color: #ffffff;
}

.sidebar .nav-side li a .nav-label {
    position: relative;
    z-index: 1;
    font-size: 14px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Mobile Toggle Button */
.sidebar .navbar-toggle {
    display: none;
    position: absolute;
    top: 20px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.sidebar .navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 4px 0;
    border-radius: 1px;
}

/* Copyright/Footer */
.sidebar .copyright {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

/* ========== MODERN TOPBAR ========== */
.bar-head.top-bar {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 15px 30px;
    border-bottom: 1px solid #e9ecef;
}

.bar-head.top-bar .btn-transparent {
    background: linear-gradient(135deg, #c7a370 0%, #d4b88a 100%);
    color: white !important;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(199, 163, 112, 0.3);
    transition: all 0.3s ease;
}

.bar-head.top-bar .btn-transparent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(199, 163, 112, 0.4);
}

.bar-head.top-bar .profile-card {
    display: flex;
    align-items: center;
}

.bar-head.top-bar .nav-items {
    gap: 15px !important;
}

.bar-head.top-bar .dropdown-toggle {
    background: rgba(199, 163, 112, 0.1);
    padding: 8px 16px !important;
    border-radius: 25px;
    color: #2c3e50 !important;
    transition: all 0.3s ease;
}

.bar-head.top-bar .dropdown-toggle:hover {
    background: rgba(199, 163, 112, 0.2);
}

.bar-head.top-bar .dropdown-toggle img {
    width: 32px !important;
    height: 32px !important;
    border: 2px solid #c7a370 !important;
}

.bar-head.top-bar .dropdown-menu {
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 8px;
}

.bar-head.top-bar .dropdown-menu li a {
    padding: 10px 20px;
    color: #2c3e50;
    transition: all 0.2s ease;
}

.bar-head.top-bar .dropdown-menu li a:hover {
    background: rgba(199, 163, 112, 0.1);
    color: #c7a370;
}

.bar-head.top-bar .dropdown-menu li a i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
    display: inline-block !important;
    visibility: visible !important;
}

.bar-head.top-bar .dropdown-menu li a i.fa-user:before {
    content: "\f007";
    font-family: 'FontAwesome';
}

.bar-head.top-bar .dropdown-menu li a i.fa-sign-out:before {
    content: "\f08b";
    font-family: 'FontAwesome';
}

/* Admin Activity Icon */
.bar-head.top-bar a[title*="Admin Activity"] {
    background: rgba(199, 163, 112, 0.1);
    color: #c7a370 !important;
    padding: 10px 12px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.bar-head.top-bar a[title*="Admin Activity"]:hover {
    background: rgba(199, 163, 112, 0.2);
    transform: scale(1.1);
}

.bar-head.top-bar a[title*="Admin Activity"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.bar-head.top-bar a[title*="Admin Activity"] i {
    display: inline-block !important;
    visibility: visible !important;
    color: #ffffff !important;
    font-size: 20px !important;
}

.bar-head.top-bar a[title*="Admin Activity"] i.fa-history:before {
    content: "\f1da" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}

.bar-head.top-bar a[title*="Admin Activity"] i:before {
    content: "\f1da" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
    visibility: visible !important;
}

/* Force history icon to show */
a[href*="AdminActivity"] i,
a[href*="AdminActivity"] i:before {
    display: inline-block !important;
    visibility: visible !important;
    font-family: 'FontAwesome' !important;
}

a[href*="AdminActivity"] i:before {
    content: "\f1da" !important;
}

/* Search button icons - All search buttons */
button i.fa-search:before,
.btn i.fa-search:before,
#toggleSearchBtn i.fa-search:before,
button[id^="toggleSearchBtn"] i.fa-search:before {
    content: "\f002" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}

button i.fa-times:before,
.btn i.fa-times:before,
#toggleSearchBtn i.fa-times:before,
button[id^="toggleSearchBtn"] i.fa-times:before {
    content: "\f00d" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}

/* Sort icon */
.dropdown-toggle i.fa-sort:before,
button i.fa-sort:before {
    content: "\f0dc" !important;
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}

/* Make all fa icons visible */
button i.fa, .btn i.fa {
    display: inline-block !important;
    visibility: visible !important;
}

/* ========== ELEGANT LISTING HEADER (Same Structure, Better Design) ========== */
.widget-listing-title-elegant {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.widget-listing-title-elegant::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c7a370, transparent);
}

.widget-listing-title-elegant .options {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px 30px;
}

.type-box-elegant {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #2c3e50 0%, #4a5f7f 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.25);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border: 3px solid #c7a370;
}

.type-box-elegant::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(199, 163, 112, 0.2), transparent);
    transform: rotate(45deg);
}

.type-box-elegant i {
    font-size: 38px;
    color: #c7a370;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.options-body-elegant {
    flex: 1;
}

.title-elegant {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.types-elegant {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #6c757d;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
}

.types-elegant i {
    font-size: 18px;
    color: #c7a370;
}

/* ========== OFFER DESCRIPTION LAYOUT ========== */
.widget-description-modern {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-box-modern {
    padding: 35px;
}

.offer-name-heading {
    color: #c7a370;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #c7a370;
    font-family: 'Futura Std', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.description-text {
    color: #495057;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    font-family: 'Futura Std', Arial, sans-serif;
    text-align: justify;
}

/* ========== CATEGORY DETAIL PAGE ========== */
.category-header-elegant {
    background: linear-gradient(135deg, #2c3e50 0%, #4a5f7f 100%);
    padding: 40px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-page-title {
    color: white;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin: 20px 0 0 0;
    font-family: 'Futura Std', Arial, sans-serif;
}

.category-name-highlight {
    color: #c7a370;
    font-weight: 700;
}

.location-area-elegant {
    display: flex;
    align-items: center;
    gap: 12px;
}

.location-area-elegant .address {
    flex: 1;
    color: #6c757d;
    font-size: 14px;
}

.location-area-elegant .btn-marker-modern {
    flex-shrink: 0;
}

/* Elegant listing cards */
.thumbnail-property-list.nohover {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.thumbnail-property-list.nohover:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* Business name in AKH color */
.business-name-akh a,
.business-name-akh a:hover,
.business-name-akh a:focus {
    color: #c7a370 !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.business-name-akh a:hover {
    color: #d4b88a !important;
    text-decoration: none;
}

/* Offer name on category page */
.offer-name-category-page {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 500;
    font-style: italic;
}

@media (max-width: 768px) {
    .widget-listing-title-elegant .options {
        padding: 25px 20px;
        gap: 18px;
    }
    
    .type-box-elegant {
        width: 60px;
        height: 60px;
    }
    
    .type-box-elegant i {
        font-size: 28px;
    }
    
    .title-elegant {
        font-size: 26px;
    }
    
    .types-elegant {
        font-size: 13px;
        padding: 6px 14px;
    }
}

/* ========== MODERN BACK BUTTON (Icon Only - Simple & Elegant) ========== */
.btn-back-modern {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: #2c3e50 !important;
    border-radius: 50%;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none !important;
    cursor: pointer;
}

.btn-back-modern:hover {
    background: #2c3e50;
    color: white !important;
    border-color: #2c3e50;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
    transform: scale(1.05);
}

.btn-back-modern:active {
    transform: scale(0.95);
}

.btn-back-modern i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-back-modern:hover i {
    transform: translateX(-2px);
}

.btn-back-modern i:before {
    content: "\f060" !important;
    font-family: 'FontAwesome' !important;
}

/* ========== MODERN LOCATION BUTTON ========== */
/* Override old btn-marker styles completely */
.btn-marker-modern,
.btn-marker-modern:hover,
.btn-marker-modern:focus,
.btn-marker-modern:active {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #c7a370 0%, #d4b88a 100%) !important;
    color: white !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(199, 163, 112, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

/* Hide any child elements like .box and .title */
.btn-marker-modern .box,
.btn-marker-modern .title {
    display: none !important;
}

.btn-marker-modern:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-marker-modern:hover:before {
    width: 100%;
    height: 100%;
}

.btn-marker-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(199, 163, 112, 0.5);
    color: white !important;
}

.btn-marker-modern:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(199, 163, 112, 0.4);
}

.btn-marker-modern i {
    font-size: 20px;
    position: relative;
    z-index: 1;
    display: inline-block !important;
    visibility: visible !important;
}

.btn-marker-modern i:before {
    content: "\f041" !important;
    font-family: 'FontAwesome' !important;
}

/* ========== DASHBOARD CARDS ========== */
.box-shortcut {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    position: relative;
}

.box-shortcut::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #c7a370 0%, #d4b88a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.box-shortcut:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.box-shortcut:hover::before {
    transform: scaleX(1);
}

.box-shortcut-body {
    text-align: center;
    padding: 25px 30px !important;
}

.box-shortcut .count {
    font-size: 36px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #c7a370 0%, #d4b88a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.box-shortcut .title {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== SECTION HEADERS ========== */
.section-header {
    background: white;
    border-radius: 12px;
    padding: 20px 25px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    border-left: 4px solid #c7a370;
}

.section-header .title {
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: linear-gradient(135deg, #c7a370 0%, #d4b88a 100%);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(199, 163, 112, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(199, 163, 112, 0.4);
    background: linear-gradient(135deg, #d4b88a 0%, #c7a370 100%);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e74a5a 100%);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* ========== TABLES ========== */
.table-panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.table-panel table {
    margin-bottom: 0;
}

.table-panel thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.table-panel thead th {
    border-bottom: 2px solid #c7a370;
    color: #2c3e50;
    font-weight: 600;
    padding: 15px;
}

.table-panel tbody tr {
    transition: all 0.2s ease;
}

.table-panel tbody tr:hover {
    background: rgba(199, 163, 112, 0.05);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    body {
        overflow-x: hidden !important;
    }
    
    .page-wrapper {
        overflow-x: hidden !important;
    }
    
    .page-wrapper .sidebar,
    .sidebar {
        transform: translateX(-250px) !important;
        box-shadow: none !important;
        left: 0 !important;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0) !important;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3) !important;
    }
    
    .page-wrapper .mainbar,
    .mainbar,
    body .page-wrapper .mainbar,
    html body .page-wrapper .mainbar {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .sidebar .navbar-toggle {
        display: block;
    }
    
    .sidebar .bar-head .logo .link {
        display: none !important;
    }
    
    .sidebar .bar-head .link-mobile {
        display: none !important;
    }
    
    /* Hide desktop toggle on mobile */
    .sidebar-toggle {
        display: none !important;
    }
    
    /* Show mobile peek button to open sidebar */
    .mobile-menu-peek {
        display: flex !important;
    }
    
    /* Show close button inside sidebar on mobile */
    .sidebar .navbar-toggle {
        display: block !important;
    }
    
    /* Adjust sidebar width for better mobile experience */
    .sidebar {
        width: 240px !important;
    }
    
    .sidebar.mobile-open {
        width: 240px !important;
    }
    
    /* Hide logo area completely on mobile to save space */
    .sidebar .bar-head {
        padding: 10px 15px !important;
        min-height: auto !important;
    }
    
    .sidebar .bar-head .logo {
        display: none !important;
    }
    
    /* Adjust sidebar top padding when logo is hidden */
    .sidebar .widget.left-menu {
        margin-top: 10px !important;
        padding-top: 50px !important;
    }
    
    /* Mobile menu overlay */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* Adjust top bar for mobile */
    .bar-head.top-bar {
        padding: 10px 15px;
    }
    
    .bar-head.top-bar .btn-transparent {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    /* Adjust cards for mobile */
    .box-shortcut {
        margin-bottom: 15px;
    }
    
    .section-header {
        padding: 15px 20px !important;
    }
}

@media (max-width: 768px) {
    /* Remove mainbar margins */
    .page-wrapper .mainbar,
    .mainbar {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* Container body responsive */
    .mainbar-body {
        padding: 10px !important;
        width: 100% !important;
    }
    
    .section,
    .section-form,
    .section-reviews {
        padding: 10px !important;
        margin: 0 !important;
    }
    
    .box-content {
        padding: 10px !important;
        overflow-x: hidden !important;
    }
    
    /* Table Responsive */
    .table-panel,
    .table-responsive {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .table-listings,
    .table-panel table,
    table.table {
        width: 100% !important;
        min-width: 600px !important;
    }
    
    /* Form responsive */
    .form-section {
        margin-bottom: 15px !important;
        padding: 0 !important;
    }
    
    .form-section .row {
        margin: 0 !important;
    }
    
    .form-section .row [class*="col-"] {
        width: 100% !important;
        padding: 0 10px !important;
        margin-bottom: 15px;
        float: none !important;
    }
    
    .form-group {
        margin-bottom: 15px !important;
    }
    
    /* Buttons */
    .btn,
    button.btn,
    a.btn {
        width: 100% !important;
        margin-bottom: 10px !important;
        display: block !important;
    }
    
    .btn-block {
        width: 100% !important;
    }
    
    /* Section headers */
    .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 10px !important;
    }
    
    .section-header .title,
    .section-header h2 {
        font-size: 1.3em !important;
        margin-bottom: 10px;
    }
    
    .section-header .btn {
        width: 100%;
        margin-top: 10px;
    }
    
    /* Top bar spacing */
    .top-bar .nav-items {
        gap: 4px !important;
    }
    
    .bar-head.top-bar {
        margin: 0 !important;
        padding: 10px 15px !important;
    }
    
    /* Profile dropdown */
    .dropdown-menu {
        right: 0 !important;
        left: auto !important;
    }
    
    /* DataTables responsive */
    .dataTables_wrapper {
        padding: 0 !important;
    }
    
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        margin-bottom: 10px;
        text-align: left !important;
    }
    
    .dataTables_wrapper .dataTables_filter label,
    .dataTables_wrapper .dataTables_length label {
        width: 100% !important;
        display: block !important;
    }
    
    .dataTables_wrapper .dataTables_filter input {
        width: 100% !important;
        margin-left: 0 !important;
    }
    
    .dataTables_wrapper .dataTables_length select {
        width: auto !important;
    }
    
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        float: none !important;
        text-align: center !important;
        margin-top: 10px;
    }
    
    /* Summernote Editor */
    .note-editor {
        margin-bottom: 15px;
    }
    
    .note-toolbar {
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
    
    /* Dashboard cards */
    .box-shortcut {
        width: 100% !important;
        margin-bottom: 15px !important;
    }
}

@media (max-width: 576px) {
    .sidebar {
        width: 200px;
        transform: translateX(-200px);
    }
    
    .bar-head.top-bar .dropdown-toggle span#userEmailNav {
        display: none;
    }
    
    .box-shortcut .count {
        font-size: 28px;
    }
    
    .box-shortcut-body {
        padding: 20px 15px !important;
    }
    
    /* Make all form columns full width on mobile */
    .form-section .row .col-md-3,
    .form-section .row .col-md-4,
    .form-section .row .col-md-6,
    .form-section .row .col-md-8,
    .form-section .row .col-md-9,
    .form-section .row .col-md-12 {
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Stack buttons vertically */
    .form-group .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Adjust mainbar body padding */
    .mainbar-body {
        padding: 8px !important;
    }
    
    /* Section content padding */
    .box-content {
        padding: 8px !important;
    }
    
    /* Reduce all spacing */
    .section,
    .section-form,
    .section-reviews {
        padding: 5px !important;
    }
    
    /* Smaller fonts */
    body {
        font-size: 13px !important;
    }
    
    .form-control {
        font-size: 13px !important;
        padding: 8px !important;
    }
    
    label {
        font-size: 12px !important;
    }
    
    /* Smaller buttons */
    .btn {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
    
    /* Smaller tables */
    table.table {
        font-size: 11px !important;
    }
    
    .table th,
    .table td {
        padding: 6px 4px !important;
    }
    
    /* Profile avatar */
    .profile-avatar {
        width: 80px !important;
        height: 80px !important;
    }
    
    /* Reduce header size */
    .section-header .title {
        font-size: 1.2em !important;
    }
    
    /* Make dropdown menu full width */
    .dropdown-menu {
        min-width: 220px !important;
        max-width: calc(100vw - 30px);
    }
    
    .dropdown-header {
        font-size: 12px !important;
    }
    
    /* Adjust avatar in dropdown */
    .dropdown-header img {
        width: 35px !important;
        height: 35px !important;
    }
    
    /* Make table actions stack */
    .table-listings td[data-title=""] div {
        flex-direction: column !important;
        gap: 5px !important;
    }
    
    .table-listings td[data-title=""] a {
        width: 100%;
        text-align: center;
        padding: 6px 8px;
        font-size: 11px;
    }
    
    /* Opening hours responsive - stack vertically */
    .form-group div.row {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .form-group div.row span {
        display: none !important;
    }
    
    .form-group div.row input,
    .form-group div.row select {
        width: 100% !important;
    }
    
    /* Image upload buttons */
    .form-section button[data-inputype-file] {
        padding: 10px !important;
        font-size: 13px !important;
    }
    
    /* Gallery images preview - smaller */
    div[style*="display: flex"] img {
        max-width: 80px !important;
        max-height: 80px !important;
    }
    
    /* Search form */
    .search-form .row {
        margin: 0 !important;
    }
    
    .search-form [class*="col-"] {
        width: 100% !important;
        padding: 0 5px !important;
        margin-bottom: 8px;
    }
    
    /* DataTables on small screens */
    div.dataTables_wrapper div.dataTables_filter label {
        font-size: 12px !important;
    }
    
    div.dataTables_wrapper div.dataTables_filter input {
        font-size: 12px !important;
    }
    
    div.dataTables_wrapper div.dataTables_info,
    div.dataTables_wrapper div.dataTables_paginate {
        font-size: 11px !important;
    }
    
    /* Summernote editor responsive */
    .note-editor {
        margin-bottom: 10px;
    }
    
    .note-toolbar {
        overflow-x: auto !important;
    }
    
    .note-editable {
        font-size: 13px !important;
        padding: 8px !important;
    }
    
    .note-editing-area {
        min-height: 150px !important;
    }
    
    /* Top bar ultra compact */
    .top-bar .btn {
        padding: 4px 6px !important;
        font-size: 11px !important;
    }
    
    .top-bar .nav-items {
        gap: 2px !important;
    }
    
    /* Dropdown menu compact */
    .dropdown-header div {
        gap: 8px !important;
    }
    
    .dropdown-header div div {
        font-size: 11px !important;
    }
    
    .dropdown-menu li a {
        font-size: 12px !important;
    }
    
    /* Admin dashboard cards */
    .box-shortcut {
        margin-bottom: 15px !important;
    }
    
    /* Time inputs responsive */
    input[type="time"] {
        width: 100% !important;
        margin-bottom: 10px;
    }
    
    select.form-control {
        width: 100% !important;
        margin-bottom: 10px;
    }
    
    /* Back button positioning */
    .btn-back-modern {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        margin-bottom: 15px !important;
    }
}

/* Additional mobile improvements for very small screens */
@media (max-width: 480px) {
    /* Further reduce padding */
    .mainbar-body {
        padding: 10px !important;
    }
    
    .section-header {
        padding: 10px !important;
    }
    
    /* Smaller buttons */
    .btn {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
    
    /* Category cards responsive */
    .card-category {
        margin-bottom: 15px;
    }
    
    /* Profile section */
    .col-md-3, .col-md-9 {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Profile form adjustments */
    .profile-avatar {
        width: 70px !important;
        height: 70px !important;
        margin: 0 auto;
    }
}

