/* ============================================
   CSS Variables & Base
   [1/9]
   ============================================ */

/* CSS Variables */
:root {
    --gold: #d4af37;
    --bg: #f8f9fa;
    --max-width: 1600px;

    --primary: #F9C23C;
    --primary-hover: #E5B030;
    --primary-dark: #1A1A2E;

    --secondary: #fb8053;
    --secondary-blue: #3B5998;
    --secondary-blue-light: #4A6FA5;

    --background: #F8F9FA;
    --surface: #FFFFFF;
    --border: #E5E7EB;

    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;

    --success: #10B981;
    --success-light: #D1FAE5;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --warning: #F59E0B;

    --primary-yellow: #FFC107;
    --primary-yellow-hover: #FFB300;

    --dark-bg: #1a1a2e;
    --text-dark: #1a1a2e;
    --text-light: #666;
    --white: #ffffff;
    --gray-bg: #f8f9fa;
    --border-color: #e5e5e5;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);

       
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    --im-columns: 4;
    --im-columns-row-gap: 20px;
    --im-columns-col-gap: 20px;

    --im-border-color: #e8e8e8;

    --info: #3b82f6;
    --card-bg: #ffffff;

    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);

    --radius: 12px;
    --transition: all 0.3s ease;

    --im-main-color-one: #337fff;
    --im-border-radius: 5px;
    --im-gallery-gap: 5px;

    --im-primary: #ffcc41;
    --im-primary-dark: #e6b82e;
    --im-primary-light: #ffe066;
    --im-secondary: #1f2937;
    --im-background: #f8fafc;
    --im-surface: #ffffff;
    --im-border: #e2e8f0;
    --im-text-primary: #0f172a;
    --im-text-secondary: #64748b;
    --im-text-muted: #94a3b8;
    --im-success: #22c55e;
    --im-danger: #ef4444;

    --im-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --im-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);

    --im-radius-sm: 8px;
    --im-radius: 12px;
    --im-radius-lg: 16px;
    --im-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    --primary-light: #f1f4f6;
    --accent: #8b7355;
    --accent-light: #d4c5b0;
    --premium: #b8956a;

    --bg-primary: #fafbfc;
    --bg-secondary: #f5f7f9;
    --bg-tertiary: #eef1f4;

    --border-light: #e2e6eb;
    --border-medium: #d1d5db;

       
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;


    --tw-border-spacing-x:0;
    --tw-border-spacing-y:0;
    --tw-translate-x:0;
    --tw-translate-y:0;
    --tw-rotate:0;
    --tw-skew-x:0;
    --tw-skew-y:0;
    --tw-scale-x:1;
    --tw-scale-y:1;
    --tw-scroll-snap-strictness:proximity;
    --tw-ring-offset-width:0px;
    --tw-ring-offset-color:#fff;
    --tw-ring-color:rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow:0 0 #0000;
    --tw-ring-shadow:0 0 #0000;
    --tw-shadow:0 0 #0000;
    --tw-shadow-colored:0 0 #0000;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;

}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    justify-content: center;
    /* horizontal */
    align-items: center;
    /* vertical */
}

/* ============================================
   Header
   [2/9]
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 40px 10px 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 14px;
    background: #F9FAFB;
    transition: all var(--transition-fast);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 194, 60, 0.15);
    background: var(--surface);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.shortcut {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-family: monospace;
    color: var(--text-muted);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

.lang-btn:hover {
    background: #F3F4F6;
}

.flag {
    font-size: 18px;
}

.user-menu,
.language-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

.user-btn:hover {
    background: #F3F4F6;
}

.user-btn svg {
    color: var(--text-secondary);
}

.user-menu:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item.logout {
    color: var(--danger);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}


.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.desktop-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .dropdown-wide {
        min-width: 280px;
        max-width: calc(100vw - 32px);
        right: -50px;
    }

    .cart-item-title,
    .cart-item-price {
        font-size: 12px;
    }

    .notification-text {
        font-size: 12px;
    }
}


/* ============================================
   Navigation & Menus
   [3/9]
   ============================================ */

.hamburger-menu {
    position: relative;
}

.hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.hamburger-btn:hover {
    background: #F3F4F6;
    color: var(--text-primary);
}

.hamburger-btn svg {
    transition: transform var(--transition-fast);
}

.hamburger-btn:hover svg {
    transform: scale(1.1);
}

/* Show dropdown on hover */
.hamburger-menu:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hamburger Dropdown Specifics */
.hamburger-menu .dropdown {
    left: 0;
    right: auto;
    min-width: 260px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 8px;
}



.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: background var(--transition-fast);
}


.lang-btn .flag {
    font-size: 18px;
    line-height: 1;
}

.lang-btn .lang-text {
    font-size: 14px;
}

.lang-btn svg {
    color: var(--text-secondary);
    transition: transform var(--transition-fast);
}

/* Show dropdown on hover */
.language-menu:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Language dropdown specific styles */
.language-menu .dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 100;
    padding: 4px;
}

.language-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.language-menu .dropdown-item:hover {
    background: var(--primary);
    color: white;
}

.language-menu .dropdown-item .flag {
    font-size: 16px;
    line-height: 1;
}

/* Active/selected language */
.language-menu .dropdown-item.active {
    background: #F3F4F6;
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .lang-btn .lang-text {
        display: none;
    }

    .lang-btn {
        padding: 8px;
    }
}





.flag {
    font-size: 18px;
    line-height: 1;
}

.lang-text {
    white-space: nowrap;
}

.user-menu {
    position: relative;
}





.icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.icon-btn:hover {
    background: #F3F4F6;
    color: var(--text-primary);
}

.icon-btn svg {
    transition: transform var(--transition-fast);
}

.icon-btn:hover svg {
    transform: scale(1.1);
}

/* Cart & Notification Menus */
.cart-menu,
.notification-menu {
    position: relative;
}

.cart-menu:hover .dropdown,
.notification-menu:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Wide Dropdown for Cart/Notifications */
.dropdown-wide {
    min-width: 320px;
    max-width: 360px;
}

/* Dropdown Header */
.dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.dropdown-header .view-all,
.dropdown-header .mark-read {
    font-size: 12px;
    font-weight: 500;
    color: var(--secondary-blue);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.dropdown-header .view-all:hover,
.dropdown-header .mark-read:hover {
    color: var(--secondary-blue-light);
}





.cart-menu,

.cart-menu:hover .dropdown,

.cart-items {
    max-height: 280px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    transition: background var(--transition-fast);
}

.cart-item:hover {
    background: #F9FAFB;
}

.cart-item img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--background);
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
}

.cart-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-dark);
}

.remove-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.remove-btn:hover {
    background: var(--danger-light);
    color: var(--danger);
}

.cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #F9FAFB;
}

.cart-total {
    font-size: 13px;
    color: var(--text-secondary);
}

.cart-total strong {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.btn-checkout {
    padding: 8px 16px;
    background: var(--primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-checkout:hover {
    background: var(--primary-hover);
}




.cart-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--background);
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cart-item-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.remove-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}







.notification-items {
    max-height: 320px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    transition: background var(--transition-fast);
    position: relative;
}

.notification-item:hover {
    background: #F9FAFB;
}

.notification-item.unread {
    background: rgba(59, 89, 152, 0.04);
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon.bg-blue {
    background: #E0E7FF;
    color: var(--secondary-blue);
}

.notification-icon.bg-green {
    background: var(--success-light);
    color: var(--success);
}

.notification-icon.bg-yellow {
    background: #FEF3C7;
    color: var(--warning);
}

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

.notification-text {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

.notification-text strong {
    font-weight: 600;
}

.notification-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.unread-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-blue);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}


.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    min-width: 180px;
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
}

.dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-footer {
    display: block;
    padding: 12px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--secondary-blue);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.dropdown-footer:hover {
    background: #F9FAFB;
}

.view-all,
.mark-read {
    font-size: 12px;
    font-weight: 500;
    color: var(--secondary-blue);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.view-all:hover,
.mark-read:hover {
    color: var(--secondary-blue-light);
}


/* Submenu Toggle */
.submenu-toggle {
    justify-content: space-between;
    position: relative;
}

.submenu-toggle-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chevron {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #a0aec0;
}

.submenu-toggle.active .chevron {
    transform: rotate(90deg);
    color: var(--primary-yellow);
}

/* Submenu Container */
.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 0;
    position: relative;
}

.submenu.active {
    max-height: 1000px;
}

/* Indentation Levels */
.submenu::before {
    content: '';
    position: absolute;
    left: 26px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e0 100%);
    border-radius: 1px;
}

.submenu .dropdown-item {
    padding-left: 52px;
    position: relative;
    font-size: 0.9rem;
    color: #4a5568;
}

.submenu .dropdown-item::before {
    content: '';
    position: absolute;
    left: 26px;
    top: 50%;
    width: 12px;
    height: 2px;
    background: #e2e8f0;
    transform: translateY(-50%);
    border-radius: 1px;
}

.submenu .dropdown-item:hover::before {
    background: var(--primary-yellow);
    width: 16px;
    transition: all 0.2s ease;
}

/* Second Level Submenu (nested deeper) */
.submenu .submenu::before {
    left: 52px;
    background: linear-gradient(180deg, #edf2f7 0%, #e2e8f0 100%);
}

.submenu .submenu .dropdown-item {
    padding-left: 78px;
    font-size: 0.88rem;
    color: #718096;
}

.submenu .submenu .dropdown-item::before {
    left: 52px;
    width: 16px;
}

.submenu .submenu .dropdown-item:hover::before {
    width: 20px;
}

/* Third Level */
.submenu .submenu .submenu::before {
    left: 78px;
}

.submenu .submenu .submenu .dropdown-item {
    padding-left: 104px;
}

.submenu .submenu .submenu .dropdown-item::before {
    left: 78px;
}

/* Submenu Child Toggle */
.submenu-child {
    padding-left: 52px !important;
}

.submenu-child::before {
    left: 26px !important;
}

/* Divider */
.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 20%, #e2e8f0 80%, transparent 100%);
    margin: 8px 0;
}

/* Active States */
.dropdown-item.active {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    color: var(--primary-yellow);
}

/* Scrollbar Styling */
.dropdown::-webkit-scrollbar {
    width: 6px;
}

.dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.dropdown::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .dropdown {
        position: fixed;
        top: 70px;
        left: 16px;
        right: 16px;
        min-width: auto;
        max-height: calc(100vh - 100px);
    }
}

/* Animation for submenu items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.submenu.active .dropdown-item {
    animation: slideIn 0.3s ease forwards;
}

.submenu.active .dropdown-item:nth-child(1) {
    animation-delay: 0.05s;
}

.submenu.active .dropdown-item:nth-child(2) {
    animation-delay: 0.1s;
}

.submenu.active .dropdown-item:nth-child(3) {
    animation-delay: 0.15s;
}

.submenu.active .dropdown-item:nth-child(4) {
    animation-delay: 0.2s;
}

.submenu.active .dropdown-item:nth-child(5) {
    animation-delay: 0.25s;
}

/* ============================================
   Action Buttons
   [4/9]
   ============================================ */

.btn-add-property {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 6px rgba(249, 194, 60, 0.3);
    white-space: nowrap;
}

.btn-add-property:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(249, 194, 60, 0.4);
}

.btn-add-property:active {
    transform: translateY(0);
}

.btn-add-property svg {
    stroke-width: 2.5;
    transition: transform var(--transition-fast);
}

.btn-add-property:hover svg {
    transform: rotate(90deg);
}

/* Pulse animation for attention */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 6px rgba(249, 194, 60, 0.3);
    }

    50% {
        box-shadow: 0 4px 15px rgba(249, 194, 60, 0.5);
    }
}

.btn-add-property.pulse {
    animation: pulse-glow 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .btn-add-property span {
        display: none;
    }

    .btn-add-property {
        padding: 10px;
    }

    .btn-add-property svg {
        width: 20px;
        height: 20px;
    }
}

.btn-add-property {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 6px rgba(249, 194, 60, 0.3);
    white-space: nowrap;
}


.btn-add-property svg {
    flex-shrink: 0;
}

/* Mobile icon-only version */
.btn-add-mobile {
    display: none;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.btn-add-mobile span {
    display: none;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--surface);
    color: var(--text-primary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-login:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-login svg {
    flex-shrink: 0;
    stroke-width: 2.5;
}


/* ============================================
   Mobile Components
   [5/9]
   ============================================ */

.mobile-actions-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.mobile-actions-toggle:hover {
    background: #F3F4F6;
    color: var(--text-primary);
}

.mobile-search-bar {
    display: none;
    padding: 0 16px 12px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.mobile-search-bar .search-bar {
    max-width: none;
}

.mobile-actions-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-xl);
    transform: translateY(100%);
    transition: transform var(--transition-base);
    z-index: 1001;
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-actions-sheet.active {
    transform: translateY(0);
}

.sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.sheet-header span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.close-sheet {
    width: 32px;
    height: 32px;
    border: none;
    background: #F3F4F6;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.close-sheet:hover {
    background: var(--border);
    color: var(--text-primary);
}

.mobile-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px 20px;
}

.mobile-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.mobile-action-icon {
    position: relative;
    width: 56px;
    height: 56px;
    background: #F9FAFB;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.mobile-action-item:hover .mobile-action-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.mobile-action-item span {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

/* Mobile Language Selector */
.mobile-language-selector select {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    background: var(--surface);
    cursor: pointer;
    margin-top: 4px;
    color: var(--text-primary);
}

/* Mobile Account Links */
.mobile-account-links {
    padding: 0 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.mobile-link:hover {
    background: #F9FAFB;
}

.mobile-link.logout {
    color: var(--danger);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 1000;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-actions-guest {
    grid-template-columns: repeat(2, 1fr);
    max-width: 300px;
    margin: 0 auto;
}

.mobile-login-cta .mobile-action-icon {
    background: var(--primary);
    color: var(--text-primary);
}

.mobile-login-cta:hover .mobile-action-icon {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.mobile-guest-message {
    padding: 0 24px 24px;
    text-align: center;
}

.mobile-guest-message p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.mobile-guest-message a {
    color: var(--secondary-blue);
    font-weight: 600;
    text-decoration: none;
}

.mobile-guest-message a:hover {
    text-decoration: underline;
}

/* Mobile action icon with primary background */
.mobile-action-icon.bg-primary {
    background: var(--primary);
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .btn-login span {
        display: none;
    }

    .btn-login {
        padding: 10px;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .mobile-actions-guest {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   Main Content
   [6/9]
   ============================================ */

.hero {
    position: relative;
    height: 320px;
    margin-top: 72px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-title {
    position: relative;
    color: white;
    font-size: 42px;
    font-weight: 700;
    padding-top: 100px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.quick-links {
    position: relative;
    margin-top: -40px;
    z-index: 10;
    padding: 0 240px;
    /* big left/right spacing */
}


.quick-links-card {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    /* each item takes equal space */
    gap: 16px;
    background: #fff;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    /* <-- this fixes it */
    gap: 12px;
    padding: 16px 12px;
}

.quick-link:last-child {
    border-right: none;
}

.quick-link:hover {
    background: #F9FAFB;
}

.quick-link-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-yellow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform var(--transition-base);
}

.quick-link:hover .quick-link-icon {
    transform: scale(1.05);
}

.quick-link span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.portfolio-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.portfolio-header p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 6px rgba(249, 194, 60, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(249, 194, 60, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.performance {
    padding: 20px 0 40px;
}

.performance-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.performance h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* Revenue Card */
.revenue-card {
    margin-bottom: 24px;
}

.revenue-card-bg {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--secondary-blue-light) 100%);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: white;
    display: flex;
    gap: 24px;
}

.revenue-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.revenue-content {
    flex: 1;
}

.revenue-label {
    font-size: 13px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.revenue-value {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 12px;
}

.revenue-value .amount {
    font-size: 32px;
    font-weight: 700;
}

.trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.trend.positive {
    background: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
}

.trend.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
}

.revenue-desc {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 16px;
}

.revenue-link {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity var(--transition-fast);
}

.revenue-link:hover {
    opacity: 0.8;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border);
    transition: all var(--transition-base);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.stat-select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--surface);
    cursor: pointer;
}

.stat-calendar {
    width: 32px;
    height: 32px;
    border: none;
    background: #F3F4F6;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.stat-calendar:hover {
    background: var(--border);
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-trend.positive {
    color: var(--success);
}

.stat-trend.negative {
    color: var(--danger);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Occupancy Card */
.occupancy-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
}

.occupancy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.occupancy-header span {
    font-size: 14px;
    color: var(--text-secondary);
}

.menu-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.menu-btn:hover {
    background: #F3F4F6;
    color: var(--text-primary);
}

.occupancy-value {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.occupancy-value .value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.chart-placeholder {
    height: 100px;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.activity {
    padding: 20px 0 40px;
}

.activity-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 24px;
}

.activity-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
}

.activity-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.activity-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.activity-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-value .value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.activity-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.activity-select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--surface);
    cursor: pointer;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F9FAFB;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.activity-item:hover {
    background: #F3F4F6;
}

.activity-room {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-blue);
    min-width: 70px;
}

.activity-text {
    flex: 1;
    font-size: 13px;
    color: var(--text-secondary);
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.suite {
    background: #E0E7FF;
    color: #4338CA;
}

.badge.deluxe {
    background: #D1FAE5;
    color: #059669;
}

.badge.standard {
    background: #F3F4F6;
    color: var(--text-secondary);
}

/* Booking Chart */
.booking-chart {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.donut-chart {
    position: relative;
    width: 140px;
    height: 140px;
}

.donut-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.donut-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.donut-trend {
    font-size: 12px;
    font-weight: 600;
}

.properties {
    padding: 40px 0;
}

.section-header {
    margin-bottom: 28px;
}

.section-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.section-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.property-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.property-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-trend {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.property-trend.positive {
    background: var(--success);
    color: white;
}

.property-trend.negative {
    background: var(--danger);
    color: white;
}

/* Property Labels - Type & Operation */
.property-labels {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.label-type,
.label-operation {
    color: white;
}

.label-type {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.08);
}


.label-operation.sell {
    background: rgba(16, 185, 129, 0.9);
}

.label-operation.rent {
    background: rgba(59, 89, 152, 0.9);
}

.property-content {
    padding: 20px;
}

.property-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.property-address {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.property-features span {
    font-size: 12px;
    padding: 4px 10px;
    background: #F3F4F6;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.property-features .warning {
    background: var(--danger-light);
    color: var(--danger);
}

.property-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.property-price .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.property-price .purchase {
    font-size: 12px;
    color: var(--text-muted);
}

.ai-recommendations {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d1b4e 100%);
    color: white;
}

.ai-header {
    text-align: center;
    margin-bottom: 40px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.ai-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ai-header p {
    font-size: 15px;
    opacity: 0.8;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.recommendation-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.recommendation-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.rec-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.rec-icon.keep {
    background: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
}

.rec-icon.sell {
    background: rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
}

.rec-icon.opportunity {
    background: rgba(249, 194, 60, 0.2);
    color: #F9C23C;
}

.recommendation-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.recommendation-card p {
    font-size: 14px;
    opacity: 0.8;
}

.btn-secondary {
    display: block;
    margin: 0 auto;
    padding: 14px 32px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.ai-strategy {
    padding: 60px 0;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.strategy-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
    transition: all var(--transition-base);
}

.strategy-card:hover {
    box-shadow: var(--shadow-lg);
}

.strategy-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.strategy-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.strategy-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.strategy-item:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.item-trend {
    font-size: 13px;
    font-weight: 600;
}

.item-trend.positive {
    color: var(--success);
}

.item-trend.negative {
    color: var(--danger);
}

.btn-outline {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    color: var(--secondary-blue);
    border: 1.5px solid var(--secondary-blue);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-outline:hover {
    background: var(--secondary-blue);
    color: white;
}

/* Optimization Suggestion */
.optimization-suggestion {
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    border: 1px solid #A7F3D0;
}

.optimization-suggestion h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.optimization-suggestion p {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 20px;
}

.roi-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 24px 0;
}

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

.roi-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.roi-value.highlight {
    color: var(--success);
}

.roi-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roi-comparison svg {
    color: var(--success);
}

.optimization-suggestion strong {
    color: var(--success);
    font-weight: 700;
}


/* ============================================
   Footer
   [7/9]
   ============================================ */

.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    background: var(--primary);
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.footer-section h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.btn-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--text-primary) !important;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-top: 8px;
}

.btn-link:hover {
    background: var(--primary-hover);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    gap: 200px;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

















/* Footer Bottom - 3 Column Layout */

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.6;
}

/* Payment Methods */
.footer-payment a {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.footer-payment .payment {
    display: inline-block;
    width: 56px;
    height: 34px;
    vertical-align: top;
}

.footer-payment .payment1 {
    background: url(/images/design/payment-methods/card-visa.svg) left top no-repeat white;
    background-size: 56px;
}

.footer-payment .payment2 {
    background: url(/images/design/payment-methods/card-mastercard.svg) left top no-repeat white;
    background-size: 56px;
}

.footer-payment .payment3 {
    background: url(/images/design/payment-methods/card-americanexpress.svg) left top no-repeat white;
    background-size: 56px;
}

.footer-payment .payment4 {
    background: url(/images/design/payment-methods/card-maestro.svg?1) left top no-repeat white;
    background-size: 56px;
}

.footer-payment .payment5 {
    background: url(/images/design/payment-methods/card-wire.svg) left top no-repeat white;
    background-size: 56px;
}

/* Security Reports */
.footer-reports {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.footer-reports a {
    display: inline-block;
}

.footer-reports .report {
    display: inline-block;
    width: 106px;
    height: 40px;
    vertical-align: top;
}

.footer-reports .report1 {
    background: url(/images/iw_websec_large_dark.webp) left top no-repeat #fff0;
    background-size: 100%;
}

.footer-reports .report2 {
    background: url(/images/iw_privacy_large_dark.webp) left top no-repeat #fff0;
    background-size: 100%;
}

.footer-reports .report3 {
    background: url(/images/iw_ssl_large_dark.webp) left top no-repeat #fff0;
    background-size: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-payment,
    .footer-reports {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}


.relative {
    position: relative
}

/* ContulMeu Hamburger */
.menu-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--surface);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.menu-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.menu-btn svg {
    transition: all var(--transition-fast);
    stroke: var(--text-muted);
}

.menu-btn:hover svg {
    stroke: white;
}

/* Dropdown for ContulMeu */

.menu-btn.active+.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: white;
    padding: 20px 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    font-size: 14px;
    opacity: 0.9;
    flex: 1;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.btn-cookie-decline {
    padding: 10px 20px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-cookie-accept {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cookie-accept:hover {
    background: var(--primary-hover);
}


/* ============================================
   Modals
   [8/9]
   ============================================ */


/* Close Button */
.qodef-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: all var(--transition-fast);
    z-index: 10;
}

.qodef-modal-close:hover {
    background: #F3F4F6;
    color: var(--text-primary);
}


.qodef-m-navigation-item {
    flex: 1;
    min-width: calc(50% - 4px);
}

.qodef-m-navigation-item.qodef--activate-account,
.qodef-m-navigation-item.qodef--change-password {
    display: none;
    /* Hidden by default, shown via JS when needed */
}

.qodef-e-link {
    display: block;
    padding: 10px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qodef-e-link:hover {
    background: #F3F4F6;
    color: var(--text-primary);
}

.qodef-m-navigation-item.active .qodef-e-link,
.qodef-m-navigation-item:has(.active) .qodef-e-link {
    color: var(--text-primary);
}

/* Form Parts - Hidden by default, shown via JS */
#qodef-membership-register-modal-part,
#qodef-membership-reset-password-modal-part,
#qodef-membership-change-password-modal-part,
#qodef-membership-activate-account-modal-part {
    display: none;
}

#qodef-membership-register-modal-part.active,
#qodef-membership-reset-password-modal-part.active,
#qodef-membership-change-password-modal-part.active,
#qodef-membership-activate-account-modal-part.active {
    display: block;
}

/* Form Styles */
.qodef-m-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.qodef-m-fields input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--surface);
    transition: all var(--transition-fast);
}

.qodef-m-fields input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 194, 60, 0.15);
}

.qodef-m-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.qodef-m-links-remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qodef-m-links-remember {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.qodef-m-links-remember-label {
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.qodef-m-links-reset-password,
.qodef-m-links-register,
.qodef-m-links-login {
    font-size: 13px;
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 500;
}

.qodef-m-links-reset-password:hover,
.qodef-m-links-register:hover,
.qodef-m-links-login:hover {
    text-decoration: underline;
}

/* Agreement Checkbox */
.qodef-m-links-agreement-me {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.qodef-m-links-agreement {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.qodef-m-links-agreement-label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.qodef-m-links-agreement-label a {
    color: var(--secondary-blue);
    text-decoration: none;
}

.qodef-m-links-agreement-label a:hover {
    text-decoration: underline;
}

/* Action Button */
.qodef-m-action {
    position: relative;
    margin-bottom: 16px;
}

.qodef-m-action-button {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qodef-m-action-button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.qodef-m-action-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.qodef-m-action-spinner {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0;
    animation: spin 1s linear infinite;
    transition: opacity var(--transition-fast);
}

.qodef-m-action-button.loading .qodef-m-action-spinner {
    opacity: 1;
}

@keyframes spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Notices */
.qodef-m-notice {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.qodef-m-notice-register {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* Social Login */
.qodef-m-social-login {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.qodef-m-social-login-item button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.qodef-m-social-login-item button:hover {
    background: #F9FAFB;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.qodef-m-social-login-item svg {
    width: 20px;
    height: 20px;
}

/* Response Messages */
.qodef-m-response {
    min-height: 20px;
    margin-top: 12px;
    font-size: 13px;
}

.qodef-m-response.success {
    color: var(--success);
}

.qodef-m-response.error {
    color: var(--danger);
}

/* Hidden utility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.search-modal {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 20px 20px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.search-modal.active {
    display: flex;
    opacity: 1;
}

.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    transform: scale(0.95) translateY(-10px);
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 1002;
}

.search-modal.active .search-modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Input Wrapper */
.search-input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    overflow: hidden;
}

.search-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-input-icon svg {
    width: 20px;
    height: 20px;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 0;
    font-size: 16px;
    color: var(--text-primary);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-dismiss {
    display: flex;
    align-items: center;
    padding: 0 12px;
    flex-shrink: 0;
}

.kbd-shortcut {
    display: inline-block;
    padding: 4px 8px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 12px;
    color: var(--text-muted);
}

/* Search Results Container */
.search-results-container {
    margin-top: 8px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    max-height: 60vh;
    overflow-y: auto;
    opacity: 0;
    transform: scale(0.98);
    transition: all var(--transition-fast);
}

.search-modal.active .search-results-container {
    opacity: 1;
    transform: scale(1);
}

/* Search Form Content */
.search-form-content {
    padding: 16px 0;
}

.search-section {
    padding: 0 20px;
    margin-bottom: 20px;
}

.search-section:last-child {
    margin-bottom: 0;
}

.search-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Search Lists */
.search-list {
    list-style: none;
}

.search-item {
    margin-bottom: 4px;
}

.search-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.search-link:hover {
    background: var(--background);
    color: var(--secondary-blue);
}

.search-link svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Search Tags */
.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.search-tag:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-primary);
}

/* Quick Filters */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quick-filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-primary);
}

.quick-filter-btn svg {
    color: var(--text-muted);
}

.quick-filter-btn:hover svg {
    color: inherit;
}

/* Live Results */
.search-live-results {
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.search-result-item:hover {
    background: var(--background);
}

.search-result-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--background);
    object-fit: cover;
}

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

.search-result-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.search-result-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
}

/* Empty State */
.search-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.search-empty-state svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.search-empty-state p {
    font-size: 14px;
}

/* Highlight for matching text */
.search-highlight {
    background: rgba(249, 194, 60, 0.3);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .search-modal {
        padding: 60px 12px 12px;
    }

    .search-modal-container {
        max-width: 100%;
    }

    .search-results-container {
        max-height: 70vh;
    }

    .search-section {
        padding: 0 16px;
    }
}

.show {
    display: block
}

/* Modal Backdrop - Hidden by default */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show Modal */
.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

/* Modal Dialog (Centered Container) */
.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 900px;
    /* Adjust based on your needs */
    margin: auto;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

/* Modal Content (White Box) */
.modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    /* Prevent overflow on small screens */
    overflow: hidden;
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Close Button */
.btn-close {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s;
    padding: 0;
}

.btn-close:hover {
    background-color: #f3f4f6;
    color: #000;
}

/* Modal Body (Scrollable Area) */
.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0px);
    /* Prevent layout shift */
}

/* Make search bars look clickable */
.search-bar[data-tw-toggle="modal"],
.mobile-search-bar[data-tw-toggle="modal"] {
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-bar[data-tw-toggle="modal"]:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

/* Style the readonly input */
.search-bar input[readonly],
.mobile-search-bar input[readonly] {
    cursor: pointer;
    background: transparent;
    pointer-events: none;
    /* Let clicks pass through to parent */
}

/* Ensure search icon and shortcut remain visible */
.search-bar[data-tw-toggle="modal"] .search-icon,
.search-bar[data-tw-toggle="modal"] .shortcut {
    pointer-events: none;
}

.modal:focus {
    outline: none;
}

/* Focus visible for keyboard navigation */
.btn-close:focus-visible,
.modal input:focus-visible,
.modal select:focus-visible,
.modal button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Fade animation */
.modal.fade {
    transition: opacity 0.3s ease;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease;
}

/* Scale animation alternative */
.modal.scale .modal-dialog {
    transform: scale(0.9);
    opacity: 0;
}

.modal.scale.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

/* Form Container */
.qodef-property-search-form {
    width: 100%;
}

.qodef-m-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form Subtitles */
.qodef-m-form-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Rows */
.qodef-m-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
}

/* Form Items */
.qodef-m-form-item {
    flex: 1;
    min-width: 200px;
}

.qodef-m-form-item-inner {
    position: relative;
}

/* Select Dropdowns */
.qodef-m-select select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #fff;
    color: #374151;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.qodef-m-select select:hover {
    border-color: #d1d5db;
}

.qodef-m-select select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Multiple Select */
.qodef-m-select select[multiple] {
    height: auto;
    min-height: 120px;
    padding: 8px;
    background-image: none;
}

.qodef-m-select select[multiple] option {
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.qodef-m-select select[multiple] option:checked {
    background-color: #3b82f6;
    color: white;
}

/* Text Inputs */
.qodef-m-text input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #fff;
    color: #374151;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.qodef-m-text input[type="text"]:hover {
    border-color: #d1d5db;
}

.qodef-m-text input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Size Inputs Row */
.qodef--size .qodef-m-form-item-inner {
    display: flex;
    gap: 12px;
}

.qodef--size input {
    flex: 1;
}

/* Specification (Rooms/Baths) */
.qodef--specification {
    display: flex;
    gap: 20px;
}

.qodef-m-number {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qodef-m-text-label {
    font-size: 14px;
    color: #6b7280;
    white-space: nowrap;
}

.qodef-m-number input[type="text"] {
    width: 60px;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* Price Range Section */
.qodef--price-range {
    padding: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
}

.qodef-m-price-heading {
    margin-bottom: 16px;
}

.qodef-m-price-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.qodef-e-price-info-min,
.qodef-e-price-info-max {
    font-weight: 600;
    color: #111827;
}

/* Price Range Slider (if using noUiSlider or similar) */
.qodef-m-price-range-slider-wrapper {
    padding: 10px 0;
}

.qodef-m-price-range-slider {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    position: relative;
}

/* Amenities Checkboxes */
.qodef--amenities .qodef-m-checkbox-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.qodef-m-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qodef-m-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.qodef-m-checkbox-item label {
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    user-select: none;
}

.qodef-m-checkbox-item:hover label {
    color: #111827;
}

/* Buttons Row */
.qodef--buttons {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.qodef-m-button--search {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Search Button */
.qodef-m-button--submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background-color: #3b82f6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.qodef-m-button--submit:hover {
    background-color: #2563eb;
}

.qodef-m-button--submit:active {
    transform: scale(0.98);
}

/* Save Button */
.qodef-m-button--save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.qodef-m-button--save:hover {
    background-color: #e5e7eb;
}

/* Reset Button */
.qodef-m-button--reset {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    background-color: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.qodef-m-button--reset:hover {
    background-color: #f3f4f6;
    color: #374151;
}

/* Spinner (hidden by default) */
.qodef-m-spinner {
    display: none;
    animation: spin 1s linear infinite;
}

.qodef-property-spinner.loading .qodef-m-spinner {
    display: inline-block;
}

.qodef-property-spinner.loading .qodef-m-icon,
.qodef-property-spinner.loading .qodef-m-text {
    display: none;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Form Response Message */
.qodef-m-form-response {
    display: none;
    font-size: 14px;
    color: #10b981;
    margin-left: 12px;
}

.qodef-m-form-response.show {
    display: inline;
}

/* When form is inside modal */
.modal .qodef-property-search-form {
    max-height: 70vh;
    overflow-y: auto;
}

.modal .qodef-m-form-wrapper {
    padding-right: 4px;
    /* Space for scrollbar */
}

/* Custom scrollbar for modal form */
.modal .qodef-property-search-form::-webkit-scrollbar {
    width: 6px;
}

.modal .qodef-property-search-form::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal .qodef-property-search-form::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.modal .qodef-property-search-form::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}


/* ============================================
   Utilities
   [9/9]
   ============================================ */

@media (max-width: 1024px) {
    .performance-grid {
        grid-template-columns: 1fr;
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }

    .properties-grid,
    .recommendations-grid,
    .strategy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .search-bar {
        order: 3;
        max-width: none;
        width: 100%;
    }

    .lang-text {
        display: none;
    }

    .quick-links-card {
        grid-template-columns: 1fr;
    }

    .quick-link {
        border-right: none;
        border-bottom: 1px solid var(--border);
        flex-direction: row;
        justify-content: flex-start;
        padding: 16px 20px;
    }

    .quick-link:last-child {
        border-bottom: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .properties-grid,
    .recommendations-grid,
    .strategy-grid {
        grid-template-columns: 1fr;
    }

    .revenue-card-bg {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .roi-comparison {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .search-bar-desktop {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .header-content {
        height: 60px;
        gap: 12px;
    }

    .logo-text {
        font-size: 18px;
    }

    /* Hide desktop elements */
    .search-bar-desktop,
    .desktop-actions-group,
    .btn-add-desktop {
        display: none !important;
    }

    /* Show mobile elements */
    .mobile-actions-toggle,
    .btn-add-mobile,
    .mobile-search-bar {
        display: flex;
    }

    .mobile-search-bar {
        display: block;
    }

    /* Adjust search for mobile */
    .mobile-search-bar .search-bar input {
        padding: 8px 36px 8px 36px;
        font-size: 16px;
    }

    .shortcut {
        display: none;
    }

    /* Language text hidden on mobile */
    .lang-text {
        display: none;
    }

    .lang-btn {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .header-content {
        gap: 8px;
    }

    .btn-add-mobile,
    .mobile-actions-toggle,
    .hamburger-btn {
        width: 36px;
        height: 36px;
    }

    .mobile-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .logo-text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
        align-items: flex-end;
        /* Slide up from bottom on mobile */
    }

    .modal-dialog {
        max-width: 100%;
        margin: 0;
        transform: translateY(100%);
    }

    .modal.show .modal-dialog {
        transform: translateY(0);
    }

    .modal-content {
        border-radius: 16px 16px 0 0;
        /* Rounded top corners on mobile */
        max-height: 85vh;
    }

    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .qodef-m-form-row {
        flex-direction: column;
        gap: 12px;
    }

    .qodef-m-form-item {
        min-width: 100%;
    }

    .qodef--amenities .qodef-m-checkbox-items {
        grid-template-columns: 1fr;
    }

    .qodef-m-button--search {
        flex-direction: column;
        width: 100%;
    }

    .qodef-m-button--search button {
        width: 100%;
        justify-content: center;
    }

    .qodef--specification {
        flex-direction: column;
        gap: 12px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* public/css/header.css */

/* Remove hover dropdown behavior for cart and notifications */
.cart-menu .dropdown,
.notification-menu .dropdown {
    display: none;
}

/* These are now click-triggered via the panel system */
.cart-btn,
.notification-btn {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.cart-btn:hover,
.notification-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Ensure panels are properly styled */
#shopping-cart-panel,
#notifications-panel {
    z-index: 9999;
}

/* Modal show state handled by existing CSS framework */
/* ============================================
   SHOPPING CART & NOTIFICATION PANELS
   ============================================ */

/* Base Panel Overlay */
#shopping-cart-panel,
#notifications-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background: linear-gradient(to bottom, rgba(var(--theme-1-rgb), 0.5), rgba(var(--theme-2-rgb), 0.5), rgba(0, 0, 0, 0.5));
    backdrop-filter: blur(4px);
}

#shopping-cart-panel.show,
#notifications-panel.show {
    opacity: 1;
    visibility: visible;
}

/* Panel Container - Slides from right */
#shopping-cart-panel>div,
#notifications-panel>div {
    position: relative;
    margin-left: auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: margin-right 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: -100%;
    border-radius: 0.75rem 0 0 0.75rem / 1.1rem 0 0 1.1rem;
    width: 18rem;
}

@media (min-width: 640px) {

    #shopping-cart-panel>div,
    #notifications-panel>div {
        width: 460px;
    }
}

#shopping-cart-panel.show>div,
#notifications-panel.show>div {
    margin-right: 0;
}

/* Dark mode support */
.dark #shopping-cart-panel>div,
.dark #notifications-panel>div {
    background-color: #1e293b;
}

/* Close Button (Floating outside) */
#shopping-cart-panel .absolute,
#notifications-panel .absolute {
    position: absolute;
    top: 50%;
    right: auto;
    left: 0;
    transform: translateY(-50%);
    margin-left: -60px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-decoration: none;
}

@media (min-width: 640px) {

    #shopping-cart-panel .absolute,
    #notifications-panel .absolute {
        margin-left: -105px;
        width: 56px;
        height: 56px;
    }
}

#shopping-cart-panel .absolute:hover,
#notifications-panel .absolute:hover {
    transform: translateY(-50%) rotate(180deg) scale(1.05);
    background-color: rgba(255, 255, 255, 0.1);
}

#shopping-cart-panel .absolute:focus,
#notifications-panel .absolute:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Close Icon */
#shopping-cart-panel .absolute svg,
#notifications-panel .absolute svg,
#shopping-cart-panel .absolute i {
    width: 32px;
    height: 32px;
    stroke-width: 1;
}

@media (min-width: 640px) {

    #shopping-cart-panel .absolute svg,
    #notifications-panel .absolute svg,
    #shopping-cart-panel .absolute i {
        width: 32px;
        height: 32px;
    }
}

/* Panel Header */
#shopping-cart-panel .flex.items-center.border-b,
#notifications-panel .flex.items-center.border-b {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.dark #shopping-cart-panel .flex.items-center.border-b,
.dark #notifications-panel .flex.items-center.border-b {
    border-color: rgba(51, 65, 85, 1);
}

#shopping-cart-panel .flex.items-center.border-b h2,
#notifications-panel .flex.items-center.border-b h2 {
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    color: #0f172a;
}

.dark #shopping-cart-panel .flex.items-center.border-b h2,
.dark #notifications-panel .flex.items-center.border-b h2 {
    color: #f1f5f9;
}

/* Mark all as read button */
#notifications-panel .hidden.sm\:flex {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
    color: #64748b;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (min-width: 640px) {
    #notifications-panel .hidden.sm\:flex {
        display: flex;
    }
}

.dark #notifications-panel .hidden.sm\:flex {
    border-color: rgba(71, 85, 105, 0.4);
    color: #cbd5e1;
}

#notifications-panel .hidden.sm\:flex:hover:not(:disabled) {
    background-color: rgba(226, 232, 240, 0.2);
    border-color: rgba(226, 232, 240, 0.9);
}

.dark #notifications-panel .hidden.sm\:flex:hover:not(:disabled) {
    background-color: rgba(30, 41, 59, 0.1);
    border-color: rgba(71, 85, 105, 0.4);
}

#notifications-panel .hidden.sm\:flex svg {
    width: 16px;
    height: 16px;
    stroke-width: 1;
    margin-right: 0.5rem;
}

/* Scrollable Content Area */
#shopping-cart-panel .overflow-y-auto,
#notifications-panel .overflow-y-auto {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

#shopping-cart-panel .overflow-y-auto::-webkit-scrollbar,
#notifications-panel .overflow-y-auto::-webkit-scrollbar {
    width: 6px;
}

#shopping-cart-panel .overflow-y-auto::-webkit-scrollbar-track,
#notifications-panel .overflow-y-auto::-webkit-scrollbar-track {
    background: transparent;
}

#shopping-cart-panel .overflow-y-auto::-webkit-scrollbar-thumb,
#notifications-panel .overflow-y-auto::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 3px;
}

.dark #shopping-cart-panel .overflow-y-auto::-webkit-scrollbar-thumb,
.dark #notifications-panel .overflow-y-auto::-webkit-scrollbar-thumb {
    background-color: #475569;
}

/* ============================================
   SHOPPING CART SPECIFIC STYLES
   ============================================ */

/* Cart Items Container */
#shopping-cart-panel .noti-scroll {
    padding: 0;
}

/* Empty Cart State */
#shopping-cart-panel .p-6.text-center {
    padding: 1.5rem;
    text-align: center;
    color: #64748b;
}

.dark #shopping-cart-panel .p-6.text-center {
    color: #94a3b8;
}

/* Cart Footer / Actions */
#shopping-cart-panel .border-t {
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dark #shopping-cart-panel .border-t {
    border-color: #334155;
}

#shopping-cart-panel .border-t .total {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 500;
    color: #0f172a;
}

.dark #shopping-cart-panel .border-t .total {
    color: #f1f5f9;
}

/* Pay Button */
#shopping-cart-panel .bg-primary {
    background-color: var(--primary-color, #3b82f6);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background-color 0.2s ease;
}

#shopping-cart-panel .bg-primary:hover {
    background-color: var(--primary-dark-color, #2563eb);
}

/* ============================================
   NOTIFICATIONS SPECIFIC STYLES
   ============================================ */

/* Notifications Container */
#notifications-panel .flex.flex-col.gap-3\.5 {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 0.75rem 1.25rem;
}

/* Timeline Line */
#notifications-panel .relative.overflow-hidden {
    position: relative;
    overflow: hidden;
}

#notifications-panel .relative.overflow-hidden::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin-left: 14px;
    width: 1px;
    background-color: rgba(226, 232, 240, 0.6);
}

.dark #notifications-panel .relative.overflow-hidden::before {
    background-color: #334155;
}

/* Empty Notifications State */
#notifications-panel .text-center.text-slate-500 {
    text-align: center;
    color: #64748b;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.dark #notifications-panel .text-center.text-slate-500 {
    color: #94a3b8;
}

/* ============================================
   CART ITEM STYLES
   ============================================ */

.cart-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.dark .cart-item {
    border-color: #1e293b;
}

.cart-item:hover {
    background-color: #f8fafc;
}

.dark .cart-item:hover {
    background-color: #0f172a;
}

/* Cart Item Thumbnail */
.cart-item-thumb {
    width: 64px;
    height: 64px;
    border-radius: 0.5rem;
    background-color: #e2e8f0;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark .cart-item-thumb {
    background-color: #334155;
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-thumb svg {
    width: 24px;
    height: 24px;
    color: #64748b;
}

/* Cart Item Info */
.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 0.25rem 0;
}

.dark .cart-item-title {
    color: #f1f5f9;
}

.cart-item-price {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.dark .cart-item-price {
    color: #94a3b8;
}

/* Remove Button */
.cart-item .remove-btn {
    padding: 0.5rem;
    border-radius: 9999px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item .remove-btn:hover {
    background-color: #f1f5f9;
}

.dark .cart-item .remove-btn:hover {
    background-color: #1e293b;
}

.cart-item .remove-btn svg {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.cart-item .remove-btn:hover svg {
    color: #ef4444;
}

/* ============================================
   NOTIFICATION TASK ITEM STYLES
   ============================================ */

.notification-task {
    position: relative;
    padding-left: 1.5rem;
    padding-bottom: 1.25rem;
}

/* Icon Circle */
.notification-task>.absolute {
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background colors for different types */
.notification-task .bg-danger\/20 {
    background-color: rgba(239, 68, 68, 0.2);
    border: 2px solid #ef4444;
}

.notification-task .bg-warning\/20 {
    background-color: rgba(245, 158, 11, 0.2);
    border: 2px solid #f59e0b;
}

.notification-task .bg-primary\/20 {
    background-color: rgba(59, 130, 246, 0.2);
    border: 2px solid #3b82f6;
}

.notification-task .bg-success\/20 {
    background-color: rgba(34, 197, 94, 0.2);
    border: 2px solid #22c55e;
}

.notification-task .bg-info\/20 {
    background-color: rgba(6, 182, 212, 0.2);
    border: 2px solid #06b6d4;
}

.notification-task .bg-secondary\/20 {
    background-color: rgba(100, 116, 139, 0.2);
    border: 2px solid #64748b;
}

/* Icon colors */
.notification-task .text-danger {
    color: #ef4444;
}

.notification-task .text-warning {
    color: #f59e0b;
}

.notification-task .text-primary {
    color: #3b82f6;
}

.notification-task .text-success {
    color: #22c55e;
}

.notification-task .text-info {
    color: #06b6d4;
}

.notification-task .text-secondary {
    color: #64748b;
}

/* Icon SVG */
.notification-task>.absolute svg {
    width: 14px;
    height: 14px;
}

/* Content */
.notification-task .ml-4 {
    margin-left: 1rem;
}

.notification-task .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.notification-task .font-medium {
    font-weight: 500;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.dark .notification-task .font-medium {
    color: #f1f5f9;
}

.notification-task .text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
    color: #64748b;
    margin: 0 0 0.5rem 0;
}

.dark .notification-task .text-xs {
    color: #94a3b8;
}

.notification-task .text-xs.text-slate-400 {
    color: #94a3b8;
    display: block;
    margin-top: 0.5rem;
}

.dark .notification-task .text-xs.text-slate-400 {
    color: #64748b;
}

/* ============================================
   HEADER BUTTON STYLES (Cart & Notification)
   ============================================ */

/* Icon Buttons */
.icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #0f172a;
}

.dark .icon-btn {
    color: #f1f5f9;
}

.icon-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark .icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Badge Count */
.badge-count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9999px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.dark .badge-count {
    border-color: #1e293b;
}

/* Menu badge (in dropdown) */
.menu-badge {
    margin-left: auto;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

/* ============================================
   MOBILE ACTIONS
   ============================================ */

.mobile-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: inherit;
    text-decoration: none;
}

.mobile-action-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark .mobile-action-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-action-icon {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark .mobile-action-icon {
    background-color: #334155;
}

.mobile-action-icon svg {
    width: 24px;
    height: 24px;
}

.mobile-action-icon .badge-count {
    top: -4px;
    right: -4px;
}

.mobile-action-item span:not(.badge-count) {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Mobile language selector */
.mobile-language-selector select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* User avatar small */
.user-avatar-small {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    object-fit: cover;
}

/* ============================================
   USER AVATAR IN HEADER
   ============================================ */

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   SERVICE ICON IN DROPDOWN
   ============================================ */

.service-icon {
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    object-fit: cover;
}

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Panel entrance animation */
#shopping-cart-panel.show>div,
#notifications-panel.show>div {
    animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

#shopping-cart-panel,
#notifications-panel {
    animation: fadeIn 0.3s ease;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus visible styles */
#shopping-cart-panel .absolute:focus-visible,
#notifications-panel .absolute:focus-visible,
.icon-btn:focus-visible,
.mobile-action-item:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    #shopping-cart-panel,
    #notifications-panel,
    #shopping-cart-panel>div,
    #notifications-panel>div {
        transition: none;
        animation: none;
    }

    #shopping-cart-panel.show>div,
    #notifications-panel.show>div {
        animation: none;
        margin-right: 0;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {

    .cart-item,
    .notification-task,
    #shopping-cart-panel .border-t,
    #notifications-panel .flex.items-center.border-b {
        border-color: #000000;
    }

    .dark .cart-item,
    .dark .notification-task,
    .dark #shopping-cart-panel .border-t,
    .dark #notifications-panel .flex.items-center.border-b {
        border-color: #ffffff;
    }
}


/* ============================================
   PROPERTY SEARCH FORM - MODERN DESIGN SYSTEM
   ============================================ */

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --im-background: #0f172a;
        --im-surface: #1e293b;
        --im-border: #334155;
        --im-text-primary: #f1f5f9;
        --im-text-secondary: #94a3b8;
        --im-text-muted: #64748b;
    }
}

/* ============================================
   FORM CONTAINER & LAYOUT
   ============================================ */

.im-search-form {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
    background: var(--im-surface);
    border-radius: var(--im-radius-lg);
    /* box-shadow: var(--im-shadow-lg); */
}

.im-search-form__wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.im-search-form__section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--im-text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--im-primary);
}

.im-search-form__section-title::before {
    content: '';
    width: 4px;
    height: 1.25rem;
    background: var(--im-primary);
    border-radius: 2px;
}

/* ============================================
   FORM GRID SYSTEM
   ============================================ */

.im-search-form__row {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.im-search-form__row--3col {
    grid-template-columns: repeat(3, 1fr);
}

.im-search-form__row--2col {
    grid-template-columns: repeat(2, 1fr);
}

.im-search-form__row--size {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {

    .im-search-form__row--3col,
    .im-search-form__row--2col,
    .im-search-form__row--size {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FORM FIELDS
   ============================================ */

.im-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.im-field__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--im-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.im-field__input,
.im-field__select {
    width: 100%;
    /* padding: 0.875rem 1rem; */
    font-size: 1rem;
    line-height: 1.5;
    color: var(--im-text-primary);
    background: var(--im-surface);
    border: 2px solid var(--im-border);
    border-radius: var(--im-radius);
    transition: var(--im-transition);
    appearance: none;
}

.im-field__input:hover,
.im-field__select:hover {
    border-color: var(--im-primary-light);
}

.im-field__input:focus,
.im-field__select:focus {
    outline: none;
    border-color: var(--im-primary);
    box-shadow: 0 0 0 3px rgba(255, 204, 65, 0.15);
}

.im-field__input::placeholder {
    color: var(--im-text-muted);
}

/* Select Dropdown Arrow */
.im-field__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.im-field__select[multiple] {
    background-image: none;
    min-height: 140px;
    padding-right: 1rem;
}

/* ============================================
   SIZE INPUTS GROUP
   ============================================ */

.im-size-group {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    align-items: center;
}

.im-size-group__separator {
    color: var(--im-text-muted);
    font-weight: 500;
    font-size: 0.875rem;
}

/* ============================================
   SPECIFICATION ROW (Rooms/Baths)
   ============================================ */

.im-spec-row {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
}

.im-spec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.im-spec-item__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--im-text-secondary);
    white-space: nowrap;
}

.im-spec-item__input {
    width: 80px;
    text-align: center;
    padding: 0.875rem;
}

@media (max-width: 640px) {
    .im-spec-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .im-spec-item {
        justify-content: space-between;
    }

    .im-spec-item__input {
        width: 100px;
    }
}

/* ============================================
   PRICE RANGE SLIDER
   ============================================ */

.im-price-range {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid var(--im-border);
    border-radius: var(--im-radius-lg);
    padding: 1.5rem;
}

.im-price-range__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.im-price-range__label {
    font-size: 0.875rem;
    color: var(--im-text-secondary);
    font-weight: 500;
}

.im-price-range__value {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--im-primary);
    color: var(--im-secondary);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 9999px;
    box-shadow: var(--im-shadow-sm);
}

.im-price-range__slider {
    position: relative;
    height: 6px;
    background: var(--im-border);
    border-radius: 3px;
    margin: 1rem 0;
}

.im-price-range__track {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, var(--im-primary) 0%, var(--im-primary-dark) 100%);
    border-radius: 3px;
    left: 0%;
    right: 20%;
}

.im-price-range__handle {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--im-surface);
    border: 3px solid var(--im-primary);
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--im-shadow);
    cursor: grab;
    transition: var(--im-transition);
}

.im-price-range__handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--im-shadow-lg);
}

.im-price-range__handle:active {
    cursor: grabbing;
}

.im-price-range__handle--left {
    left: 0%;
}

.im-price-range__handle--right {
    left: 80%;
}

/* ============================================
   AMENITIES GRID
   ============================================ */

.im-amenities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.im-amenity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--im-radius-sm);
    transition: var(--im-transition);
    cursor: pointer;
}

.im-amenity:hover {
    background: #f1f5f9;
}

.im-amenity__input {
    width: 20px;
    height: 20px;
    accent-color: var(--im-primary);
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 4px;
    border: 2px solid var(--im-border);
}

.im-amenity__label {
    font-size: 0.9375rem;
    color: var(--im-text-secondary);
    cursor: pointer;
    user-select: none;
    flex: 1;
    line-height: 1.4;
}

.im-amenity:hover .im-amenity__label {
    color: var(--im-text-primary);
}

/* Checked state */
.im-amenity__input:checked+.im-amenity__label {
    color: var(--im-text-primary);
    font-weight: 500;
}

@media (max-width: 640px) {
    .im-amenities {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ACTION BUTTONS
   ============================================ */

.im-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 2px solid var(--im-border);
}

.im-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--im-radius);
    border: none;
    cursor: pointer;
    transition: var(--im-transition);
    position: relative;
    overflow: hidden;
}

.im-btn--primary {
    background: linear-gradient(135deg, var(--im-primary) 0%, var(--im-primary-dark) 100%);
    color: var(--im-secondary);
    box-shadow: 0 4px 14px rgba(255, 204, 65, 0.3);
}

.im-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 65, 0.4);
}

.im-btn--primary:active {
    transform: translateY(0);
}

.im-btn--secondary {
    background: #f1f5f9;
    color: var(--im-text-secondary);
    border: 2px solid var(--im-border);
}

.im-btn--secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: var(--im-text-primary);
}

.im-btn--ghost {
    background: transparent;
    color: var(--im-text-muted);
    border: 2px solid transparent;
    margin-left: auto;
}

.im-btn--ghost:hover {
    color: var(--im-danger);
    background: #fef2f2;
    border-color: #fecaca;
}

.im-btn__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Loading State */
.im-btn--loading {
    pointer-events: none;
    opacity: 0.8;
}

.im-btn__spinner {
    position: absolute;
    width: 20px;
    height: 20px;
    animation: im-spin 1s linear infinite;
}

@keyframes im-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.im-btn--loading .im-btn__icon,
.im-btn--loading .im-btn__text {
    opacity: 0;
}

@media (max-width: 640px) {
    .im-actions {
        flex-direction: column;
    }

    .im-btn {
        width: 100%;
    }

    .im-btn--ghost {
        margin-left: 0;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.im-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for accessibility */
.im-field__input:focus-visible,
.im-field__select:focus-visible,
.im-btn:focus-visible,
.im-amenity__input:focus-visible {
    outline: 2px solid var(--im-primary);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .im-btn,
    .im-field__input,
    .im-field__select,
    .im-amenity,
    .im-price-range__handle {
        transition: none;
    }

    .im-btn__spinner {
        animation: none;
    }
}

/* ============================================
   SELECT2 CUSTOM STYLES - IMOBILIAA DESIGN
   ============================================ */

/* Base Select2 Container */
.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    width: 100% !important;
}

.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    user-select: none;
    -webkit-user-select: none;
}

/* Single Select Styling */
.select2-container--imobiliaa .select2-selection--single {
    height: auto;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--im-text-primary);
    background: var(--im-surface);
    border: 2px solid var(--im-border);
    border-radius: var(--im-radius);
    transition: var(--im-transition);
}

.select2-container--imobiliaa .select2-selection--single:hover {
    border-color: var(--im-primary-light);
}

.select2-container--imobiliaa.select2-container--focus .select2-selection--single,
.select2-container--imobiliaa.select2-container--open .select2-selection--single {
    outline: none;
    border-color: var(--im-primary);
    box-shadow: 0 0 0 3px rgba(255, 204, 65, 0.15);
}

/* Single Select Rendered Text */
.select2-container--imobiliaa .select2-selection--single .select2-selection__rendered {
    color: var(--im-text-primary);
    line-height: 1.5;
    padding-left: 0;
    padding-right: 0;
}

.select2-container--imobiliaa .select2-selection--single .select2-selection__placeholder {
    color: var(--im-text-muted);
}

/* Single Select Arrow */
.select2-container--imobiliaa .select2-selection--single .select2-selection__arrow {
    height: 100%;
    position: absolute;
    top: 0;
    right: 1rem;
    width: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select2-container--imobiliaa .select2-selection--single .select2-selection__arrow b {
    border: none;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}

.select2-container--imobiliaa.select2-container--open .select2-selection--single .select2-selection__arrow b {
    transform: rotate(180deg);
}

/* ============================================
   MULTI-SELECT STYLING
   ============================================ */

.select2-container--imobiliaa .select2-selection--multiple {
    min-height: auto;
    padding: 0.375rem 2.5rem 0.375rem 0.5rem;
    font-size: 1rem;
    color: var(--im-text-primary);
    background: var(--im-surface);
    border: 2px solid var(--im-border);
    border-radius: var(--im-radius);
    transition: var(--im-transition);
}

.select2-container--imobiliaa .select2-selection--multiple:hover {
    border-color: var(--im-primary-light);
}

.select2-container--imobiliaa.select2-container--focus .select2-selection--multiple,
.select2-container--imobiliaa.select2-container--open .select2-selection--multiple {
    outline: none;
    border-color: var(--im-primary);
    box-shadow: 0 0 0 3px rgba(255, 204, 65, 0.15);
}

/* Selected Items (Tags) */
.select2-container--imobiliaa .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.select2-container--imobiliaa .select2-selection__choice {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: linear-gradient(135deg, var(--im-primary) 0%, var(--im-primary-dark) 100%);
    color: var(--im-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    margin: 0;
    cursor: default;
    animation: im-tag-in 0.2s ease;
}

@keyframes im-tag-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Remove Button on Tag */
.select2-container--imobiliaa .select2-selection__choice__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 0;
    color: var(--im-secondary);
    background: transparent;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.select2-container--imobiliaa .select2-selection__choice__remove:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.select2-container--imobiliaa .select2-selection__choice__remove svg,
.select2-container--imobiliaa .select2-selection__choice__remove::before {
    content: '×';
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

/* Search Field in Multi-Select */
.select2-container--imobiliaa .select2-search--inline {
    float: none;
    margin: 0;
    flex: 1;
    min-width: 80px;
}

.select2-container--imobiliaa .select2-search--inline .select2-search__field {
    margin: 0;
    padding: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--im-text-primary);
    background: transparent;
    border: none;
    outline: none;
    width: 100% !important;
}

.select2-container--imobiliaa .select2-search--inline .select2-search__field::placeholder {
    color: var(--im-text-muted);
}

/* ============================================
   DROPDOWN MENU
   ============================================ */

.select2-dropdown {
    background: var(--im-surface);
    border: 2px solid var(--im-primary);
    border-radius: var(--im-radius);
    box-shadow: var(--im-shadow-lg);
    margin-top: 0.5rem;
    overflow: hidden;
    animation: im-dropdown-in 0.2s ease;
}

@keyframes im-dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Box in Dropdown */
.select2-search--dropdown {
    padding: 0.75rem;
    border-bottom: 1px solid var(--im-border);
}

.select2-search--dropdown .select2-search__field {
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    color: var(--im-text-primary);
    background: #f8fafc;
    border: 2px solid var(--im-border);
    border-radius: var(--im-radius-sm);
    width: 100%;
    outline: none;
    transition: var(--im-transition);
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: var(--im-primary);
    background: var(--im-surface);
}

/* Results List */
.select2-results {
    padding: 0.5rem;
    max-height: 280px;
    overflow-y: auto;
}

.select2-results__options {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Individual Option */
.select2-results__option {
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    color: var(--im-text-secondary);
    border-radius: var(--im-radius-sm);
    cursor: pointer;
    transition: var(--im-transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.select2-results__option:hover {
    background: #f1f5f9;
    color: var(--im-text-primary);
}

.select2-results__option--highlighted {
    background: rgba(255, 204, 65, 0.15) !important;
    color: var(--im-text-primary) !important;
}

/* Selected Option */
.select2-results__option[aria-selected="true"] {
    background: rgba(255, 204, 65, 0.3);
    color: var(--im-text-primary);
    font-weight: 500;
}

.select2-results__option[aria-selected="true"]::after {
    content: '';
    width: 16px;
    height: 16px;
    margin-left: auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffcc41' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Disabled Option */
.select2-results__option--disabled {
    color: var(--im-text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Optgroup */
.select2-results__group {
    padding: 0.75rem 0.875rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--im-text-muted);
    border-bottom: 1px solid var(--im-border);
    margin-bottom: 0.5rem;
}

/* Loading State */
.select2-results__option.loading-results,
.select2-results__option.select2-results__message {
    padding: 1rem;
    text-align: center;
    color: var(--im-text-muted);
    font-style: italic;
}

/* Clear Button (for single select) */
.select2-container--imobiliaa .select2-selection__clear {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--im-text-muted);
    cursor: pointer;
    border-radius: 50%;
    transition: var(--im-transition);
    font-size: 18px;
    line-height: 1;
}

.select2-container--imobiliaa .select2-selection__clear:hover {
    background: #f1f5f9;
    color: var(--im-danger);
}

/* ============================================
   PLACEHOLDER STYLING
   ============================================ */

.select2-container--imobiliaa .select2-selection__placeholder {
    color: var(--im-text-muted);
    font-style: italic;
}

/* ============================================
   DISABLED STATE
   ============================================ */

.select2-container--imobiliaa.select2-container--disabled .select2-selection--single,
.select2-container--imobiliaa.select2-container--disabled .select2-selection--multiple {
    background: #f1f5f9;
    border-color: var(--im-border);
    cursor: not-allowed;
    opacity: 0.6;
}

.select2-container--imobiliaa.select2-container--disabled .select2-selection__choice {
    opacity: 0.6;
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

@media (prefers-color-scheme: dark) {

    .select2-container--imobiliaa .select2-selection--single,
    .select2-container--imobiliaa .select2-selection--multiple {
        background: #1e293b;
        border-color: #334155;
        color: #f1f5f9;
    }

    .select2-container--imobiliaa .select2-selection--single .select2-selection__rendered {
        color: #f1f5f9;
    }

    .select2-dropdown {
        background: #1e293b;
        border-color: var(--im-primary);
    }

    .select2-search--dropdown .select2-search__field {
        background: #0f172a;
        border-color: #334155;
        color: #f1f5f9;
    }

    .select2-results__option {
        color: #94a3b8;
    }

    .select2-results__option:hover,
    .select2-results__option--highlighted {
        background: #334155 !important;
        color: #f1f5f9 !important;
    }

    .select2-results__option[aria-selected="true"] {
        background: rgba(255, 204, 65, 0.2) !important;
        color: #f1f5f9 !important;
    }

    .select2-search--dropdown {
        border-color: #334155;
    }

    .select2-results__group {
        color: #64748b;
        border-color: #334155;
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 640px) {
    .select2-dropdown {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-top: 0;
    }

    .select2-results {
        max-height: 50vh;
    }
}

/* ============================================
   LOADING SPINNER FOR AJAX
   ============================================ */

.select2-container--imobiliaa .select2-results__option.loading-results::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    border: 2px solid var(--im-border);
    border-top-color: var(--im-primary);
    border-radius: 50%;
    animation: im-spin 0.8s linear infinite;
}

@keyframes im-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Section wrapper */
.qodef-elementor-content-grid {
    width: 100%;
    padding: 60px 0;
    box-sizing: border-box;
}

/* Section Title */
.qodef-section-title {
    text-align: left;
}

.qodef-section-title h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

/* Property List */
.qodef-property-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.qodef-grid-inner>* {
    box-sizing: border-box;
}

/* Responsive */
@media (max-width: 1024px) {
    .qodef-property-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .qodef-property-list {
        grid-template-columns: 1fr;
    }
}

/* Button */
.qodef-button a {
    display: inline-block;
    padding: 12px 30px;
    background-color: #F16F40;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.qodef-button a:hover {
    background-color: #d95e30;
}

/* Layout */
.modern-spaces-section {
    /* display: block;
  width: 100%;
  padding: 80px 0 90px 10.5%; */
    background-color: #edf9f9;
    background-image: url('https://imobiliaa.ro/images/main-home-bg-img-new.webp');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: auto;
}

.modern-spaces-container {
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 0;
}

.modern-spaces-column {
    display: flex;
    flex-direction: column;
    flex: 1 1 50%;
    align-items: flex-start;
    justify-content: center;
}

.modern-spaces-column-left {
    padding-right: 3%;
}

.modern-spaces-column-right {
    padding-left: 6%;
}

/* Image */
.image-wrapper {
    position: relative;
}

.drop-shadow-enabled img {
    border-radius: 0;
    display: block;
    position: relative;
    z-index: 3;
}

.drop-shadow-enabled.appeared::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--qode-main-color-one, #00aaff);
    transform: translate(-14px, 14px);
    transition: transform 0.8s cubic-bezier(.45, 0, .55, 1);
    z-index: 2;
}

/* Text */
.section-title {
    text-align: left;
    margin-bottom: 8px;
}

.title {
    font-family: 'Poppins', sans-serif;
    font-size: 45px;
    font-weight: 800;
    line-height: 1.1333;
    color: #000;
    margin: 0 0 12px 0;
}

.description {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 12px 0 0 0;
}

.mt-22 {
    margin-top: 22px;
}

/* Button */
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7333;
    color: #000;
    background-color: var(--qode-main-color-one, #00aaff);
    border: 1px solid transparent;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.2s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out;
}

.primary-button span {
    position: relative;
    z-index: 2;
}

.primary-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--qode-main-color-one-hover, #0088cc);
    border-radius: 10px;
    z-index: 1;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.3s cubic-bezier(.45, 0, .55, 1);
}

.primary-button:hover::after {
    clip-path: inset(0 0 0 0);
}

.primary-button:hover {
    color: #000;
}

/* Responsive */
@media (max-width:1440px) {
    .modern-spaces-section {
        padding-left: 0;
        padding-right: 0;
    }

    .modern-spaces-column-left {
        padding-right: 0;
    }

    .modern-spaces-column-right {
        padding-left: 10%;
    }
}

@media (max-width:1024px) {
    .modern-spaces-container {
        flex-wrap: wrap;
    }

    .modern-spaces-column-left,
    .modern-spaces-column-right {
        width: 100%;
        padding: 0 10px 65px;
    }
}

@media (max-width:767px) {
    .modern-spaces-section {
        padding: 80px 0 90px;
    }

    .modern-spaces-column-left,
    .modern-spaces-column-right {
        padding: 0 10px;
    }
}

/* ==================== BODY SECTIONS (REDESIGNED) ==================== */
.main-content {
    padding-top: 72px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url(../images/faq-title-img.jpg);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge svg {
    width: 18px;
    height: 18px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.2) rotate(10deg);
    }
}

.hero-title {
    font-size: clamp(42px, 9vw, 80px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title span {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 26px);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-white {
    background: var(--white);
    color: var(--text-dark);
    padding: 16px 36px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    padding: 16px 36px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-outline-white::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-outline-white:hover {
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-white:hover::before {
    opacity: 1;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--text-dark);
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Section Styles */
.section {
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    background: rgba(255, 193, 7, 0.15);
    color: var(--text-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Promoted Listings Section */
.listings-section {
    background: var(--gray-bg);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.listing-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.listing-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.listing-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.listing-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-yellow);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.listing-content {
    padding: 24px;
}

.listing-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.listing-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.listing-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.listing-features {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.listing-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.listing-feature svg {
    width: 16px;
    height: 16px;
    color: var(--primary-yellow);
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-yellow);
    color: var(--text-dark);
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    margin: 0 auto;
}

.btn-view-all:hover {
    background: var(--primary-yellow-hover);
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-content {
    max-width: 500px;
}

.services-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.services-text p {
    margin-bottom: 16px;
}

.services-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.service-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 193, 7, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-dark);
}

.service-feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.service-feature-text p {
    font-size: 14px;
    color: var(--text-light);
}

.services-image {
    position: relative;
}

.services-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.services-img {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.services-img:first-child {
    grid-row: span 2;
    height: 400px;
}

.services-img:not(:first-child) {
    height: 192px;
}

.services-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Steps Section */
.steps-section {
    background: linear-gradient(180deg, var(--gray-bg) 0%, var(--white) 100%);
}

.steps-header {
    text-align: center;
    margin-bottom: 60px;
}

.steps-header h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.steps-header h2 span {
    color: var(--primary-yellow);
    position: relative;
}

.steps-header h2 span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(255, 193, 7, 0.3);
    border-radius: 4px;
    z-index: -1;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.step-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -24px;
    width: 24px;
    height: 2px;
    background: var(--border-color);
}

.step-card:last-child::after {
    display: none;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary-yellow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* AI Section */
.ai-section {
    background: var(--dark-bg);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ai-content h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.ai-content h2 span {
    color: var(--primary-yellow);
}

.ai-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 16px;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 12px;
}

.ai-feature svg {
    width: 24px;
    height: 24px;
    color: var(--primary-yellow);
}

.ai-feature span {
    font-size: 14px;
    font-weight: 500;
}

.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-visual-box {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(102, 126, 234, 0.2) 100%);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ai-visual-box::before,
.ai-visual-box::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 193, 7, 0.3);
}

.ai-visual-box::before {
    width: 300px;
    height: 300px;
}

.ai-visual-box::after {
    width: 200px;
    height: 200px;
}

.ai-visual-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-yellow);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.ai-visual-icon svg {
    width: 50px;
    height: 50px;
    color: var(--text-dark);
}

/* Partners Banner */
.partners-banner {
    background: var(--primary-yellow);
    padding: 40px 24px;
    overflow: hidden;
}

.partners-track {
    display: flex;
    gap: 80px;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    opacity: 0.8;
}

/* News Section */
.news-section {
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


.news-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.news-card.featured .news-image {
    height: 100%;
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card.featured .news-title {
    font-size: 24px;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 16px;
    transition: all 0.3s;
}

.news-link:hover {
    color: var(--primary-yellow);
}

.news-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.news-link:hover svg {
    transform: translateX(4px);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF3CD 50%, #FFE69C 100%);
    color: var(--text-dark);
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.newsletter-subtitle {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
    background: var(--white);
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: var(--gray-bg);
    color: var(--text-dark);
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-input:focus {
    border-color: var(--primary-yellow);
    background: var(--white);
}

.newsletter-btn {
    padding: 16px 28px;
    background: var(--primary-yellow);
    color: var(--text-dark);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: var(--primary-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

/* ==================== FOOTER (PRESERVED) ==================== */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 24px 30px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-yellow);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon svg {
    width: 20px;
    height: 20px;
    color: var(--text-dark);
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-yellow);
}

.footer-social a:hover svg {
    color: var(--text-dark);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-yellow);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 16px;
    transition: all 0.3s;
}

.footer-contact-btn:hover {
    background: var(--primary-yellow-hover);
}


.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    color: var(--white);
    padding: 20px 24px;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.cookie-text a {
    color: var(--primary-yellow);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.cookie-btn-refuse {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-refuse:hover {
    border-color: var(--white);
}

.cookie-btn-accept {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.cookie-btn-accept:hover {
    background: var(--primary-yellow-hover);
}

/* Responsive */
@media (max-width: 1024px) {

    .services-grid,
    .ai-grid {
        grid-template-columns: 1fr;
    }

    .services-content {
        max-width: 100%;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-card::after {
        display: none;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .news-card.featured .news-image {
        height: 200px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-search {
        display: none;
    }

    .language-selector span {
        display: none;
    }

    .btn-login span {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-white,
    .btn-outline-white {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .services-image-grid {
        grid-template-columns: 1fr;
    }

    .services-img:first-child {
        grid-row: span 1;
        height: 250px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .ai-features {
        grid-template-columns: 1fr;
    }

    .ai-visual-box {
        width: 280px;
        height: 280px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 24px;
    }
}

.property-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

.transaction-label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    min-width: 90px;
    text-align: center;
    z-index: 3;
}

.transaction-sell {
    background: #e74c3c;
    color: white;
}

.transaction-rent {
    background: #337fff;
    color: white;
}

.transaction-auction {
    background: #d4ac0d;
    color: white;
}
.posting-date {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.badges-container {
    position: absolute;
    top: 50px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.property-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-promoted {
    background: #f39c12;
}

.social-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    padding: 25px 15px 10px;
    display: flex;
    gap: 20px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card:hover .social-stats {
    opacity: 1;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.star-empty {
    color: rgba(255, 255, 255, 0.3);
}

.property-card .action-buttons {
    position: absolute;
    bottom: 10px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 3;
    flex-direction: row;
}

.property-card:hover .action-buttons {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    position: relative;
}

.action-btn:hover {
    transform: scale(1.1);
}

.action-btn::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    padding: 6px 12px;
    background: #2c3e50;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 100;
}

.action-btn::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    border: 5px solid transparent;
    border-top-color: #2c3e50;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 100;
}

.action-btn:hover::after,
.action-btn:hover::before {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.property-info {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}


.property-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2c3e50;
}

.interactive-tag {
    font-size: 0.7rem;
    color: #27ae60;
    font-weight: 700;
    background: rgba(39, 174, 96, 0.1);
    padding: 3px 8px;
    border-radius: 8px;
}

.property-title {
    font-size: 1.15rem;
    color: #2c3e50;
    margin-bottom: 6px;
    font-weight: 600;
}

.property-location {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-text {
    color: var(--primary-yellow);
    font-weight: 600;
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
}

.property-features {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #ecf0f1;
    border-bottom: 1px solid #ecf0f1;
    font-size: 0.85rem;
    color: #555;
}

@media (max-width: 768px) {
    .action-buttons {
        opacity: 1;
        transform: translateY(0);
        bottom: 50px;
    }

    .social-stats {
        opacity: 1;
    }
}

/* Property Card Image & Slider Fix */
.property-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    /* adjust as needed */
    overflow: hidden;
}



/* Swiper Slider */
.swiper-container.property-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

/* Ensure Swiper slides fill the container */
.swiper-container.property-slider {
    width: 100%;
    height: 240px;
    /* match .property-image-container */
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    height: 100%;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100% !important;
    /* force full width */
    height: 100%;
}


/* ==================== NEWSLETTER SECTION ==================== */












.section.steps-section {
    padding: 110px 0;
    background: #fff;
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
}

.steps-header h2 {
    font-family: Poppins, sans-serif;
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 60px;
}

.steps-header span.qodef-m-decorated {
    color: --primary-yellow;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.step-card {
    background: #f9f9f9;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
}

.step-number {
    font-size: 30px;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 15px;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

@media(max-width:1024px) {
    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px
    }
}

@media(max-width:600px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }
}

/* Container & Grid */
.services-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 130px 20px;
}

/* Left Column */
.services-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Section Title */
.section-title h2 {
    font-family: Poppins, sans-serif;
    font-weight: 500;
    font-size: 45px;
    line-height: 1.13;
    margin-bottom: 40px;
    color: #000;
}

/* Service Items */
.service-item {
    display: flex;
    gap: 20px;
    margin-bottom: 45px;
    align-items: flex-start;
}

.service-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #fbbf24;
    stroke-width: 4;
}

.service-content h4 {
    font-family: Poppins, sans-serif;
    font-weight: 800;
    font-size: 26px;
    line-height: 1.19;
    margin-bottom: 8px;
    color: #000;
}

.service-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
}

/* Right Column Images */
.services-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: 10px;
}

.image-left,
.image-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.image-left img {
    width: 100%;
    height: 400px;
    /* explicit height */
    object-fit: cover;
    border-radius: 10px;
}

.image-right img {
    width: 100%;
    height: 195px;
    /* split right images equally */
    object-fit: cover;
    border-radius: 10px;
}

/* Stack on smaller screens */
@media (max-width: 1024px) {
    .services-container {
        flex-direction: column;
        padding: 80px 20px;
    }

    .services-right {
        flex-direction: row;
    }

    .image-right {
        flex-direction: column;
    }

    .image-left img,
    .image-right img {
        height: auto;
    }
}

.blog-section {
    padding: 80px 20px;
    max-width: var(--max-width);
    margin: auto;
}

.blog-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.blog-item h4 {
    font-size: 18px;
    margin: 15px 0 10px;
}

.blog-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.blog-item a.read-more {
    font-size: 14px;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

@media(max-width:1024px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}





/* ============================================
   LOGIN MODAL - EXTRACTED WORKING CSS
   ============================================ */

/* Base Modal Container */
#qodef-membership-login-modal {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100vh;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transition: opacity .2s ease-out;
    visibility: hidden;
    width: 100%;
    z-index: 9999999;
}

/* Opened State */
#qodef-membership-login-modal.qodef--opened {
    opacity: 1;
    visibility: visible;
}

/* Overlay */
#qodef-membership-login-modal .qodef-membership-login-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / .7);
}

/* Modal Content */
.qodef-membership-login-modal-content {
    background-color: #fbfbfb;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    display: inline-block;
    max-height: 100%;
    max-width: 86vw;
    overflow-y: auto;
    padding: 28px 23px 25px;
    position: relative;
    vertical-align: top;
    width: 420px;
    z-index: 2;
}

/* Scrollbar */
.qodef-membership-login-modal-content::-webkit-scrollbar {
    height: 4px;
    width: 4px;
}

.qodef-membership-login-modal-content::-webkit-scrollbar-track {
    background-color: #fff0;
}

.qodef-membership-login-modal-content::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 5px;
}

/* Navigation Tabs */
.qodef-membership-login-modal-navigation {
    align-items: center;
    display: grid;
    grid-template-areas: "stack";
    grid-template-columns: minmax(auto, 1fr);
    grid-template-rows: minmax(auto, 1fr);
    justify-items: center;
    list-style: none;
    margin: 0 0 30px;
    position: relative;
}

.qodef-membership-login-modal-navigation .qodef-m-navigation-item {
    grid-area: stack;
    /* pointer-events: none; */
}

.qodef-membership-login-modal-navigation .qodef-m-navigation-item:where(:not(.ui-state-active)) {
    opacity: 0;
}

.qodef-membership-login-modal-navigation .qodef-e-link {
    font-family: Poppins, sans-serif;
    font-weight: 500;
    color: #000;
    font-size: 26px;
    line-height: 1.19231em;
    display: block;
    position: relative;
}

.qodef-membership-login-modal-navigation .qodef-e-label {
    display: block;
}

/* Close Button */
#qodef-membership-login-modal .qodef-modal-close {
    display: flex;
    position: absolute;
    right: 30px;
    top: 34px;
    z-index: 2;
}

/* Form Elements */
#qodef-membership-login-modal form {
    display: inline-block;
    position: relative;
    width: 100%;
    vertical-align: top;
}

#qodef-membership-login-modal .qodef-m-action {
    position: relative;
}

#qodef-membership-login-modal .qodef-m-action-button {
    opacity: 1;
    z-index: 2;
}

#qodef-membership-login-modal .qodef-m-action-spinner {
    font-size: 30px;
    left: calc(50% - 15px);
    opacity: 0;
    position: absolute;
    top: calc(50% - 15px);
}

/* Response Messages */
#qodef-membership-login-modal .qodef-m-response {
    line-height: 1;
    margin: 0;
    text-align: center;
}

#qodef-membership-login-modal .qodef-m-response:not(:empty) {
    margin-top: 27px;
}

/* Notices */
#qodef-membership-login-modal .qodef-m-notice {
    margin: 27px 0 0;
    position: relative;
    text-align: center;
}

#qodef-membership-login-modal .qodef-m-notice a {
    vertical-align: unset;
}

/* Margin fix */
#qodef-membership-login-modal .qodef-membership-login-modal-content {
    margin-top: 30px;
}

/* Login Part Specific */
#qodef-membership-login-modal-part .qodef-m-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin: 10px 0 28px;
    position: relative;
}

#qodef-membership-login-modal-part .qodef-m-links-remember-me {
    align-items: center;
    display: flex;
    flex-shrink: 0;
}

#qodef-membership-login-modal-part .qodef-m-links-remember-me label {
    margin-bottom: 0;
}

/* Social Login */
#qodef-membership-login-modal-part .qodef-m-social-login {
    column-gap: 30px;
    display: flex;
    justify-content: center;
    margin: 31px 0 15px;
}

#qodef-membership-login-modal-part .qodef-m-social-login-btn {
    background-color: #fff0;
    padding: 0;
}

#qodef-membership-login-modal-part .qodef-m-social-login-btn:hover {
    background-color: #fff0;
    color: var(--qode-main-color-two);
}

/* Reset Password Part */
#qodef-membership-reset-password-modal-part .qodef-m-notice-login {
    margin: 5px 0 0;
}

/* Utility */
.winline-box {
    display: -webkit-inline-box;
}

.wh-15 {
    height: 15px;
    width: 15px;
}

/* SVG Icons */
.qodef-svg--close-modal {
    fill: currentColor;
    stroke: none;
}

.qodef-svg--facebook-modal,
.qodef-svg--google-modal,
.qodef-svg--twitter-modal {
    fill: currentColor;
    stroke: none;
}

.notification-card {
    display: flex;
    background: #fff;
    border-left: 4px solid #ef4444;
    /* red accent */
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.1s;
}

.notification-card:hover {
    transform: translateY(-2px);
}

.notification-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.notification-icon svg {
    width: 20px;
    height: 20px;
    color: #b91c1c;
}

.notification-content {
    flex: 1;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.9rem;
    color: #111827;
}

.notification-body {
    margin-top: 4px;
    font-size: 0.85rem;
    color: #4b5563;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.notification-body .command,
.notification-body .type {
    background: #fef2f2;
    color: #b91c1c;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}


/* --- User Profile Component --- */
.user-profile {
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(126, 142, 177, 0.12);
    animation: fadeUp 1s;
}

.user-profile.compact .up-main-info {
    bottom: 35px;
}

.user-profile.compact .up-head-w .up-social a {
    font-size: 20px;
}

.user-profile.compact .up-header {
    font-size: 1.5rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.user-profile.compact .up-sub-header {
    font-size: 0.81rem;
}

/* --- Header Section --- */
.up-head-w {
    background-size: cover;
    background-position: center center;
    position: relative;
    color: #fff;
    border-radius: 6px 6px 0 0;
}

.up-head-w::before {
    z-index: 1;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.2), 70%, rgba(0, 0, 0, 0.5));
}

.up-head-w .decor {
    position: absolute;
    bottom: -1px;
    right: 0;
    max-width: 100%;
    z-index: 3;
}

.up-head-w .decor .decor-path {
    fill: #fff;
}

.up-head-w .up-social {
    position: absolute;
    top: 15px;
    right: 25px;
    z-index: 5;
}

.up-head-w .up-social a {
    color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    font-size: 30px;
    margin-left: 10px;
    text-decoration: none;
}

.up-head-w .up-social a:hover {
    color: #fff;
}

/* --- Main Info --- */
.up-main-info {
    padding: 40% 5% 5%;
    position: relative;
    z-index: 4;
}

.up-header {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 3.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 10px;
}

.up-sub-header {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.8);
}

/* --- Controls Section --- */
.up-controls {
    padding: 20px 5%;
    z-index: 10;
}

/* --- Stats & Tabs --- */
.up-contents {
    padding: 1rem 2rem;
}

.el-tablo {
    display: block;
    text-align: center;
    padding: 1rem 10px;
}

.el-tablo .value {
    font-size: 2.43rem;
    font-weight: 600;
    font-family: "Hind Guntur", "Lato", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #3E4B5B;
}

.el-tablo .label {
    font-size: 0.63rem;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

/* --- Progress Bars --- */
.os-progress-bar {
    margin-bottom: 1rem;
}

.os-progress-bar .bar-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.os-progress-bar .bar-labels span {
    font-size: 0.72rem;
}

.os-progress-bar .bar-level-1,
.os-progress-bar .bar-level-3 {
    border-radius: 12px;
    height: 6px;
}

.os-progress-bar.primary .bar-level-1 {
    background-color: #F2F2F2;
}

.os-progress-bar.primary .bar-level-3 {
    background-color: #0362c6;
}

/* --- Premium Ribbon --- */
.ribbon1 {
    position: absolute;
    top: -6.1px;
    right: 10px;
    z-index: 10;
}

.ribbon1 span {
    display: block;
    padding: 6px 4px 0;
    border-top-right-radius: 6px;
    width: 60px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    background: orange;
    position: relative;
}

.ribbon1 span::before,
.ribbon1 span::after {
    position: absolute;
    content: "";
}

.ribbon1 span::before {
    height: 6px;
    width: 4px;
    left: -4px;
    top: 0;
    background: orange;
}

.ribbon1 span::after {
    height: 6px;
    width: 6px;
    left: -6px;
    top: 0;
    border-radius: 8px 8px 0 0;
    background: orange;
}

.ribbon1.rib1-primary::after {
    border-top-color: orange;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: 0.375rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.btn-gray {
    background-color: #f9f9f9;
    color: #000;
}

.btn-gray:hover {
    background-color: #e9e9e9;
}

.btn-danger {
    background-color: #dc2626 !important;
    color: #fff !important;
}

.btn-danger:hover {
    background-color: #b91c1c;
}

/* --- Badges --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
}

.badge-success {
    background-color: #d1fae5;
    color: #047857;
}

.badge-pill {
    padding-right: 0.6em;
    padding-left: 0.6em;
    border-radius: 10rem;
}

/* --- Layout Utilities --- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

.col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
    padding-right: 12px;
    padding-left: 12px;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

.w-full {
    width: 100%;
}

.ml-auto {
    margin-left: auto;
}

.ml-7 {
    margin-left: 1.75rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-5 {
    margin-top: 4.5rem;
}

.m-b {
    margin-bottom: 1rem;
}

.b-r {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.grid {
    display: grid;
}

.justify-center {
    justify-content: center;
}

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

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

.text-white {
    color: #fff;
}

/* --- Refactored: im-* classes (was qodef-*) --- */
.im-m-content-inner {
    margin-top: 90px;
}

.im-m-content-inner.im--profile {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.im-m-text-wrapper {
    width: 100%;
}

.im-m-text-wrapper>.im-m-text {
    display: flex;
    align-items: flex-start;
    margin: 12px 0;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.im-m-text-wrapper>.im-m-text:last-child {
    border-bottom: none;
}

.im-m-text.im--description .im-m-text-value {
    max-width: 420px;
}

.im-m-text-label {
    flex-shrink: 0;
    margin-right: 10px;
    width: 22%;
    color: rgba(0, 0, 0, 0.6);
}

.im-m-text-value {
    margin-left: auto;
    text-align: right;
}

.im-m-text-value a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease-out;
}

.im-m-text-value a:hover {
    color: #124599;
}

.im-section-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
    vertical-align: top;
    margin: 25px 0;
}

.im-section-title .im-title-icon {
    flex-shrink: 0;
    margin-right: 10px;
    max-width: 20px;
    color: #124599;
}

.im-title-label {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: #000;
}

/* --- Card Style --- */
.card-style {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}

/* --- Stars --- */
.gold-star {
    color: gold;
    font-size: 2rem;
    padding: 5px;
}

/* --- Value Pair --- */
.value-pair {
    display: inline-block;
}

.value-pair .label {
    color: rgba(0, 0, 0, 0.4);
    font-size: 0.63rem;
    text-transform: uppercase;
    display: inline-block;
}

.value-pair .value {
    display: inline-block;
    font-size: 0.63rem;
    text-transform: uppercase;
}

/* --- Modal/Dialog --- */
#deleteProfile {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: rgba(107, 114, 128, 0.75);
    z-index: 999;
    padding: 30px;
}

#deleteProfile .dialog-content {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 32rem;
    width: 100%;
    overflow: hidden;
}

#deleteProfile .dialog-header {
    display: flex;
    padding: 1.25rem;
}

#deleteProfile .dialog-icon {
    background-color: #fee2e2;
    color: #dc2626;
    border-radius: 9999px;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

#deleteProfile .dialog-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-top: 10px;
}

#deleteProfile .dialog-body {
    padding: 0 1.25rem 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

#deleteProfile .dialog-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: #f9fafb;
}

/* --- Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media only screen and (max-width: 1440px) {
    .im-m-text-label {
        width: 30%;
    }
}

@media only screen and (max-width: 1024px) {
    .im-m-text-label {
        width: 40%;
    }

    .im-m-text.im--description .im-m-text-value {
        max-width: initial;
    }
}

@media only screen and (max-width: 768px) {
    .im-m-content-inner.im--profile {
        flex-wrap: wrap;
    }

    .im-m-text-wrapper>.im-m-text {
        flex-direction: column;
    }

    .im-m-text-label {
        width: 100%;
        margin-bottom: 5px;
    }

    .ml-auto.text-right {
        flex-direction: column;
        align-items: stretch;
    }

    .ml-auto.text-right a.btn {
        width: 100%;
        text-align: center;
    }

    .ml-auto.text-right a.btn+a.btn {
        margin-top: 8px;
    }
}

@media (max-width: 640px) {
    #deleteProfile .dialog-content {
        margin: 1rem;
    }

    #deleteProfile .dialog-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 576px) {
    .col-sm-6 {
        width: 100%;
    }

    .b-r {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
}



.dashboard-container {
    padding: 40px 0px;
}

/* Header */
.page-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.page-title {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}



/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    padding: 6px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    width: fit-content;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    background: transparent;
}

.quick-action:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.6);
}

.quick-action.active {
    background: white;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.quick-action i {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Main Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    align-items: start;
}

/* Profile Card */
.profile-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.profile-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Cover */
.profile-cover {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #8b9dc3 0%, #6b7b8f 100%);
    background-size: cover;
    background-position: center;
}

.profile-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(45, 55, 72, 0.6) 100%);
}

/* Premium Badge */
.premium-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--premium);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    backdrop-filter: blur(8px);
}

.premium-badge::before {
    content: '◆';
    font-size: 0.5rem;
}

/* Social Links */
.social-links {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.social-link {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8125rem;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-1px);
}

/* Profile Info */
.profile-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: white;
    z-index: 5;
}

.profile-name {
    font-size: 1.625rem;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.profile-role {
    font-size: 0.8125rem;
    opacity: 0.85;
    font-weight: 400;
}

/* Wave */
.wave-decoration {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Profile Body */
.profile-body {
    padding: 24px;
}

/* Status */
.status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid var(--success);
    opacity: 0.4;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.last-activity {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-medium);
}

.btn-upgrade {
    background: var(--premium);
    color: white;
}

.btn-upgrade:hover {
    background: #a67c52;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 149, 106, 0.25);
}

.btn-danger {
    background: transparent;
    color: var(--danger);
    border: 1px solid var(--border-light);
}

.btn-danger:hover {
    background: var(--danger-light);
    border-color: var(--danger);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.stat-card:hover {
    background: var(--primary-light);
    border-color: var(--border-light);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Rating */
.rating-section {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f9f7f4 0%, #f5f2ed 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--accent-light);
}

.stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.star {
    color: var(--warning);
    font-size: 1.125rem;
}

.rating-text {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Progress Section */
.progress-section {
    margin-top: 20px;
}

.section-title {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 16px;
}

.progress-item {
    margin-bottom: 14px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.progress-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.progress-value {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: 12px;
}

.progress-bar {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease;
}

.progress-fill.blue {
    background: var(--primary);
}

.progress-fill.green {
    background: var(--success);
}

.progress-fill.orange {
    background: var(--accent);
}

.progress-fill.red {
    background: var(--danger);
}

/* Right Column */
.info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: box-shadow var(--transition-base);
}

.info-card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.card-body {
    padding: 0 24px 24px;
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    margin-bottom: 2px;
}

.info-item:hover {
    background: var(--bg-secondary);
}

.info-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.info-label i {
    width: 18px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.info-value {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: right;
}

.info-value a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.info-value a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.info-value.promo {
    color: var(--premium);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-value.activation a {
    color: var(--danger);
    font-weight: 500;
    cursor: pointer;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.info-item.alert {
    background: var(--danger-light);
    margin-top: 8px;
}

.info-item.alert .info-label {
    color: var(--danger);
}

.info-item.alert i {
    color: var(--danger);
}

/* Description */
.description-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-secondary);
    padding: 0 24px 24px;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .dashboard-container {
        padding: 24px 16px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .quick-actions {
        width: 100%;
        overflow-x: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .btn {
        flex: 1;
        min-width: 100px;
    }
}

/* ============================================
   PROPERTY ITEM STYLES (My Ads/Properties)
   Extracted from your existing CSS
   ============================================ */

/* Main Item Container */
.qodef-m-property-item {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: var(--surface, #ffffff);
    border-bottom: 1px solid var(--border, #e5e7eb);
    transition: all var(--transition-fast, 150ms ease);
}

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

.qodef-m-property-item:hover {
    background: #f9fafb;
}

/* Content Wrapper */
.qodef-m-property-item .qodef-e-content {
    align-items: center;
    display: flex;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive Card Layout */
.qodef-e-content.responsive-card {
    width: 100%;
    box-sizing: border-box;
}

/* Image Section */
.qodef-m-property-item .qodef-e-image {
    flex-shrink: 0;
    position: relative;
    display: inline-block;
}

.qodef-m-property-item .qodef-e-image img {
    border-radius: 5px;
    display: block;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* Expired Overlay */
.expired-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Heading Section */
.qodef-e-heading {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    flex: 1;
}

.qodef-e-heading>* {
    margin: 0;
}

/* Title Row */
.align-vertically {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.qodef-e-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-family: Poppins, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2222222222em;
    margin: 25px 0;
}

.qodef-e-title a {
    flex-shrink: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease-out;
}

.qodef-e-title a:hover {
    color: var(--qode-main-color-two, #124599);
}

/* Separator */
.qodef-m-separator:after {
    color: #e8e8e8;
    content: "|";
}

/* View Count */
.qodef-m-view-count {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: inherit;
}

.qodef-m-view-count-icon {
    display: inline-flex;
    align-items: center;
}

/* Rating Stars */
.qodef-review-rating {
    display: flex;
}

.qodef-comments-ratings {
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    line-height: 1;
    display: flex;
    align-items: center;
}

.qodef-comments-ratings .qodef-m-inner {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.qodef-m-star {
    color: gold;
}

.qodef-m-star svg {
    display: inline-block;
    margin-right: 4px;
    width: 12px;
    height: auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 0.8;
}

.qodef-m-star.qodef--active {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
}

.qodef-m-star.qodef--active svg {
    fill: currentColor;
}

/* Dropdown Actions */
.dropdown.notification-list {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--surface, #ffffff);
    border-radius: var(--radius-md, 12px);
    box-shadow: var(--shadow-xl, 0 20px 25px rgba(0, 0, 0, 0.1));
    border: 1px solid var(--border, #e5e7eb);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast, 150ms ease);
    z-index: 100;
    padding: 4px;
    width: max-content !important;
    min-width: 0 !important;
}

.dropdown-menu.show,
.notification-list:hover .dropdown-menu,
.notification-list.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-primary, #1f2937);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm, 6px);
    transition: all var(--transition-fast, 150ms ease);
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    justify-content: left;
}

.dropdown-item:hover {
    background: var(--primary, #f9c23c);
    color: white;
}

.dropdown-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.dropdown-content {
    border-radius: var(--radius-md, 12px);
    border: 1px solid transparent;
    background: white;
    padding: 0.5rem;
    box-shadow: 0px 3px 10px #00000017;
}

/* Price & Description Row */
.top-row-container {
    display: grid;
    margin-bottom: 10px;
    gap: 30px;
}

@media (min-width: 768px) {
    .top-row-container {
        display: flex;
    }
}

.two-line-truncate {
    line-height: 1.5em;
    height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    min-width: 175px;
}

@media (min-width: 768px) {
    .price-container {
        margin-left: auto;
    }
}

.p_header {
    color: var(--qode-main-color-two, #124599);
    font-size: 20px;
    font-weight: 700;
}

/* Location & Buttons Row */
.location-buttons-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.qodef-e-author {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 14px;
    color: var(--text-secondary, #6b7280);
}

/* Published Toggle */
.published-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.published-label input[type="checkbox"] {
    vertical-align: middle;
    width: 16px;
    height: 16px;
    accent-color: var(--primary, #f9c23c);
    cursor: pointer;
}

.published-text {
    font-size: 13px;
    color: var(--text-secondary, #6b7280);
}

/* Gauge/Completion */
.imobiliaa-gauge {
    height: 80px;
    width: 100%;
    display: grid;
    place-items: center;
    transform: scale(0.3);
    transform-origin: center;
}

analog-gauge {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    min-height: 100px;
    line-height: 0;
    transition: transform 0.5s ease;
}

.battery {
    --analog-gauge-bdw: 7.5cqi;
    --analog-gauge-label-ps: end center;
    --analog-gauge-segments: 3;
    --analog-gauge-bg: red 0deg, orange 80deg, yellow 140deg, lightgreen 190deg, green var(--analog-gauge-range), #0000 0 var(--analog-gauge-range);
}

/* Utility Classes */
.ml-auto {
    margin-left: auto !important;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-5 {
    margin-right: 1.25rem;
}

.flex {
    display: flex;
}

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

.justify-start {
    justify-content: flex-start !important;
}


.flex-1 {
    flex: 1 1 0%;
}


.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.color-red {
    color: #ef4444;
}

.bg-white {
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.rounded-md {
    border-radius: 0.375rem;
}

.border-transparent {
    border-color: transparent;
}

.stroke-\[1\] {
    stroke-width: 1;
}

.fill-slate-400\/70 {
    fill: #94a3b8b3;
}

.stroke-slate-400\/70 {
    stroke: #94a3b8b3;
}

.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}

.duration-300 {
    transition-duration: 0.3s;
}

.ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.hover\:bg-slate-200\/60:hover {
    background-color: #e2e8f099;
}

/* Responsive Styles */
@media only screen and (max-width: 680px) {

    .qodef-m-property-item,
    .qodef-m-property-item .qodef-e-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .qodef-m-property-item .qodef-e-image {
        margin-bottom: 18px;
        width: 100%;
    }

    .qodef-m-property-item .qodef-e-image img {
        width: 100%;
    }

    .align-vertically {
        flex-direction: column;
        align-items: flex-start;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 10px;
    }

    .align-vertically h6 {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .align-vertically .qodef-m-separator {
        display: none;
    }

    .dropdown-menu {
        width: 100% !important;
    }

    .qodef-e-title a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
        line-height: 1.2em;
        max-height: 2.4em;
    }

    .price-container {
        margin-left: 0;
        align-items: flex-start;
        width: 100%;
    }

    .top-row-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    .qodef-e-image,
    .qodef-e-heading {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .qodef-e-image img {
        width: 100%;
    }
}

@media (min-width: 900px) {
    .qodef-e-image img {
        width: 250px;
        max-width: none;
    }
}

/* ============================================
   GAUGE STYLES - Fixed for analog-gauge element
   ============================================ */

.imobiliaa-gauge {
    height: 80px;
    width: 100%;
    display: grid;
    place-items: center;
    /* Removed: transform: scale(0.3) */
    /* Removed: transform-origin: center */
}

analog-gauge {
    width: 120px;
    /* Fixed width instead of 100% */
    height: 80px;
    /* Fixed height */
    max-width: none;
    /* Remove max-width constraint */
    aspect-ratio: auto;
    /* Remove square aspect ratio */
    margin: 0;
    padding: 0;
    display: block;
    /* Ensure block display */
    line-height: 0;
    transition: transform 0.5s ease;
}

/* Battery theme with proper sizing */
.battery {
    --analog-gauge-bdw: 6px;
    --analog-gauge-label-ps: end center;
    --analog-gauge-segments: 3;
    --analog-gauge-bg:
        #ef4444 0deg,
        /* red - low */
        #f97316 60deg,
        /* orange */
        #eab308 120deg,
        /* yellow */
        #22c55e 180deg,
        /* green */
        #16a34a var(--analog-gauge-range),
        transparent 0 var(--analog-gauge-range);

    /* Force visible dimensions */
    width: 120px !important;
    height: 80px !important;
    min-width: 120px;
    min-height: 80px;
    display: block;
    position: relative;
}

/* ============================================
   NOTIFICATION TABLE - MODERN DESIGN
   ============================================ */

.qodef-real-estate-profile-my-notifications {
    background: var(--surface, #ffffff);
    border-radius: var(--radius-lg, 16px);
    padding: 24px;
}

/* Toolbar */
.notification-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-secondary, #f8fafc);
    border-radius: var(--radius-md, 12px);
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-refresh {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--surface, #ffffff);
    border-radius: var(--radius-sm, 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary, #64748b);
    cursor: pointer;
    transition: all var(--transition-fast, 150ms);
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
}

.btn-refresh:hover {
    color: var(--primary, #f9c23c);
    transform: rotate(180deg);
}

.pagination-info {
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    font-weight: 500;
}

.btn-nav {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--surface, #ffffff);
    border-radius: var(--radius-sm, 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary, #64748b);
    cursor: pointer;
    transition: all var(--transition-fast, 150ms);
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
}

.btn-nav:hover:not(:disabled) {
    background: var(--primary, #f9c23c);
    color: var(--text-primary, #1f2937);
}

.btn-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-filter {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--surface, #ffffff);
    border-radius: var(--radius-sm, 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary, #64748b);
    cursor: pointer;
    transition: all var(--transition-fast, 150ms);
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
    margin-left: 8px;
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--primary, #f9c23c);
    color: var(--text-primary, #1f2937);
}

/* Filter Dropdown */
.filter-dropdown .dropdown-content {
    padding: 16px;
    min-width: 220px;
}

.filter-section {
    margin-bottom: 16px;
}

.filter-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius-sm, 8px);
    background: var(--surface, #ffffff);
    font-size: 14px;
    color: var(--text-primary, #1f2937);
    cursor: pointer;
    transition: all var(--transition-fast, 150ms);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary, #f9c23c);
    box-shadow: 0 0 0 3px rgba(249, 194, 60, 0.15);
}

.filter-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.filter-actions .btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius-sm, 8px);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast, 150ms);
    border: none;
    text-align: center;
}

.filter-actions .btn-secondary {
    background: var(--bg-secondary, #f1f5f9);
    color: var(--text-secondary, #64748b);
}

.filter-actions .btn-secondary:hover {
    background: var(--border, #e2e8f0);
}

.filter-actions .btn-primary {
    background: var(--primary, #f9c23c);
    color: var(--text-primary, #1f2937);
}

.filter-actions .btn-primary:hover {
    background: var(--primary-hover, #e5b030);
}

/* Table Container */
.notification-table-container {
    background: var(--surface, #ffffff);
    border-radius: var(--radius-md, 12px);
    border: 1px solid var(--border, #e2e8f0);
    overflow: hidden;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
}

.table-wrapper {
    overflow-x: auto;
}

/* Table Styles */
.notification-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.notification-table thead {
    background: var(--bg-secondary, #f8fafc);
}

.notification-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted, #94a3b8);
    border-bottom: 1px solid var(--border, #e2e8f0);
    white-space: nowrap;
}

.notification-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light, #f1f5f9);
    vertical-align: middle;
}

.notification-table tbody tr {
    transition: background var(--transition-fast, 150ms);
}

.notification-table tbody tr:hover {
    background: var(--bg-secondary, #f8fafc);
}

.notification-table tbody tr.critical {
    background: #fef2f2;
    border-left: 3px solid #ef4444;
}

.notification-table tbody tr.critical:hover {
    background: #fee2e2;
}

/* Column Specifics */
.col-status {
    width: 60px;
    text-align: center;
}

.col-date {
    width: 140px;
}

.col-location {
    min-width: 200px;
}

.col-device {
    min-width: 150px;
}

.col-action {
    min-width: 120px;
}

.col-menu {
    width: 60px;
    text-align: center;
}

/* Status Icon */
.status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Date */
.date-text {
    font-family: 'SF Mono', monospace;
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    white-space: nowrap;
}

/* Location Cell */
.location-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ip-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    background: var(--bg-secondary, #f1f5f9);
    border-radius: 20px;
    font-family: 'SF Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary, #64748b);
}

.location-text {
    font-size: 13px;
    color: var(--text-primary, #1f2937);
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-text::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

/* Device */
.device-text {
    font-size: 13px;
    color: var(--text-secondary, #64748b);
}

/* Action Code */
.action-code {
    display: inline-flex;
    padding: 6px 12px;
    background: var(--bg-secondary, #f1f5f9);
    border-radius: 6px;
    font-family: 'SF Mono', monospace;
    font-size: 12px;
    color: var(--text-secondary, #64748b);
    border: 1px solid var(--border, #e2e8f0);
}

/* Row Dropdown */
.btn-menu {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm, 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #94a3b8);
    cursor: pointer;
    transition: all var(--transition-fast, 150ms);
}

.btn-menu:hover {
    background: var(--bg-secondary, #f1f5f9);
    color: var(--text-primary, #1f2937);
}

.row-dropdown .dropdown-content {
    min-width: 160px;
}

.row-dropdown .dropdown-item {
    padding: 10px 14px;
    font-size: 13px;
}

.row-dropdown .dropdown-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.row-dropdown .dropdown-item.text-danger {
    color: #ef4444;
}

.row-dropdown .dropdown-item.text-danger:hover {
    background: #fef2f2;
}

/* Footer Bar */
.notification-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    flex-wrap: wrap;
    gap: 12px;
}

.storage-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.manage-link {
    color: var(--primary, #f9c23c);
    font-weight: 600;
    text-decoration: none;
}

.manage-link:hover {
    text-decoration: underline;
}

.last-activity {
    font-family: 'SF Mono', monospace;
}

/* Empty State */
.notification-empty {
    text-align: center;
    padding: 60px 20px;
}

.notification-empty svg {
    width: 64px;
    height: 64px;
    color: var(--text-muted, #94a3b8);
    opacity: 0.5;
    margin-bottom: 16px;
}

.notification-empty p {
    font-size: 16px;
    color: var(--text-secondary, #64748b);
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .notification-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-left,
    .toolbar-right {
        justify-content: space-between;
    }

    .notification-table th,
    .notification-table td {
        padding: 12px;
    }

    .col-device,
    .col-action {
        display: none;
    }

    .notification-footer-bar {
        flex-direction: column;
        text-align: center;
    }
}

/* News Section */
.news-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #fef9f3 100%);
}

.news-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Section Header */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.news-header-left {
    max-width: 500px;
}

.news-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 204, 65, 0.15);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #b45309;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.news-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.news-title span {
    color: #d97706;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-view-all:hover {
    border-color: #ffcc41;
    color: #d97706;
    background: rgba(255, 204, 65, 0.05);
}

/* News Grid - Featured + Side Cards */
.news-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

/* Featured Article */
.news-featured {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.news-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.news-featured-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-featured:hover .news-featured-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ffcc41 0%, #f59e0b 100%);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-featured-content {
    padding: 28px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 12px;
}

.news-featured-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.news-featured:hover .news-featured-title a {
    color: #d97706;
}

.news-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #d97706;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
}

.news-read-more:hover {
    gap: 10px;
}

/* Side Cards Stack */
.news-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.news-card-image {
    width: 120px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card-category {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 204, 65, 0.1);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #b45309;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    width: fit-content;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.news-card:hover .news-card-title a {
    color: #d97706;
}

.news-card-date {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Newsletter CTA */
.newsletter-cta {
    margin-top: 48px;
    padding: 40px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-input {
    width: 280px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    border-color: #ffcc41;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, #ffcc41 0%, #f59e0b 100%);
    border: none;
    border-radius: 8px;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 204, 65, 0.4);
}

/* Responsive */
@media (max-width: 968px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .newsletter-cta {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    .newsletter-input {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .news-card {
        flex-direction: column;
    }

    .news-card-image {
        width: 100%;
        height: 180px;
    }

    .news-title {
        font-size: 1.75rem;
    }
}

/* Hero Section - Compact height */
.hero-futuristic {
    position: relative;
    height: 720px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: linear-gradient(to bottom, #1e293b 0%, #334155 50%, #475569 100%);
}

/* AI House Background */
.ai-house-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
    background-image: url('/images/hero_section_bg.png');
    background-size: cover;
    background-position: center right;
}

/* Hero Content - Fixed 1000px width */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    width: 1000px;
    padding: 32px 48px;
    /* margin-right: auto; */
    margin-top: 100px;
}

/* Badge */
.hero-badge-futuristic {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 204, 65, 0.1);
    border: 1px solid rgba(255, 204, 65, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    color: #ffcc41;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

.badge-icon {
    width: 12px;
    height: 12px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Title */
.hero-title-futuristic {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #ffcc41 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.1s both;
    padding-top: 16px;
}

.hero-title-futuristic span {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* Subtitle */
.hero-subtitle-futuristic {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    margin-top: 16px;
    min-height: 22px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    max-width: 640px;
}

.typing-text {
    border-right: 2px solid #ffcc41;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        border-color: #ffcc41;
    }

    51%,
    100% {
        border-color: transparent;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Entry Funnel */
.entry-funnel {
    background: rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    width: 100%;
    padding-top: 64px;
}

/* 3 Columns Layout */
.funnel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.funnel-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px;
}

.funnel-section-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.funnel-section-title::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #ffcc41;
    border-radius: 50%;
}

/* Property Actions */
.funnel-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.funnel-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: all 0.25s ease;
    font-size: 0.85rem;
}

.funnel-action:hover {
    background: rgba(255, 204, 65, 0.1);
    border-color: rgba(255, 204, 65, 0.3);
    transform: translateX(4px);
    color: #ffcc41;
    /* make text visible on hover */
}

.funnel-action-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.funnel-action-text {
    font-weight: 500;
}

/* Services Tags */
.funnel-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.funnel-service-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.25s ease;
}

.funnel-service-tag:hover {
    background: rgba(255, 204, 65, 0.1);
    border-color: rgba(255, 204, 65, 0.3);
    color: #ffcc41;
}

/* Digital Services */
.funnel-digital {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.funnel-digital-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: all 0.25s ease;
    font-size: 0.8rem;
}

.funnel-digital-item:hover {
    background: rgba(255, 204, 65, 0.1);
    border-color: rgba(255, 204, 65, 0.3);
    transform: translateX(4px);
}

.funnel-digital-icon {
    font-size: 1rem;
    width: 24px;
    text-align: center;
}

.funnel-digital-text {
    font-weight: 500;
    line-height: 1.3;
}

/* AI Match CTA */
.funnel-cta {
    display: flex;
    justify-content: center;
}

.btn-ai-match {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #ffcc41 0%, #f59e0b 100%);
    border-radius: 50px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 204, 65, 0.25);
}

.btn-ai-match:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 204, 65, 0.35);
}

.btn-ai-match-icon {
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
}

.btn-ai-match-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.btn-ai-match-text strong {
    font-size: 0.95rem;
    font-weight: 700;
}

.btn-ai-match-text span {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
}

.btn-ai-match-arrow {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-ai-match:hover .btn-ai-match-arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1080px) {
    .hero-content {
        width: 100%;
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .hero-futuristic {
        height: auto;
        min-height: 520px;
        padding: 40px 0;
    }

    .ai-house-bg {
        opacity: 0.3;
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
        background-position: center;
    }

    .hero-content {
        padding: 32px 24px;
    }

    .hero-title-futuristic,
    .hero-subtitle-futuristic {
        max-width: 100%;
    }

    .funnel-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .funnel-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .funnel-action {
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .funnel-actions {
        flex-direction: column;
    }

    .funnel-action {
        flex: none;
    }

    .btn-ai-match {
        width: 100%;
        justify-content: center;
    }
}

.news-card {
    display: flex !important;
    gap: 20px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s !important;
    border: 1px solid transparent !important;
}

.news-card:hover {
    border-color: rgba(255, 204, 65, 0.3) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1) !important;
    transform: translateX(4px) translateY(-4px) !important;
}

* {
    pointer-events: auto !important;
}

/* ===== GLOBAL RESET IMPROVEMENTS ===== */
section {
    position: relative;
}

section+section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3 {
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* ===== HERO PRIORITY ===== */
.hero-futuristic {
    margin-bottom: 40px;
    z-index: 10;
}

/* ===== RECOMMENDATIONS EMPHASIS ===== */
/* change selector if your class differs */
.recommendations {
    transform: translateY(-40px);
    position: relative;
    z-index: 20;
}

/* ===== DE-EMPHASIZE LOWER SECTIONS ===== */
section:not(.hero-futuristic):not(.recommendations) {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

section:not(.hero-futuristic):not(.recommendations):hover {
    opacity: 1;
}

/* ===== CARD SYSTEM (UNIFY UI) ===== */
.card,
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.card:hover,
.service-card:hover {
    transform: translateY(-5px);
    border-color: #ffcc41;
    box-shadow: 0 10px 30px rgba(255, 204, 65, 0.15);
}

/* ===== BUTTON CONSISTENCY ===== */
button,
.btn {
    border-radius: 30px;
    transition: all 0.3s ease;
}

button:hover,
.btn:hover {
    transform: translateY(-2px);
}

/* ===== GRID SPACING ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.row,
.grid {
    gap: 20px;
}

/* ===== MOBILE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }

    .recommendations {
        transform: translateY(-20px);
    }

    h2 {
        font-size: 1.6rem;
    }
}

/* ===== GLOBAL OVERFLOW KILL ===== */
body {
    overflow-x: hidden;
}

/* ===== AI SECTION ===== */
#aiRealEstateServicesTitleAI {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 0 16px;
    box-sizing: border-box;
}

/* ===== AI GRID ===== */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    width: 100%;
}

/* CRITICAL: prevent children from breaking grid */
.ai-grid>* {
    min-width: 0;
    width: 100%;
}

/* ===== AI CARDS ===== */
.ai-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


/* fix images inside property cards */
.property-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* fix inner layout (common bug: flex row overflow) */
.property-card * {
    max-width: 100%;
    min-width: 0;
}

/* ===== FIX FLEX ROWS THAT DON'T WRAP ===== */
/* .row,
.flex {
    flex-wrap: wrap;
} */

/* ===== MOBILE FORCE FIX ===== */
@media (max-width: 768px) {

    /* FORCE SINGLE COLUMN */
    .ai-grid {
        display: block;
    }

    .ai-grid>* {
        width: 100%;
        margin-bottom: 16px;
    }

    /* PROPERTY CARDS FULL WIDTH */
    .property-card {
        width: 100% !important;
        margin: 0 auto 16px;
    }

    /* FIX BUTTONS / INLINE ELEMENTS */
    .property-card a,
    .property-card button {
        width: 100%;
        text-align: center;
    }
}

/* ===== CONTAINER FIX ===== */
.listings-grid,
.ai-grid {
    overflow-x: hidden;
    /* prevent scroll */
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

/* ===== FLEX CHILDREN WRAP ===== */
.property-card .row,
.property-card .flex {
    flex-wrap: wrap;
}

/* ===== MOBILE OVERRIDE ===== */
@media (max-width: 768px) {

    .listings-grid,
    .ai-grid {
        display: block;
        /* single column */
    }

    .property-card {
        width: 100% !important;
        margin: 0 auto 16px;
        padding: 12px;
    }
}


.dashboard-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl);
}

.page-header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.page-title-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.page-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-left: calc(48px + var(--space-md));
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-card.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.stat-icon.open {
    background: var(--status-open-bg);
    color: #B88A5E;
}

.stat-icon.progress {
    background: var(--status-in-progress-bg);
    color: var(--status-in-progress);
}

.stat-icon.resolved {
    background: var(--status-resolved-bg);
    color: var(--success);
}

.stat-icon.closed {
    background: var(--status-closed-bg);
    color: var(--status-closed);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-label-small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Main Card */
.main-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.card-header-custom {
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-warm) 100%);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.section-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}

/* Toolbar */
.toolbar {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
}

.toolbar-btn:hover {
    background: var(--surface-warm);
    border-color: var(--secondary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

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

.toolbar-btn i {
    font-size: 0.875rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: var(--space-sm) var(--space-md) var(--space-sm) 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    width: 240px;
    background: var(--surface);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.search-box i {
    position: absolute;
    left: var(--space-md);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.pagination-info {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 0 var(--space-md);
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    padding: 0 var(--space-xl) var(--space-xl);
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: var(--space-lg);
}

.data-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.data-table th {
    background: var(--surface-warm);
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.data-table th:first-child {
    border-top-left-radius: var(--radius-md);
}

.data-table th:last-child {
    border-top-right-radius: var(--radius-md);
}

.data-table td {
    padding: var(--space-lg);
    border-bottom: 1px dashed var(--border);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    vertical-align: middle;
}

.data-table tbody tr {
    transition: all var(--transition-fast);
}

.data-table tbody tr:hover {
    background: var(--surface-warm);
    transform: scale(1.002);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: var(--radius-md);
}

.data-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: var(--radius-md);
}

/* Cell Content */
.ticket-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-family: monospace;
    font-size: 0.875rem;
}

.ticket-link:hover {
    color: var(--primary-dark);
    transform: translateX(2px);
}

.ticket-link i {
    font-size: 0.75rem;
}

.date-cell {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Ticket Cell */
.ticket-cell {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.ticket-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ticket-icon.technical {
    background: #F3E8FF;
    color: #9333EA;
}

.ticket-icon.billing {
    background: #FEF3C7;
    color: #D97706;
}

.ticket-icon.general {
    background: #DBEAFE;
    color: #2563EB;
}

.ticket-icon.feature {
    background: #D1FAE5;
    color: #059669;
}

.ticket-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.ticket-subject {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.4;
}

.ticket-preview {
    font-size: 0.8125rem;
    color: var(--text-muted);
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Label */
.category-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Status & Priority Badges */
.status-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.badge-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
}

.status-badge.open {
    background: var(--status-open-bg);
    color: #B88A5E;
}

.status-badge.in-progress {
    background: var(--status-in-progress-bg);
    color: #5B7C8C;
}

.status-badge.resolved {
    background: var(--status-resolved-bg);
    color: var(--success);
}

.status-badge.closed {
    background: var(--status-closed-bg);
    color: var(--text-secondary);
}

.priority-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.priority-badge.high {
    background: var(--priority-high-bg);
    color: #B85450;
}

.priority-badge.medium {
    background: var(--priority-medium-bg);
    color: #B88A5E;
}

.priority-badge.low {
    background: var(--priority-low-bg);
    color: #5A8F6A;
}

.status-badge i {
    font-size: 0.75rem;
}

/* Agent Cell */
.agent-cell {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.agent-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--surface);
    box-shadow: var(--shadow-sm);
    background: var(--surface-warm);
}

.agent-info {
    display: flex;
    flex-direction: column;
}

.agent-name {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.agent-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.unassigned {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.875rem;
}

/* Dropdown Menu */
.action-dropdown {
    position: relative;
}

.dropdown-trigger {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dropdown-trigger:hover {
    background: var(--surface-warm);
    color: var(--text-primary);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 100;
    padding: var(--space-sm);
}

.action-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--text-muted);
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    background: var(--surface-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Messages Count */
.messages-count {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.messages-count i {
    font-size: 0.75rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-container {
        padding: var(--space-md);
    }

    .page-title {
        font-size: 1.25rem;
    }

    .page-subtitle {
        margin-left: 0;
        margin-top: var(--space-sm);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-header-custom {
        flex-direction: column;
        align-items: flex-start;
    }

    .toolbar {
        width: 100%;
        justify-content: space-between;
    }

    .search-box input {
        width: 100%;
    }

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

    .data-table th,
    .data-table td {
        padding: var(--space-md);
    }

    .ticket-cell {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .ticket-preview {
        max-width: 200px;
    }

    .status-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .agent-cell {
        flex-direction: column;
        align-items: flex-start;
    }
}









/* ============================================
   TICKET DASHBOARD - REFACTORED TO ORIGINAL DESIGN
   Uses: --primary: #F9C23C, --primary-dark: #1A1A2E, --secondary-blue: #3B5998
   ============================================ */


/* --- Page Header --- */
.page-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: -0.5px;
}

.page-title-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    box-shadow: 0 4px 6px rgba(249, 194, 60, 0.3);
}

.page-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-left: 64px;
    line-height: 1.6;
}

/* --- Stats Grid --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: all var(--transition-base);
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(249, 194, 60, 0.05) 0%, var(--surface) 100%);
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.open {
    background: #FEF3C7;
    color: #D97706;
}

.stat-icon.progress {
    background: #DBEAFE;
    color: var(--secondary-blue);
}

.stat-icon.resolved {
    background: #D1FAE5;
    color: var(--success);
}

.stat-icon.closed {
    background: #F3F4F6;
    color: var(--text-muted);
}

.stat-label-small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Main Card --- */
.main-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.card-header-custom {
    padding: 24px 32px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.section-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}

/* --- Toolbar --- */
.toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box svg {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-box input {
    padding: 10px 16px 10px 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    width: 240px;
    background: #F9FAFB;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 194, 60, 0.15);
    background: var(--surface);
}

.toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
}

.toolbar-btn:hover {
    background: #F3F4F6;
    border-color: var(--border);
    color: var(--text-primary);
}

.toolbar-btn.active {
    background: var(--primary);
    color: var(--primary-dark);
    border-color: var(--primary);
    box-shadow: 0 4px 6px rgba(249, 194, 60, 0.3);
}

.pagination-info {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 0 12px;
    font-weight: 500;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 6px rgba(249, 194, 60, 0.3);
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(249, 194, 60, 0.4);
}

/* --- Table --- */
.table-container {
    overflow-x: auto;
    padding: 0 32px 32px;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 24px;
    font-size: 0.875rem;
}

.data-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.data-table th {
    background: #F9FAFB;
    padding: 16px 20px;
    text-align: left;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.data-table th:first-child {
    border-top-left-radius: var(--radius-md);
}

.data-table th:last-child {
    border-top-right-radius: var(--radius-md);
}

.data-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    vertical-align: middle;
}

.data-table tbody tr {
    transition: all var(--transition-fast);
}

.data-table tbody tr:hover {
    background: #F9FAFB;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* --- Ticket Link --- */
.ticket-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-family: 'SF Mono', monospace;
    font-size: 0.875rem;
}

.ticket-link:hover {
    color: var(--secondary-blue-light);
    transform: translateX(2px);
}

.ticket-link svg {
    opacity: 0.6;
}

/* --- Ticket Cell --- */
.ticket-cell {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ticket-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ticket-icon.technical {
    background: #F3E8FF;
    color: #9333EA;
}

.ticket-icon.billing {
    background: #FEF3C7;
    color: #D97706;
}

.ticket-icon.general {
    background: #DBEAFE;
    color: var(--secondary-blue);
}

.ticket-icon.feature {
    background: #D1FAE5;
    color: var(--success);
}

.ticket-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ticket-subject {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.4;
}

.ticket-preview {
    font-size: 0.8125rem;
    color: var(--text-muted);
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.messages-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* --- Category --- */
.category-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: capitalize;
}

/* --- Agent --- */
.agent-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--surface);
    box-shadow: var(--shadow-sm);
    background: #F3F4F6;
}

.agent-info {
    display: flex;
    flex-direction: column;
}

.agent-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.agent-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.unassigned {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.875rem;
}

/* --- Priority Badge --- */
.priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-badge.high {
    background: #FEE2E2;
    color: #DC2626;
}

.priority-badge.medium {
    background: #FEF3C7;
    color: #D97706;
}

.priority-badge.low {
    background: #D1FAE5;
    color: var(--success);
}

/* --- Status --- */
.status-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.badge-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.open {
    background: #FEF3C7;
    color: #D97706;
}

.status-badge.in-progress {
    background: #DBEAFE;
    color: var(--secondary-blue);
}

.status-badge.resolved {
    background: #D1FAE5;
    color: var(--success);
}

.status-badge.closed {
    background: #F3F4F6;
    color: var(--text-muted);
}

/* --- Date --- */
.date-cell {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    font-size: 0.875rem;
}

/* --- Dropdown --- */
.action-dropdown {
    position: relative;
}

.dropdown-trigger {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dropdown-trigger:hover {
    background: #F3F4F6;
    color: var(--text-primary);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 100;
    padding: 6px;
}

.action-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: var(--primary);
    color: var(--primary-dark);
}

.dropdown-item.delete {
    color: var(--danger);
}

.dropdown-item.delete:hover {
    background: #FEE2E2;
    color: #DC2626;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.dropdown-item-form {
    margin: 0;
    padding: 0;
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--text-muted);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-header-custom {
        flex-direction: column;
        align-items: flex-start;
    }

    .toolbar {
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 24px 16px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-subtitle {
        margin-left: 0;
        margin-top: 8px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .data-table th,
    .data-table td {
        padding: 16px;
    }

    .ticket-cell {
        flex-direction: column;
        gap: 12px;
    }

    .status-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .agent-cell {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ============================================
   TICKET VIEW PAGE - Additional Styles
   Complements existing CSS file
   ============================================ */

/* Ticket Container Layout */
.ticket-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.ticket-container.user-view {
    margin-top: 24px;
}

.main-content.user-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Ticket Card Specifics */
.ticket-card {
    border: 1px solid var(--border);
}

.ticket-header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.ticket-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.ticket-subject {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.ticket-subtitle {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.ticket-subtitle span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticket-body {
    padding-top: 24px;
}

.ticket-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.section-title i {
    color: var(--primary);
}

.message-count {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Attachments */
.attachments-section {
    margin-bottom: 24px;
}

.attachments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.attachment-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.attachment-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.attachment-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.attachment-info {
    flex: 1;
    min-width: 0;
}

.attachment-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attachment-size {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.attachment-download-icon {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.attachment-card:hover .attachment-download-icon {
    color: var(--primary);
}

/* Conversation Section */
.conversation-section {
    margin-top: 24px;
}

/* Messages */
.message {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--surface);
    box-shadow: var(--shadow-sm);
}

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

.message-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.message-author {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.agent-role {
    font-size: 0.75rem;
    color: var(--secondary-blue);
    background: #DBEAFE;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

.message-bubble {
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.user-bubble {
    background: var(--primary-light);
    color: var(--text-primary);
    border: 1px solid rgba(249, 194, 60, 0.2);
}

.agent-bubble {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.message-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.message-attachment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.message-attachment:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

/* Empty Conversation */
.empty-conversation {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.empty-conversation i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-conversation p {
    font-size: 1rem;
    margin-bottom: 8px;
}

/* Composer Section */
.composer-section {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.composer-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.composer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.composer-info {
    flex: 1;
}

.composer-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.composer-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.composer-textarea {
    width: 100%;
    min-height: 150px;
    padding: 20px 24px;
    border: none;
    resize: vertical;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--surface);
    font-family: inherit;
}

.composer-textarea:focus {
    outline: none;
}

.composer-textarea::placeholder {
    color: var(--text-muted);
}

/* Dropzone */
.dropzone {
    margin: 0 24px 20px;
    padding: 24px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-secondary);
}

.dropzone:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.dropzone.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.dropzone-icon {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.dropzone-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.dropzone-text strong {
    color: var(--text-primary);
}

.dropzone-text small {
    display: block;
    margin-top: 6px;
}

/* Composer Toolbar */
.composer-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}

.toolbar-left {
    display: flex;
    gap: 8px;
}

.toolbar-right {
    display: flex;
    gap: 12px;
}

/* Sidebar Cards */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    border: 1px solid var(--border);
}

.sidebar-header {
    padding: 20px 20px 0;
}

.sidebar-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1rem;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sidebar-body {
    padding: 20px;
}

/* Status Timeline */
.status-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    position: relative;
    opacity: 0.5;
}

.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-step.completed,
.timeline-step.current {
    opacity: 1;
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
    z-index: 1;
}

.timeline-step.completed .step-icon {
    background: var(--success);
    color: white;
}

.timeline-step.current .step-icon {
    background: var(--primary);
    color: var(--primary-dark);
}

.step-info {
    flex: 1;
}

.step-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Agent Profile */
.agent-profile {
    text-align: center;
    padding: 8px;
}

.agent-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid var(--surface);
    box-shadow: var(--shadow-md);
}

.agent-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.agent-role {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.agent-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--success);
    font-weight: 500;
}

.agent-status .status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    position: relative;
}

.agent-status .status-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--success);
    animation: pulse 2s infinite;
}

/* Help Links */
.help-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.help-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.help-link:hover {
    background: var(--bg-secondary);
    color: var(--primary-dark);
}

.help-link i {
    width: 20px;
    color: var(--text-muted);
}

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

/* Article List */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.article-item:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.article-item span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-external-icon {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Premium Badge */
.premium-badge {
    margin-top: 16px;
    padding: 12px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #92400E;
}

.premium-badge i {
    margin-right: 6px;
}

.premium-badge small {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
}

/* Rating Section */
.rating-section {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 24px;
}

.rating-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.rating-star-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.rating-info {
    flex: 1;
}

.rating-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.rating-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.star-rating {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.star {
    font-size: 2rem;
    color: var(--border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.star:hover,
.star.active {
    color: var(--primary);
}

.rating-feedback {
    margin-top: 16px;
}

.rating-textarea {
    min-height: 80px;
    margin-bottom: 12px;
}

.rating-thankyou {
    text-align: center;
    padding: 24px;
}

.thankyou-icon {
    font-size: 2rem;
    color: var(--success);
    margin-bottom: 12px;
}

/* Modal Description */
.modal-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--surface);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 194, 60, 0.15);
}

/* Responsive */
@media (max-width: 1024px) {
    .ticket-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: -1;
    }

    .sidebar-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .ticket-subtitle {
        flex-direction: column;
        gap: 8px;
    }

    .message-time {
        margin-left: 0;
        width: 100%;
    }

    .composer-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-left,
    .toolbar-right {
        justify-content: center;
    }

    .attachments-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Controls Bar */
.controls-bar {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-container {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--card-bg);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-icon {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container:has(.search-input:not(:placeholder-shown)) .search-clear {
    opacity: 1;
}

.search-clear:hover {
    color: var(--danger);
}

.controls-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.results-count {
    color: var(--text-secondary);
    font-size: 0.875rem;
    white-space: nowrap;
}

.sort-container {
    position: relative;
}

.sort-dropdown {
    appearance: none;
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
}

.sort-dropdown:focus {
    outline: none;
    border-color: var(--primary);
}

.sort-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    font-size: 0.75rem;
}

.view-toggle {
    display: flex;
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    overflow: hidden;
}

.view-btn {
    padding: 0.625rem 0.875rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    color: var(--text-primary);
    background: var(--background);
}

.view-btn.active {
    background: var(--primary);
    color: white;
}

.view-btn.active:hover {
    background: var(--primary-hover);
}

/* Services Content */
.services-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.services-grid.list-view {
    grid-template-columns: 1fr;
}

/* Service Card */
.service-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card.hidden {
    display: none;
}

/* Ribbon */
.ribbon {
    position: absolute;
    top: 1rem;
    right: -2.5rem;
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white;
    padding: 0.375rem 3rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Image */
.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image {
    transform: scale(1.05);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .card-image-overlay {
    opacity: 1;
}

.quick-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
    color: var(--text-primary);
    font-size: 1rem;
}

.service-card:hover .quick-view-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.quick-view-btn:hover {
    background: white;
    color: var(--primary);
}

/* Card Content */
.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.active-icon {
    color: var(--success);
    font-size: 1.1rem;
}

.active-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Rating */
.rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 0.875rem;
}

.star.empty {
    color: var(--border);
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    gap: 1rem;
}

.price-section {
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.price-period {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

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

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--border);
    color: var(--text-secondary);
    cursor: not-allowed;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.empty-state.visible {
    display: block;
}

.empty-state-icon {
    width: 5rem;
    height: 5rem;
    background: var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-secondary);
    font-size: 2rem;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.empty-state-text {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
}

.pagination.hidden {
    display: none;
}

.pagination-btn {
    min-width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-primary);
    padding: 0 0.75rem;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

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

.pagination-btn.active:hover {
    background: var(--primary-hover);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--border);
    color: var(--text-secondary);
}

.pagination-dots {
    color: var(--text-secondary);
    padding: 0 0.5rem;
    user-select: none;
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: var(--card-bg);
    border-left: 4px solid var(--success);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
    min-width: 300px;
    pointer-events: auto;
}

.toast.error {
    border-left-color: var(--danger);
}

.toast.warning {
    border-left-color: var(--warning);
}

.toast.info {
    border-left-color: var(--primary);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.hide {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: var(--text-primary);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1001;
    opacity: 0.95;
    font-weight: 500;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--text-primary);
}

/* List View Adjustments */
.services-grid.list-view .service-card {
    display: grid;
    grid-template-columns: 280px 1fr;
}

.services-grid.list-view .card-image-wrapper {
    height: 100%;
    min-height: 200px;
}

.services-grid.list-view .card-content {
    padding: 2rem;
}

.services-grid.list-view .card-description {
    -webkit-line-clamp: 2;
}

.services-grid.list-view .card-footer {
    padding-top: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid.list-view .service-card {
        grid-template-columns: 240px 1fr;
    }
}

@media (max-width: 768px) {
    .controls-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container {
        max-width: 100%;
    }

    .controls-group {
        justify-content: space-between;
        width: 100%;
        flex-wrap: wrap;
    }

    .results-count {
        width: 100%;
        text-align: center;
        order: 3;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-grid.list-view .service-card {
        grid-template-columns: 1fr;
    }

    .services-grid.list-view .card-image-wrapper {
        height: 200px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .toast-container {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }

    .ribbon {
        padding: 0.25rem 2.5rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .card-title {
        font-size: 1.1rem;
    }

    .price {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .card-content {
        padding: 1.25rem;
    }
}


/* Section Header */
.section-header {
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Controls Bar */
.controls-bar {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-container {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--card-bg);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-icon {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container:has(.search-input:not(:placeholder-shown)) .search-clear {
    opacity: 1;
}

.search-clear:hover {
    color: var(--danger);
}

.controls-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.results-count {
    color: var(--text-secondary);
    font-size: 0.875rem;
    white-space: nowrap;
}

.sort-container {
    position: relative;
}

.sort-dropdown {
    appearance: none;
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
}

.sort-dropdown:focus {
    outline: none;
    border-color: var(--primary);
}

.sort-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    font-size: 0.75rem;
}

.view-toggle {
    display: flex;
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    overflow: hidden;
}

.view-btn {
    padding: 0.625rem 0.875rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    color: var(--text-primary);
    background: var(--background);
}

.view-btn.active {
    background: var(--primary);
    color: white;
}

.view-btn.active:hover {
    background: var(--primary-hover);
}

/* Services Content */
.services-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.services-grid.list-view {
    grid-template-columns: 1fr;
}

/* Service Card */
.service-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card.hidden {
    display: none;
}

/* Ribbon */
.ribbon {
    position: absolute;
    top: 1rem;
    right: -2.5rem;
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white;
    padding: 0.375rem 3rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Image */
.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image {
    transform: scale(1.05);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .card-image-overlay {
    opacity: 1;
}

.quick-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
    color: var(--text-primary);
    font-size: 1rem;
}

.service-card:hover .quick-view-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.quick-view-btn:hover {
    background: white;
    color: var(--primary);
}

/* Card Content */
.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.active-icon {
    color: var(--success);
    font-size: 1.1rem;
}

.active-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Rating */
.rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 0.875rem;
}

.star.empty {
    color: var(--border);
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    gap: 1rem;
}

.price-section {
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.price-period {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

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

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--border);
    color: var(--text-secondary);
    cursor: not-allowed;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.empty-state.visible {
    display: block;
}

.empty-state-icon {
    width: 5rem;
    height: 5rem;
    background: var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-secondary);
    font-size: 2rem;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.empty-state-text {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
}

.pagination.hidden {
    display: none;
}

.pagination-btn {
    min-width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-primary);
    padding: 0 0.75rem;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

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

.pagination-btn.active:hover {
    background: var(--primary-hover);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--border);
    color: var(--text-secondary);
}

.pagination-dots {
    color: var(--text-secondary);
    padding: 0 0.5rem;
    user-select: none;
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: var(--card-bg);
    border-left: 4px solid var(--success);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
    min-width: 300px;
    pointer-events: auto;
}

.toast.error {
    border-left-color: var(--danger);
}

.toast.warning {
    border-left-color: var(--warning);
}

.toast.info {
    border-left-color: var(--primary);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.hide {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: var(--text-primary);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1001;
    opacity: 0.95;
    font-weight: 500;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--text-primary);
}

/* List View Adjustments */
.services-grid.list-view .service-card {
    display: grid;
    grid-template-columns: 280px 1fr;
}

.services-grid.list-view .card-image-wrapper {
    height: 100%;
    min-height: 200px;
}

.services-grid.list-view .card-content {
    padding: 2rem;
}

.services-grid.list-view .card-description {
    -webkit-line-clamp: 2;
}

.services-grid.list-view .card-footer {
    padding-top: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid.list-view .service-card {
        grid-template-columns: 240px 1fr;
    }
}

@media (max-width: 768px) {
    .controls-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container {
        max-width: 100%;
    }

    .controls-group {
        justify-content: space-between;
        width: 100%;
        flex-wrap: wrap;
    }

    .results-count {
        width: 100%;
        text-align: center;
        order: 3;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-grid.list-view .service-card {
        grid-template-columns: 1fr;
    }

    .services-grid.list-view .card-image-wrapper {
        height: 200px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .toast-container {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }

    .ribbon {
        padding: 0.25rem 2.5rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .card-title {
        font-size: 1.1rem;
    }

    .price {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .card-content {
        padding: 1.25rem;
    }
}













/* ============================================
   PAYMENTS/INVOICES SPECIFIC STYLES
   Extends ticket dashboard with product cells
   ============================================ */

/* --- Invoice Link --- */
.invoice-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-family: 'SF Mono', monospace;
    font-size: 0.875rem;
}

.invoice-link:hover {
    color: var(--secondary-blue-light);
    transform: translateX(2px);
}

.invoice-link svg {
    opacity: 0.6;
}

/* --- Product Cell --- */
.product-cell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-image {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--border);
    background: #F9FAFB;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.product-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* --- Amount Cell --- */
.amount-cell {
    text-align: right;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: 'SF Mono', monospace;
}

.amount-cell.premium {
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* --- Additional Status Badges for Payments --- */
.status-badge.paid {
    background: #D1FAE5;
    color: var(--success);
}

.status-badge.failed {
    background: #FEE2E2;
    color: #DC2626;
}

.status-badge.refunded {
    background: #F3F4F6;
    color: var(--text-muted);
}


.im-grid-inner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--im-columns), minmax(0, 1fr));
    row-gap: var(--im-columns-row-gap);
    column-gap: var(--im-columns-col-gap);
}

.im-layout--template {
    padding: 50px;
}

/* --- Responsive for Product Cell --- */
@media (max-width: 768px) {
    .product-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .product-image {
        width: 64px;
        height: 64px;
    }

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

    .im-grid-inner {
        position: relative;
        display: grid;
        grid-template-columns: repeat(var(1), minmax(0, 1fr));
        row-gap: var(--im-columns-row-gap);
        column-gap: var(--im-columns-col-gap);
    }
}



































/* ============================================
   ImobiliAA Property Filter Styles
   ============================================ */

/* Base */
.im-filter {
    margin-top: 50px;
    margin-bottom: 50px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
}

/* Header */
.im-filter-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.25rem;
    border-radius: 12px 12px 0 0;
}

.im-filter-header h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.im-filter-header p {
    opacity: 0.9;
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
}

/* Body */
.im-filter-body {
    padding: 1.25rem;
}

/* Grid System */
.im-grid {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.im-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .im-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .im-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Field Container */
.im-field {
    position: relative;
}

.im-field.im-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.im-field.im-actions-field {
    grid-column: span 2;
}

@media (max-width: 1024px) {
    .im-field.im-actions-field {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .im-field.im-actions-field {
        grid-column: span 1;
    }
}

/* Labels */
.im-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.375rem;
}

.im-field.im-inline .im-label {
    margin: 0;
    white-space: nowrap;
    font-size: 0.8125rem;
    text-transform: none;
    color: #475569;
}

/* Inputs */
.im-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
    transition: all 0.2s;
}

.im-input:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Multiselect Component */
.im-multiselect {
    position: relative;
}

.im-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 38px;
}

.im-select-trigger:hover {
    border-color: #cbd5e1;
}

.im-select-trigger.im-active {
    border-color: var(--primary-yellow);
}

.im-select-value {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    overflow: hidden;
}

.im-select-placeholder {
    color: #94a3b8;
    font-size: 0.875rem;
}

.im-tag {
    background: var(--primary-yellow);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.im-tag-more {
    background: #e2e8f0;
    color: #64748b;
}

.im-chevron {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.im-select-trigger.im-active .im-chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.im-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.im-dropdown.im-open {
    display: block;
    animation: imFadeIn 0.15s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.im-dropdown-search {
    padding: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    background: white;
}

.im-dropdown-search input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
}

.im-dropdown-search input:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

/* Options */
.im-option {
    padding: 0.625rem 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    transition: background 0.15s;
}

.im-option:hover {
    background: #f8fafc;
}

.im-option.im-selected {
    background: #eef2ff;
    color: var(--primary-yellow);
}

.im-option.im-placeholder {
    color: #94a3b8;
    cursor: default;
}

.im-option.im-placeholder:hover {
    background: transparent;
}

/* Custom Checkbox */
.im-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}

.im-option.im-selected .im-checkbox {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

.im-checkbox svg {
    width: 10px;
    height: 10px;
    color: white;
    opacity: 0;
}

.im-option.im-selected .im-checkbox svg {
    opacity: 1;
}

/* Price Range */
.im-price-field {
    grid-column: span 1;
}

.im-price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.im-price-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.im-price-values {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #64748b;
}

.im-price-value {
    color: var(--primary-yellow);
    font-weight: 700;
}

/* Slider */
.im-slider {
    position: relative;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin: 0.5rem 0;
}

.im-slider-track {
    position: absolute;
    height: 100%;
    background: var(--primary-yellow);
    border-radius: 3px;
}

.im-slider-handle {
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid var(--primary-yellow);
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.1s;
}

.im-slider-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Actions */
.im-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.im-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
}

.im-btn-primary {
    background: var(--primary-yellow);
    color: white;
}

.im-btn-primary:hover {
    background: #5a67d8;
}

.im-btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.im-btn-secondary:hover {
    background: #e2e8f0;
}

.im-btn-ghost {
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.im-btn-ghost:hover {
    background: #f8fafc;
    color: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

.im-btn-icon {
    width: 16px;
    height: 16px;
}

/* Loading State */
.im-btn.im-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.im-btn.im-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: imSpin 0.8s linear infinite;
    left: 50%;
    top: 50%;
    margin: -8px 0 0 -8px;
}

.im-btn-primary.im-loading::after {
    border-top-color: white;
}

@keyframes imSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Advanced Panel */
.im-advanced {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.im-advanced.im-open {
    display: block;
    animation: imSlideDown 0.2s ease;
}

@keyframes imSlideDown {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 500px;
    }
}

.im-amenities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.5rem;
}

.im-amenity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-size: 0.8125rem;
    transition: all 0.15s;
}

.im-amenity:hover {
    border-color: var(--primary-yellow);
}

.im-amenity.im-checked {
    background: var(--primary-yellow);
    color: white;
    border-color: var(--primary-yellow);
}

.im-amenity .im-checkbox {
    width: 14px;
    height: 14px;
    border-color: #cbd5e1;
}

.im-amenity.im-checked .im-checkbox {
    background: white;
    border-color: white;
}

.im-amenity.im-checked .im-checkbox svg {
    color: var(--primary-yellow);
}

/* Sort Panel */
.im-sort {
    display: none;
    margin-top: 1rem;
}

.im-sort.im-open {
    display: block;
}

.im-sort-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.im-sort-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: white;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.15s;
}

.im-sort-btn:hover {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
}

.im-sort-btn.im-active {
    background: var(--primary-yellow);
    color: white;
    border-color: var(--primary-yellow);
}

/* Response */
.im-response {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    display: none;
}

.im-response.im-show {
    display: block;
    animation: imFadeIn 0.3s ease;
}

.im-response.im-success {
    background: #dcfce7;
    color: #166534;
}

.im-response.im-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Hidden State */
.im-hidden {
    display: none !important;
}

/* ============================================
   Additional Styles for Refactored Template
   ============================================ */

/* Inline amenities */
.im-amenities-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.im-amenity {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}

.im-amenity:hover {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
}

.im-amenity.im-checked {
    background: var(--primary-yellow);
    color: white;
    border-color: var(--primary-yellow);
}

.im-amenity .im-checkbox {
    width: 14px;
    height: 14px;
    border-width: 1.5px;
}

.im-amenity.im-checked .im-checkbox {
    background: white;
    border-color: white;
}

.im-amenity.im-checked .im-checkbox svg {
    color: var(--primary-yellow);
    stroke-width: 2.5;
}

/* Size inputs side by side */
.im-field .im-input+.im-input {
    margin-left: 0.5rem;
}

/* No results */
.im-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

/* Spinner wrapper */
.im-m-list-spinner-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: #64748b;
}

.im-m-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #e2e8f0;
    border-top-color: var(--primary-yellow);
    border-radius: 50%;
    animation: imSpin 0.8s linear infinite;
}

.im-spinner-text {
    font-size: 0.875rem;
}

/* Screen reader only */
.im-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Price field sizing */
.im-price-field {
    min-width: 250px;
}

/* Actions field alignment */
.im-actions-field {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.im-actions-field .im-label {
    margin-bottom: 0.375rem;
}

/* Land type multiselect */
.im-field .im-multiselect[data-name="land_type"] {
    width: 100%;
}

/* Size inputs row */
.im-field.im-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.im-field.im-inline .im-label {
    white-space: nowrap;
    margin: 0;
    font-size: 0.8125rem;
    text-transform: none;
    color: #475569;
}

/* Amenities in row 3 */
.im-amenities-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    max-height: 80px;
    overflow-y: auto;
}

/* Actions field with sort */
.im-actions-field .im-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.im-actions-field .im-input {
    margin-right: auto;
}

/* Price field in grid */
.im-price-field {
    grid-column: span 1;
}

@media (max-width: 1024px) {
    .im-price-field {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .im-price-field {
        grid-column: span 1;
    }

    .im-actions-field {
        grid-column: span 1;
    }

    .im-actions-field .im-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .im-actions-field .im-input {
        width: 100%;
        margin-right: 0;
    }
}

/* ============================================
   Advanced Panel & Sort Panel Styles
   ============================================ */

/* Advanced Panel */
.im-advanced {
    display: none;
    margin-top: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.im-advanced.im-open {
    display: block;
    animation: imSlideDown 0.25s ease;
}

@keyframes imSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Amenities Grid in Advanced Panel */
.im-amenities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.im-amenity {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.15s ease;
    user-select: none;
}

.im-amenity:hover {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
}

.im-amenity.im-checked {
    background: var(--primary-yellow);
    color: white;
    border-color: var(--primary-yellow);
}

.im-amenity .im-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}

.im-amenity.im-checked .im-checkbox {
    background: white;
    border-color: white;
}

.im-amenity .im-checkbox svg {
    width: 12px;
    height: 12px;
    color: var(--primary-yellow);
    opacity: 0;
}

.im-amenity.im-checked .im-checkbox svg {
    opacity: 1;
}

/* Action Bar in Advanced Panel */
.im-action-bar {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

/* Sort Panel */
.im-sort {
    display: none;
    margin-top: 1rem;
    padding: 1.25rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.im-sort.im-open {
    display: block;
    animation: imFadeIn 0.2s ease;
}

.im-sort-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.im-sort-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.im-sort-btn:hover {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
}

.im-sort-btn.im-active {
    background: var(--primary-yellow);
    color: white;
    border-color: var(--primary-yellow);
}

/* Button active state for toggles */
.im-btn[aria-expanded="true"] {
    background: #eef2ff;
    color: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

/* Screen reader only */
.im-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .im-amenities {
        grid-template-columns: repeat(2, 1fr);
    }

    .im-sort-options {
        justify-content: center;
    }

    .im-sort-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
}

a:any-link {
    text-decoration-line: none;
    cursor: auto;
}

.property-title a {
    color: var(--secondary);
    /* your color */
}



/* ========================================
   Property Detail Styles - im (Imobiliaa) Prefix
   Refactored from qodef styles
   ======================================== */


/* Typography */
.im-h5,
h1,
h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--im-heading-color);
}

h1 {
    font-size: 57px;
    line-height: 1.1403508772em;
    word-wrap: break-word;
}

.im-h5,
h5 {
    font-size: 23px;
    line-height: 1.2173913043em;
    margin: 25px 0;
    word-wrap: break-word;
}

@media only screen and (max-width: 680px) {
    h1 {
        font-size: 40px;
    }
}

/* Layout Grid */
.im-content-grid {
    width: 70%;
    margin: 0 auto;
}

@media (min-width: 1441px) {
    .im-content-grid {
        width: 1600px;
    }
}

@media (max-width: 1200px) {
    .im-content-grid {
        width: 960px;
    }
}

@media (max-width: 1024px) {
    .im-content-grid {
        width: 90%;
    }
}

/* Utility Classes */
.w-full {
    width: 100%;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.clear::after {
    content: "";
    display: table;
    clear: both;
}

/* Content Section */
.im-m-content {
    margin-bottom: 45px;
}

/* Heading Section */
.im-m-heading {}

.im-m-heading-top {
    display: flex;
    column-gap: 10px;
    margin-bottom: 10px;
}

.im-m-types a {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: 24px;
    color: #000;
    text-decoration: none;
    background-color: var(--im-bg-light);
    border-radius: 5px;
    font-size: 13px;
    gap: 5px;
    padding: 3px 12px;
    height: 30px;
    text-transform: initial;
    transition: color 0.2s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out;
}

.im-m-types a:hover {
    color: var(--secondary);
}

.im-m-heading-title {
    /* Uses h1 styles */
}

.im-m-heading-bottom {
    align-items: baseline;
    column-gap: 13px;
    display: flex;
    margin-top: 7px;
    flex-wrap: wrap;
}

.im-m-heading-bottom>* {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 1.6923076923em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: normal;
    color: var(--im-text-color);
    display: inline-flex;
    vertical-align: middle;
    column-gap: 3px;
    align-items: baseline;
    white-space: nowrap;
}

.im-m-categories a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease-out;
}

.im-m-categories a:hover {
    color: var(--secondary);
}

.im-m-separator::after {
    color: var(--im-border-color);
    content: "|";
}

.im-m-property-id,
.property-id {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-light);
    font-family: monospace;
}


.im-m-property-id-title {}

.im-m-property-id-content {}

.im-m-features-item-icon {
    display: inline-flex;
    align-items: center;
}

.im-m-view-count {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.im-m-view-count-icon {
    display: inline-flex;
    align-items: center;
}

.im-m-view-count-content {}

/* Price Actions Section */
.im-m-price-actions {
    background-color: #fff;
}

.im-m-price-actions.im--touch {
    display: none;
}

.im-m-price {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
}

.im-m-price-title {
    margin: 0;
}

.im-m-price-content {
    align-items: baseline;
    column-gap: 8px;
    display: flex;
}

.im-m-price-amount {
    color: var(--secondary);
    margin: 0;
}

/* Action Buttons */
.im-m-actions {
    border-top: 1px solid var(--im-border-color);
    display: flex;
    gap: 8px;
    margin-top: 15px;
    padding-top: 20px;
}

.im-m-action-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: auto;
    margin: 0;
    text-decoration: none;
    outline: none;
    transition: color 0.2s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out;
    font-weight: 500;
    line-height: 24px;
    color: #000;
    cursor: pointer;
    box-shadow: none;
    font-family: 'Poppins', sans-serif;
    -webkit-appearance: none;
    background-color: var(--im-bg-light);
    border-radius: 5px;
    border: 0;
    font-size: 13px;
    gap: 5px;
    padding: 3px 12px;
    height: 30px;
}

.im-m-action-button:hover {
    color: var(--secondary);
}

.im-m-action-button .im-m-icon {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    height: 24px;
}

.im-m-action-button .im-m-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    color: var(--im-text-color);
}

/* Tooltip */
.im-m-tooltip {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 2.3076923077em;
    font-weight: 400;
    text-transform: initial;
    letter-spacing: normal;
    background-color: var(--im-bg-dark);
    border-radius: 5px;
    color: #fff;
    left: 0;
    opacity: 0;
    padding: 0 10px;
    position: absolute;
    top: 0;
    transform: translateY(calc(-100% - 7px)) translateX(calc(-50% + 15px));
    transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
    visibility: hidden;
    white-space: nowrap;
    width: auto;
}

.im-m-action-button:hover .im-m-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
}

.im-m-tooltip::after {
    border-color: var(--im-bg-dark) transparent transparent;
    border-style: solid;
    border-width: 6px 4.5px 0;
    bottom: -5px;
    content: "";
    height: 0;
    left: calc(50% - 4.5px);
    position: absolute;
    width: 0;
}

.im-m-link {
    /* Link variant styles */
}

.im-m-link-label {
    position: relative;
}

/* Spinner */
.im-property-spinner {
    position: relative;
}

.im-property-spinner .im-m-spinner {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.4);
    color: #000;
    display: none;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute !important;
    top: 0;
    width: 100%;
    z-index: 2;
}

.im-property-spinner .im-m-spinner svg {
    animation: 2s linear infinite im-rotate;
    display: block;
    height: auto;
    width: 18px;
}

.im-property-spinner .im-m-spinner svg circle {
    animation: 1.5s ease-in-out infinite im-dash;
}

@keyframes im-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes im-dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Wishlist */
.im-wishlist {
    position: relative;
}

.im-wishlist .im-m-response {
    position: absolute;
    top: -1px;
    right: auto;
    left: 0;
    width: auto;
    padding: 0 10px;
    font-size: 13px;
    line-height: 30px;
    color: var(--im-text-color);
    background-color: #fff;
    border: 1px solid var(--im-border-color);
    border-radius: 5px;
    box-shadow: 3px 3px 15px 0 rgba(85, 85, 85, 0.5);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: opacity 0.2s;
    z-index: 60;
}

/* Favorite states */
.im--allowed-remove {}

.im-m-fav-inner {
    fill: none;
}

.im-m-fav-outer {}

/* Rating */
.im-review-rating {
    display: flex;
}

.im-comments-ratings {
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    line-height: 1;
    display: flex;
    align-items: center;
}

.im-comments-ratings .im-m-inner {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.im-m-star {
    color: var(--im-star-color);
}

.im-m-star svg {
    display: inline-block;
    margin-right: 4px;
    width: 12px;
    height: auto;
}

.im-m-star.im--active svg {
    fill: currentColor;
}

.im-m-star.im--initial {
    /* Inactive stars */
}

.im-m-star.im--active {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
}

.im-svg--star {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 0.8;
}

/* Social Share */
.im-social-share {
    display: inline-block;
    position: relative;
    vertical-align: top;
}

.im-social-share ul {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    vertical-align: top;
}

.im-social-share li {
    display: inline-block;
    line-height: 1;
    margin: 0;
    padding: 0;
    position: relative;
    vertical-align: top;
}

.im-social-share li a {
    font-size: 20px;
    color: #8f8f8f;
    transition: color 0.2s ease-out;
}

.im-social-share li a:hover {
    color: #000;
}

/* Dropdown Layout */
.im-social-share.im-layout--dropdown {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
}

.im-social-share.im-layout--dropdown:hover .im-social-share-dropdown ul li {
    cursor: pointer;
    opacity: 1;
    visibility: visible;
}

.im-social-share-dropdown-opener {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0;
    text-decoration: none;
    outline: none;
    transition: color 0.2s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out;
    font-weight: 500;
    line-height: 24px;
    color: #000;
    cursor: pointer;
    box-shadow: none;
    font-family: 'Poppins', sans-serif;
    -webkit-appearance: none;
    background-color: var(--im-bg-light);
    border-radius: 5px;
    border: 0;
    font-size: 13px;
    gap: 5px;
    padding: 3px 12px;
    height: 30px;
    width: 40px;
}

.im-social-share-dropdown-opener:hover {
    color: var(--secondary);
}

.im-social-share-dropdown-opener:hover .im-m-tooltip {
    opacity: 1;
    visibility: visible;
}

.im-social-share-dropdown-opener .im-m-icon {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    height: 24px;
}

.im-social-share-dropdown-opener .im-m-icon svg {
    display: block;
    max-width: 100%;
}

.im-social-share-dropdown {
    position: absolute;
    visibility: hidden;
    z-index: 950;
}

.im-social-share-dropdown ul {
    display: block;
    margin: 0;
    padding: 0 !important;
    position: relative;
    z-index: 990;
}

.im-social-share-dropdown li {
    align-items: center;
    display: flex;
    justify-content: center;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    text-align: center;
    transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
    visibility: hidden;
}

.im-social-share-dropdown li>* {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    line-height: inherit;
    width: 100%;
}

/* Bottom Dropdown */
.im-dropdown--bottom .im-social-share-dropdown {
    bottom: 0;
    left: 0;
}

.im-dropdown--bottom .im-social-share-dropdown li {
    background-color: #fff;
    border-left: 1px solid var(--im-border-color);
    border-right: 1px solid var(--im-border-color);
    height: 30px;
    line-height: 30px;
    width: 40px;
}

.im-dropdown--bottom .im-social-share-dropdown li:first-child {
    border-top: 1px solid var(--im-border-color);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    bottom: -30px;
}

.im-dropdown--bottom .im-social-share-dropdown li:last-child {
    border-bottom: 1px solid var(--im-border-color);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.im-dropdown--bottom .im-social-share-dropdown li:nth-child(2) {
    bottom: -60px;
}

.im-dropdown--bottom .im-social-share-dropdown li:nth-child(3) {
    bottom: -90px;
}

.im-dropdown--bottom .im-social-share-dropdown li:nth-child(4) {
    bottom: -120px;
}

/* Social Icons */
.im-svg--facebook,
.im-svg--twitter,
.im-svg--pinterest,
.im-svg--tumblr {
    fill: currentColor;
    stroke: none;
}

.im-svg--social-share {
    fill: currentColor;
    stroke: none;
}

.im-facebook-share {}

.im-twitter-share {}

.im-pinterest-share {}

.im-tumblr-share {}

.im-share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Shortcode utilities */
.im-shortcode {
    color: #000;
    background-color: #f9f9f9;
}

.im-shortcode-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Print button */
.im--print {}

/* E-social share icon */
.im-e-social-share-icon {}

/* Responsive Styles */
@media only screen and (max-width: 1024px) {
    .im-m-heading-top {
        margin-bottom: 10px;
    }

    .im-m-actions .im-m-action-button .im-m-tooltip,
    .im-social-share.im-layout--dropdown .im-social-share-dropdown-opener .im-m-tooltip {
        display: none;
    }

    .im-m-heading-bottom {
        margin-top: 20px;
    }

    .im-m-price-actions.im--touch {
        display: block;
        margin-top: 25px;
    }

    .im-m-price {
        column-gap: 10px;
        justify-content: flex-start;
    }

    .im-m-actions {
        margin-top: 10px;
    }

    .im-wishlist {
        margin-right: initial;
    }
}

@media only screen and (max-width: 680px) {
    .im-m-heading-bottom {
        gap: 8px;
        flex-direction: column;
    }

    .im-m-heading-bottom .im-m-view-count {
        margin-top: 2px;
    }

    .im-m-heading-bottom .im-m-rating {
        margin-top: 6px;
    }

    .im-m-actions .im-wishlist .im-m-text,
    .im-m-heading-bottom .im-m-separator {
        display: none;
    }
}

/* Print Styles */
@media print {

    *,
    *::before,
    *::after {
        text-shadow: none !important;
        box-shadow: none !important;
    }

    a:not(.btn) {
        text-decoration: underline;
    }
}

/* Selection */
::selection {
    color: #fff;
    background: var(--im-main-color-one);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--im-main-color-one);
    outline-offset: 2px;
}


/* ========================================
   Property Gallery Styles - im Prefix
   ======================================== */


/* Gallery Container */
#im-property-media {
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.im-custom-gallery {
    display: grid;
    gap: var(--im-gallery-gap);
}

/* Style 15: First image large, 2x2 grid on right */
.style-15 {
    grid-template-areas:
        "large normal normal"
        "large normal normal";
    grid-template-columns: 2.7fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 41vw;
    max-height: 660px;
    column-gap: var(--im-gallery-gap);
    row-gap: var(--im-gallery-gap);
}

/* Gallery Items */
.im-e-item {
    border-radius: var(--im-border-radius);
    overflow: hidden;
    position: relative;
    display: block;
}

.im-e-item:first-child {
    grid-area: large;
}

.im-e-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease-out;
}

.im-e-item:hover img {
    transform: scale(1.05);
}

.im-popup-item {
    cursor: zoom-in;
}

/* Primary image styling */
.style-14 {
    /* Primary image container */
}

.attachment-1050x660 {
    /* Specific attachment styling */
}

/* Hide images beyond the first 5 */
.im-property-media--gallery-custom-first-large .im-e-item:not(:first-child):not(:nth-child(2)):not(:nth-child(3)):not(:nth-child(4)):not(:nth-child(5)) {
    display: none;
}

/* Responsive */
@media only screen and (max-width: 1440px) {
    .style-15 {
        column-gap: var(--im-gallery-gap);
        row-gap: var(--im-gallery-gap);
    }
}

@media only screen and (max-width: 1024px) {
    .style-15 {
        column-gap: var(--im-gallery-gap);
        row-gap: var(--im-gallery-gap);
        height: 50vw;
        grid-template-areas:
            "large large"
            "normal normal";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 2fr 1fr;
    }
}

@media only screen and (max-width: 768px) {
    .style-15 {
        height: auto;
        max-height: none;
        grid-template-areas:
            "large"
            "normal"
            "normal"
            "normal"
            "normal";
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .im-e-item {
        height: 300px;
    }

    .im-e-item:first-child {
        height: 400px;
    }
}

@media only screen and (max-width: 480px) {

    .im-e-item,
    .im-e-item:first-child {
        height: 250px;
    }
}

/* Print */
@media print {

    *,
    *::before,
    *::after {
        text-shadow: none !important;
        box-shadow: none !important;
    }

    #im-property-media {
        page-break-inside: avoid;
    }
}

/* Selection */
::selection {
    color: #fff;
    background: var(--im-main-color-one);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

h4 {
    font-family: Poppins, sans-serif;
    font-weight: 500;
    color: #000;
    font-size: 26px;
    line-height: 1.1923076923em;
    margin: 25px 0;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.im-property-item section>[class*=-title] {
    margin: 0 0 21px;
}

.im-m-features {
    margin-top: 35px;
    padding-top: 35px;
}

.im-m-features .im-m-features-content {
    margin-top: 51px;
}

.im-m-features .im-m-features-subtitle {
    margin: 0 0 24px;
}

.im-m-features .im-m-features-content-inner {
    display: flex;
    flex-wrap: wrap;
    column-gap: 60px;
}

.im-m-features .im-m-features-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    width: calc(50% - 30px);
    column-gap: 20px;
    border-bottom: 1px solid #e8e8e8;
}

.im-m-features .im-m-features-item * {
    display: inline-flex;
}

.im-m-features .im-m-features-item-icon {
    width: 29px;
}

.im-m-features .im-m-features-item-icon svg {
    overflow: visible;
}

.im-m-features .im-m-features-item-text {
    color: #000;
    font-weight: 500;
    margin-left: auto;
}

@media only screen and (max-width:680px) {
    .im-m-features .im-m-features-item {
        width: 100%;
    }
}

h4,
h6 {
    font-family: Poppins, sans-serif;
    font-weight: 500;
    color: #000;
    margin: 0;
}

sup {
    vertical-align: baseline;
    font-size: .75em;
    line-height: 0;
    top: -.5em;
    position: relative;
}

.im-grid-template--8-4 {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}

.im-col--sidebar {
    grid-area: sidebar;
}

.section-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.section-action {
    font-size: 0.875rem;
    color: var(--accent);
    cursor: pointer;
    font-weight: 500;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .content-grid {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 3rem;
    }
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.floor-plan {
    background: var(--bg);
    border-radius: var(--radius-sm);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s;
    overflow: hidden;
}

.map-container {
    height: 300px;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.125rem;
    position: relative;
    overflow: hidden;
}

.nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.nearby-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nearby-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.spec-group {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
}

.spec-group-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 1rem;
}



.spec-list {
    column-gap: 60px;
    display: flex;
    flex-wrap: wrap;
}

.spec-item {
    align-items: center;
    border-bottom: 1px solid #e8e8e8;
    column-gap: 20px;
    display: flex;
    padding: 8px 0;
    width: calc(50% - 30px);
    /* ← 2 columns: each item takes ~50% minus half the gap */

}

@media only screen and (max-width: 680px) {
    .section-card {
        padding: 0.2rem;
    }

    .spec-item {
        width: 100%;
        /* ← 1 column: each item takes full width */
    }
}

.spec-icon {
    width: 29px;
    display: inline-flex;
}

.spec-label {
    display: inline-flex;
}

.spec-value {
    color: #000;
    font-weight: 500;
    margin-left: auto;
}

.service-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.provider-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    flex-shrink: 0;
}


.service-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.service-header .provider-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.service-header .provider-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.service-header .service-title-section h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.service-header .service-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.service-header .service-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.service-header .service-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.service-header .service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-header .service-id {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-light);
    font-family: monospace;
}

.service-header .service-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.rating-box {
    text-align: center;
    padding: 1rem 1.5rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.rating-stars {
    color: var(--gold);
    font-size: 1rem;
}

.rating-count {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-header .provider-avatar {
        margin: 0 auto;
    }

    .service-header .service-actions {
        align-items: center;
    }
}

.specialization-tag {
    background: var(--bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text);
    border: 1px solid var(--border);
    transition: 0.2s;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 80px;
    /* aligns below navbar */
    height: fit-content;
}

/* Contact Card */
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* margin-top: 2.5rem; */
}

/* Card Header */
.contact-header {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Provider Info */
.provider-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.provider-small-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.25rem;
}

.provider-small-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.provider-details h4 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.provider-details p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s;
}

.contact-method:hover .contact-icon {
    background: var(--white);
    color: var(--primary);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    transition: all 0.2s;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.form-checkbox input {
    margin-top: 0.25rem;
}

.aside {
    padding-top: 72px;
}

.im-m-price-actions {
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    padding: 20px 23px;
}


.im-m-action-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: auto;
    margin: 0;
    text-decoration: none;
    outline: 0;
    transition: color .2s ease-out, background-color .2s ease-out, border-color .2s ease-out;
    font-weight: 500;
    line-height: 24px;
    color: #000;
    cursor: pointer;
    box-shadow: none;
    font-family: Poppins, sans-serif;
    -webkit-appearance: none;
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 0;
    font-size: 13px;
    gap: 5px;
    padding: 3px 12px;
    height: 30px;
}

.live-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
    background-color: #edf9f9;
}

.error-container {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
}

.error-icon svg {
    width: 80px;
    height: 80px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.error-code {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #e74c3c;
}

.error-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}


/* input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea {
    width: 100%;
    margin: 0 0 16px;
    border-radius: .375rem;
    background-color: #fff;
    border-color: #e8e8e8;
    color: #555;
} */



[multiple],
[type="date"],
[type="datetime-local"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="search"],
[type="tel"],
[type="text"],
[type="time"],
[type="url"],
[type="week"],
input:where(:not([type])),
select,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border-width: 1px;
    border-radius: 0;
    padding: .5rem .75rem;
    line-height: 1.5rem;
    --tw-shadow: 0 0 #0000;
}


.im-m-action {
    border-top: 2px solid #ccc;
    display: flex;
    justify-content: space-between;
    margin-top: 26px;
    padding-top: 23px;
    position: relative
}

.im-m-action .im-m-button {
    position: relative;
    vertical-align: middle;
    width: auto;
    margin: 0;
    border-radius: 0;
    transition: color .2s ease-out, background-color .2s ease-out, border-color .2s ease-out;
    color: #000;
    padding: 11px 22px;
    align-items: center
}


/* Main Section Styling - Exact from CSS */
.im-page-sidebar-section section {
    border: 1px solid #e8e8e8;
    border-radius: 5px;
}

.im-page-sidebar-section section:not(.im-m-agent) {
    padding: 34px 23px;
}

.im-page-sidebar-section section:nth-of-type(odd) {
    background-color: #edf9f9;
}

.im-page-sidebar-section section>[class*=-title] {
    margin: 0;
}

.im-page-sidebar-section section>[class*=-description] {
    margin-top: 12px;
}

.im-page-sidebar-section section>[class*=-content] {
    margin-top: 31px;
}

/* Typography */
h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #000;
    font-size: 26px;
    line-height: 1.1923076923em;
    margin: 25px 0;
    word-wrap: break-word;
}

p {
    margin: 0 0 1rem;
    margin-bottom: 20px;
}

/* Live Offers List */
.im-live-offers-list {
    max-height: 360px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 5px;
}

.im-live-offers-list::-webkit-scrollbar {
    width: 6px;
}

.im-live-offers-list::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

/* Form Styling */
.im-m-form .im-m-form-inner {
    position: relative;
}

.im-m-form .im-m-form-result:not(:empty) {
    margin-top: 16px;
}

.mt-10 {
    margin-top: 2.5rem;
}


.dropdown-item.logout:hover {
    background: var(--danger);
    color: white;
}

/* Video - matches your property page exactly */
video {
    border-radius: 5px;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

/* Iframe - add matching styles for virtual tour */
iframe {
    border-radius: 5px;
    max-width: 100%;
    width: 100%;
    height: 500px;
    /* adjust as needed */
    border: none;
    aspect-ratio: 16 / 9;
    /* or match your video's ratio */
    height: auto;
}

/* Max height constraint (from .mHeight-720 class) */
.mHeight-720 {
    max-height: 720px;
}

/* Similar Properties Card - NEW STYLES */
.similar-properties-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.similar-properties-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg);
}

.view-all-link {
    font-size: 0.875rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.similar-properties-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.similar-property-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
}

.similar-property-item:hover {
    background: var(--white);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.similar-property-image {
    position: relative;
    width: 90px;
    height: 120px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

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

.similar-property-item:hover .similar-property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--success);
    color: var(--white);
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.property-badge-rent {
    background: var(--accent);
}

.similar-property-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.similar-property-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-property-location {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 0.375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-property-details {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.375rem;
}

.similar-property-details span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.similar-property-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
}

/* Loading state for dynamic content */
.similar-property-skeleton {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.skeleton-image {
    width: 90px;
    height: 70px;
    background: linear-gradient(90deg, var(--border) 25%, var(--bg) 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, var(--border) 25%, var(--bg) 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-line.short {
    width: 60%;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.no-properties {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 2rem 1rem;
}

/* AI Analysis Card Container */
.ai-analysis-card {
    margin-top: 2.5rem;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e5e7eb;
}

.ai-analysis-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.ai-icon {
    width: 36px;
    height: 36px;
    background: #4b5563;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ai-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.ai-subtitle {
    font-size: 12px;
    color: #6b7280;
}

/* Profit Section */
.profit-section {
    background: #f9fafb;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.profit-section.profit {
    border-color: #6ee7b7;
}

.profit-section.loss {
    border-color: #fca5a5;
}

.profit-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.profit-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.profit-section.profit .profit-icon {
    background: #d1fae5;
}

.profit-section.loss .profit-icon {
    background: #fee2e2;
}

.profit-values {
    display: flex;
    flex-direction: column;
}

.profit-amount {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.profit-section.profit .profit-amount {
    color: #059669;
}

.profit-section.loss .profit-amount {
    color: #dc2626;
}

.profit-percent {
    font-size: 13px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    width: fit-content;
}

.profit-section.profit .profit-percent {
    background: #d1fae5;
    color: #065f46;
}

.profit-section.loss .profit-percent {
    background: #fee2e2;
    color: #991b1b;
}

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

.timeline-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.timeline-value {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

/* Data Source */
.data-source {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.source-icon {
    width: 28px;
    height: 28px;
    background: #e0e7ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.source-info {
    flex: 1;
}

.source-label {
    font-size: 11px;
    color: #6b7280;
}

.source-count {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
}

.source-quality {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.source-quality.high {
    background: #d1fae5;
    color: #065f46;
}

.source-quality.medium {
    background: #fef3c7;
    color: #92400e;
}

.source-quality.low {
    background: #fee2e2;
    color: #991b1b;
}

/* Value Range */
.value-range {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.range-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.range-track {
    position: relative;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    margin-bottom: 10px;
}

.range-fill {
    position: absolute;
    height: 100%;
    background: #9ca3af;
    border-radius: 3px;
}

.range-current {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #4b5563;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.range-values small {
    display: block;
    font-size: 10px;
    color: #9ca3af;
    font-weight: 500;
    margin-top: 2px;
}

/* Confidence */
.confidence-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 10px;
    margin-bottom: 16px;
}

.confidence-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.confidence-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.confidence-badge.high {
    background: #d1fae5;
    color: #065f46;
}

.confidence-badge.medium {
    background: #fef3c7;
    color: #92400e;
}

.confidence-badge.low {
    background: #fee2e2;
    color: #991b1b;
}

.confidence-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.confidence-badge.high .confidence-dot {
    background: #059669;
}

.confidence-badge.medium .confidence-dot {
    background: #d97706;
}

.confidence-badge.low .confidence-dot {
    background: #dc2626;
}

/* Evolution Chart */
.evolution-section {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
}

.evolution-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.evolution-title {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.evolution-value {
    font-size: 14px;
    font-weight: 700;
    color: #059669;
}

.evolution-value.negative {
    color: #dc2626;
}

.chart-container {
    position: relative;
    height: 50px;
    margin-bottom: 8px;
}

.chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-area {
    opacity: 0.3;
}

.chart-line {
    fill: none;
    stroke: #6b7280;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-point {
    stroke: white;
    stroke-width: 2;
}

.evolution-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.evolution-footer strong {
    color: #374151;
    font-weight: 600;
}

 .comments-container {
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

/* Comments List Section */
.comments-list {
    margin-bottom: 50px;
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.comments-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

.comment-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.comment-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.comment-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--surface);
    box-shadow: var(--shadow-sm);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-author {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.star-rating {
    display: flex;
    gap: 3px;
}

.star {
    width: 18px;
    height: 18px;
    fill: var(--border);
    transition: var(--transition-fast);
}

.star.filled {
    fill: var(--warning);
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4));
}

.reply-link {
    color: var(--secondary-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    background-color: rgba(59, 89, 152, 0.1);
    transition: var(--transition-base);
    cursor: pointer;
}

.reply-link:hover {
    background-color: rgba(59, 89, 152, 0.2);
    transform: translateY(-1px);
}

.comment-time {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-time::before {
    content: '•';
    color: var(--border-medium);
}

.comment-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Comment Form Section */
.comment-form-section {
    background-color: var(--bg-secondary);
    padding: 35px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cancel-reply {
    font-size: 14px;
    color: var(--danger);
    text-decoration: none;
    margin-left: 15px;
    font-weight: 500;
    display: none;
    cursor: pointer;
}

.cancel-reply.visible {
    display: inline;
}

.rating-input {
    margin-bottom: 25px;
}

.rating-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating-stars {
    display: flex;
    gap: 8px;
}

.rating-star {
    cursor: pointer;
    width: 32px;
    height: 32px;
    fill: var(--border);
    transition: var(--transition-fast);
}

.rating-star:hover,
.rating-star.active {
    fill: var(--warning);
    transform: scale(1.1);
    filter: drop-shadow(0 4px 6px rgba(245, 158, 11, 0.3));
}

.form-group {
    margin-bottom: 20px;
}

textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    transition: var(--transition-base);
    background-color: var(--surface);
    color: var(--text-primary);
}

textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(249, 194, 60, 0.1);
}

textarea::placeholder {
    color: var(--text-muted);
}

/* Dropzone */
.dropzone {
    border: 3px dashed var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    background-color: var(--surface);
    transition: var(--transition-base);
    cursor: pointer;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.dropzone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 194, 60, 0.03), transparent);
    transition: left 0.5s ease;
}

.dropzone:hover::before {
    left: 100%;
}

.dropzone:hover {
    border-color: var(--primary);
    background-color: rgba(249, 194, 60, 0.02);
    transform: translateY(-2px);
}

.dropzone.dragover {
    border-color: var(--primary);
    background-color: rgba(249, 194, 60, 0.05);
    transform: scale(1.02);
}

.dropzone-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--text-muted);
    transition: var(--transition-base);
}

.dropzone:hover .dropzone-icon {
    color: var(--primary);
    transform: translateY(-5px);
}

.dropzone-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dropzone-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.file-input {
    display: none;
}

/* Attachments */
.attachment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.attachment-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-blue);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    background-color: rgba(59, 89, 152, 0.1);
}

.attachment-btn:hover {
    background-color: rgba(59, 89, 152, 0.2);
    transform: translateY(-2px);
}

.attachment-btn svg {
    width: 18px;
    height: 18px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(249, 194, 60, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 194, 60, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

/* File List */
.file-list {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.file-tag {
    background-color: rgba(59, 89, 152, 0.1);
    color: var(--secondary-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-tag button {
    background: none;
    border: none;
    color: var(--secondary-blue);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.file-tag button:hover {
    background-color: rgba(59, 89, 152, 0.2);
}

@media (max-width: 640px) {
    .comments-container {
        padding: 25px;
    }

    .comment-item {
        flex-direction: column;
        gap: 15px;
    }

    .comment-avatar {
        width: 50px;
        height: 50px;
    }

    .attachment-row {
        flex-direction: column;
        align-items: stretch;
    }

    .submit-btn {
        width: 100%;
    }
}


/* Additional styles for property card enhancements */

.property-badge-promoted {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--gold);
    color: var(--primary);
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.similar-property-details {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.375rem;
    flex-wrap: wrap;
}

.similar-property-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price-per-sqm {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
}

.negotiable-badge {
    display: inline-block;
    font-size: 0.6875rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 0.25rem;
}

.similar-property-location .icon,
.similar-property-details .icon {
    opacity: 0.7;
}

/* Ensure images handle errors gracefully */
.similar-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: var(--bg);
}

/* Loading state for images */
.similar-property-image img[loading] {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width:768px){
  .im-grid-inner{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:480px){
  .im-grid-inner{
    grid-template-columns:1fr;
  }
}

/* main {
    margin-top: 120px; 
} */

@media (max-width: 768px) {
    .property-header {
        grid-template-columns: 1fr !important;
    }

    .mobile-search-bar {
        display: none;
    }
}

.property-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}


.price-section {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.price-note {
    font-size: 0.875rem;
    color: #636e72;
    margin-top: 0.25rem;
}


/* Input Styling */
input[type=number] {
    width: 100%;
    margin: 0 0 16px;
    border-radius: .375rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border-width: 1px;
    border-color: #e8e8e8;
    color: #555;
    padding: .5rem .75rem;
    line-height: 1.5rem;
    font-family: inherit;
    font-size: 100%;
    border: 1px solid #e8e8e8;
}

input[type=number]::placeholder {
    color: inherit;
    opacity: 1;
    color: #9ca3af;
}

input[type=number]:focus {
    background-color: #fff;
    border-color: #e8e8e8;
    color: #555;
    outline: none;
}

/* Button Styling - Exact from CSS */
button[type=submit] {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
    text-decoration: none;
    border-radius: .375rem;
    outline: 0;
    transition: color .2s ease-out, background-color .2s ease-out, border-color .2s ease-out;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7333333333em;
    /* padding: 14px 28px; */
    color: #000;
    background-color: var(--primary-yellow);
    border: 1px solid #fff0;
    z-index: 2;
    cursor: pointer;
    text-transform: none;
    -webkit-appearance: button;
    background-image: none;
}

button[type=submit]>span {
    position: relative;
}

button[type=submit]:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--hover-background-color, var(--primary-yellow-hover));
    z-index: -1;
    transition: clip-path .3s cubic-bezier(.45, 0, .55, 1);
    clip-path: inset(0 100% 0 0);
}

button[type=submit]:hover {
    color: #000;
    background-color: var(--primary-yellow);
}

button[type=submit]:hover:after {
    clip-path: inset(0 0 0 0);
}

button[type=submit] span,
button[type=submit] span:before {
    display: block;
    line-height: inherit;
}

/* Button Full Width */
.im-button.im-size--normal-full {
    width: 100%;
    padding: 14px 28px;
    justify-content: center;
    text-align: center;
}


@keyframes im-compare-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes im-compare-dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.im-page-sidebar-section {
    display: block;
    margin-top: 2.5rem;;
}


/* Price Section with Actions */
.price-section {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Price Actions */
.price-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.price-action-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--text-light);
}

.price-action-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.price-action-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.price-action-btn svg {
    width: 16px;
    height: 16px;
}

.price-action-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--primary);
    color: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

.price-action-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--primary);
}

.price-action-btn:hover .price-action-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

 /* Share Dropdown */ 
 .share-dropdown {
    position: relative;
}

.share-dropdown:hover .share-menu,
.share-dropdown.active .share-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    min-width: 160px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 50;
}

.share-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    font-size: 0.875rem;
    transition: all 0.15s;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
}

.share-item:hover {
    background: var(--bg);
    color: var(--secondary);
}

.share-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.animation-delay{
    animation-delay: -3s;
}


        /*! CSS Used from: Embedded */
*{font-family:'Inter', sans-serif;}
.glass{background:rgba(30, 41, 59, 0.6);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255, 255, 255, 0.1);}
.glass-card{background:linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);backdrop-filter:blur(20px);border:1px solid rgba(251, 191, 36, 0.1);transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);}
.glass-card:hover{border-color:rgba(251, 191, 36, 0.3);transform:translateY(-8px);box-shadow:0 20px 40px -15px rgba(251, 191, 36, 0.15);}
.gradient-bg{background-size:400% 400%;animation:gradientShift 15s ease infinite;}
.float-anim{animation:float 6s ease-in-out infinite;}
.glow-accent{box-shadow:0 0 40px rgba(251, 191, 36, 0.3);}
.text-glow{text-shadow:0 0 30px rgba(251, 191, 36, 0.5);}
.grid-pattern{background-image:linear-gradient(rgba(251, 191, 36, 0.03) 1px, transparent 1px),                 linear-gradient(90deg, rgba(251, 191, 36, 0.03) 1px, transparent 1px);background-size:60px 60px;}
::-webkit-scrollbar{width:8px;}
::-webkit-scrollbar-track{background:#0f172a;}
::-webkit-scrollbar-thumb{background:#334155;border-radius:4px;}
::-webkit-scrollbar-thumb:hover{background:#475569;}
.btn-shine{position:relative;overflow:hidden;}
.btn-shine::after{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:linear-gradient(                 to right,                 transparent 0%,                 rgba(255,255,255,0.3) 50%,                 transparent 100%             );transform:rotate(30deg) translateX(-100%);transition:transform 0.6s;}
.btn-shine:hover::after{transform:rotate(30deg) translateX(100%);}
.comparison-row{transition:all 0.3s ease;}
.comparison-row:hover{background:rgba(251, 191, 36, 0.05);}
.step-connector{position:absolute;top:50%;left:100%;width:100%;height:2px;background:linear-gradient(90deg, rgba(251, 191, 36, 0.3), transparent);transform:translateY(-50%);}
@media (max-width: 768px){
.step-connector{display:none;}
}
.reveal-up{opacity:0;transform:translateY(30px);}
.reveal-left{opacity:0;transform:translateX(-30px);}
.reveal-right{opacity:0;transform:translateX(30px);}
.reveal-scale{opacity:0;transform:scale(0.9);}
/*! CSS Used from: Embedded */
*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}
*,::after,::before{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb;}
::after,::before{--tw-content:'';}
body{margin:0;line-height:inherit;}
h1,h2,h3,h4{font-size:inherit;font-weight:inherit;}
a{color:inherit;text-decoration:inherit;}
table{text-indent:0;border-color:inherit;border-collapse:collapse;}
button{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0;}
button{text-transform:none;}
button{-webkit-appearance:button;background-color:transparent;background-image:none;}
h1,h2,h3,h4,p{margin:0;}
ul{list-style:none;margin:0;padding:0;}
button{cursor:pointer;}
:disabled{cursor:default;}
img,svg{display:block;vertical-align:middle;}
img{max-width:100%;height:auto;}
.fixed{position:fixed;}
.absolute{position:absolute;}
.relative{position:relative;}
.inset-0{inset:0px;}
.inset-x-0{left:0px;right:0px;}
.-bottom-4{bottom:-1rem;}
.-left-4{left:-1rem;}
.-right-4{right:-1rem;}
.-top-4{top:-1rem;}
.bottom-20{bottom:5rem;}
.left-0{left:0px;}
.left-1\/2{left:50%;}
.left-10{left:2.5rem;}
.right-0{right:0px;}
.right-1{right:0.25rem;}
.right-10{right:2.5rem;}
.top-0{top:0px;}
.top-1{top:0.25rem;}
.top-1\/2{top:50%;}
.top-20{top:5rem;}
.-z-10{z-index:-10;}
.z-10{z-index:10;}
.z-50{z-index:50;}
.mx-5{margin-left:1.25rem;margin-right:1.25rem;}
.mx-auto{margin-left:auto;margin-right:auto;}
.mb-1{margin-bottom:0.25rem;}
.mb-16{margin-bottom:4rem;}
.mb-2{margin-bottom:0.5rem;}
.mb-20{margin-bottom:5rem;}
.mb-3{margin-bottom:0.75rem;}
.mb-4{margin-bottom:1rem;}
.mb-6{margin-bottom:1.5rem;}
.mb-8{margin-bottom:2rem;}
.ml-2{margin-left:0.5rem;}
.ml-4{margin-left:1rem;}
.ml-auto{margin-left:auto;}
.mt-0\.5{margin-top:0.125rem;}
.mt-1{margin-top:0.25rem;}
.mt-12{margin-top:3rem;}
.mt-2{margin-top:0.5rem;}
.mt-20{margin-top:5rem;}
.mt-6{margin-top:1.5rem;}
.inline-block{display:inline-block;}
.flex{display:flex;}
.inline-flex{display:inline-flex;}
.grid{display:grid;}
.hidden{display:none;}
.h-10{height:2.5rem;}
.h-12{height:3rem;}
.h-14{height:3.5rem;}
.h-16{height:4rem;}
.h-2{height:0.5rem;}
.h-20{height:5rem;}
.h-3{height:0.75rem;}
.h-32{height:8rem;}
.h-4{height:1rem;}
.h-5{height:1.25rem;}
.h-6{height:1.5rem;}
.h-7{height:1.75rem;}
.h-72{height:18rem;}
.h-8{height:2rem;}
.h-96{height:24rem;}
.h-\[120\%\]{height:120%;}
.h-\[40\%\]{height:40%;}
.h-\[400px\]{height:400px;}
.h-\[45\%\]{height:45%;}
.h-\[55\%\]{height:55%;}
.h-\[60\%\]{height:60%;}
.h-\[65px\]{height:65px;}
.h-\[70\%\]{height:70%;}
.h-\[80\%\]{height:80%;}
.h-\[90\%\]{height:90%;}
.h-full{height:100%;}
.min-h-screen{min-height:100vh;}
.w-10{width:2.5rem;}
.w-12{width:3rem;}
.w-14{width:3.5rem;}
.w-16{width:4rem;}
.w-2{width:0.5rem;}
.w-20{width:5rem;}
.w-3{width:0.75rem;}
.w-4{width:1rem;}
.w-5{width:1.25rem;}
.w-6{width:1.5rem;}
.w-7{width:1.75rem;}
.w-72{width:18rem;}
.w-8{width:2rem;}
.w-96{width:24rem;}
.w-\[120\%\]{width:120%;}
.w-\[800px\]{width:800px;}
.w-auto{width:auto;}
.w-full{width:100%;}
.max-w-2xl{max-width:42rem;}
.max-w-4xl{max-width:56rem;}
.max-w-5xl{max-width:64rem;}
.max-w-7xl{max-width:80rem;}
.max-w-lg{max-width:32rem;}
.max-w-md{max-width:28rem;}
.flex-1{flex:1 1 0%;}
.flex-shrink-0{flex-shrink:0;}
.-translate-x-1\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}
.-translate-y-1\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}
.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}
.animate-pulse{animation:pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;}
.cursor-pointer{cursor:pointer;}
.grid-cols-3{grid-template-columns:repeat(3, minmax(0, 1fr));}
.flex-col{flex-direction:column;}
.items-start{align-items:flex-start;}
.items-end{align-items:flex-end;}
.items-center{align-items:center;}
.justify-center{justify-content:center;}
.justify-between{justify-content:space-between;}
.gap-1{gap:0.25rem;}
.gap-12{gap:3rem;}
.gap-16{gap:4rem;}
.gap-2{gap:0.5rem;}
.gap-3{gap:0.75rem;}
.gap-4{gap:1rem;}
.gap-6{gap:1.5rem;}
.gap-8{gap:2rem;}
.space-y-2 > :not([hidden]) ~ :not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse));}
.space-y-3 > :not([hidden]) ~ :not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.75rem * var(--tw-space-y-reverse));}
.space-y-4 > :not([hidden]) ~ :not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse));}
.space-y-6 > :not([hidden]) ~ :not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse));}
.overflow-hidden{overflow:hidden;}
.overflow-x-auto{overflow-x:auto;}
.rounded{border-radius:0.25rem;}
.rounded-2xl{border-radius:1rem;}
.rounded-3xl{border-radius:1.5rem;}
.rounded-full{border-radius:9999px;}
.rounded-lg{border-radius:0.5rem;}
.rounded-md{border-radius:0.375rem;}
.rounded-xl{border-radius:0.75rem;}
.rounded-t{border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;}
.border{border-width:1px;}
.border-b{border-bottom-width:1px;}
.border-l-4{border-left-width:4px;}
.border-t{border-top-width:1px;}
.border-accent\/20{border-color:rgb(251 191 36 / 0.2);}
.border-blue-600{--tw-border-opacity:1;border-color:rgb(37 99 235 / var(--tw-border-opacity, 1));}
.border-emerald-500{--tw-border-opacity:1;border-color:rgb(16 185 129 / var(--tw-border-opacity, 1));}
.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1));}
.border-white\/10{border-color:rgb(255 255 255 / 0.1);}
.border-white\/20{border-color:rgb(255 255 255 / 0.2);}
.border-white\/5{border-color:rgb(255 255 255 / 0.05);}
.bg-accent{--tw-bg-opacity:1;background-color:rgb(251 191 36 / var(--tw-bg-opacity, 1));}
.bg-accent\/20{background-color:rgb(251 191 36 / 0.2);}
.bg-accent\/30{background-color:rgb(251 191 36 / 0.3);}
.bg-accent\/40{background-color:rgb(251 191 36 / 0.4);}
.bg-accent\/5{background-color:rgb(251 191 36 / 0.05);}
.bg-accent\/50{background-color:rgb(251 191 36 / 0.5);}
.bg-accent\/60{background-color:rgb(251 191 36 / 0.6);}
.bg-accent\/70{background-color:rgb(251 191 36 / 0.7);}
.bg-amber-500\/10{background-color:rgb(245 158 11 / 0.1);}
.bg-blue-500\/10{background-color:rgb(59 130 246 / 0.1);}
.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1));}
.bg-emerald-500\/10{background-color:rgb(16 185 129 / 0.1);}
.bg-emerald-500\/20{background-color:rgb(16 185 129 / 0.2);}
.bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1));}
.bg-green-500\/20{background-color:rgb(34 197 94 / 0.2);}
.bg-indigo-500\/10{background-color:rgb(99 102 241 / 0.1);}
.bg-pink-500\/10{background-color:rgb(236 72 153 / 0.1);}
.bg-purple-500\/10{background-color:rgb(168 85 247 / 0.1);}
.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1));}
.bg-red-500\/20{background-color:rgb(239 68 68 / 0.2);}
.bg-secondary{--tw-bg-opacity:1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1));}
.bg-white\/10{background-color:rgb(255 255 255 / 0.1);}
.bg-yellow-500{--tw-bg-opacity:1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1));}
.bg-yellow-500\/20{background-color:rgb(234 179 8 / 0.2);}
.bg-gradient-to-b{background-image:linear-gradient(to bottom, var(--tw-gradient-stops));}
.bg-gradient-to-br{background-image:linear-gradient(to bottom right, var(--tw-gradient-stops));}
.bg-gradient-to-r{background-image:linear-gradient(to right, var(--tw-gradient-stops));}
.bg-gradient-to-t{background-image:linear-gradient(to top, var(--tw-gradient-stops));}
.bg-hero-glow{background-image:radial-gradient(ellipse 80% 50% at 50% -20%, rgba(251, 191, 36, 0.3), transparent);}
.from-accent{--tw-gradient-from:#fbbf24 var(--tw-gradient-from-position);--tw-gradient-to:rgb(251 191 36 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);}
.from-accent\/10{--tw-gradient-from:rgb(251 191 36 / 0.1) var(--tw-gradient-from-position);--tw-gradient-to:rgb(251 191 36 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);}
.from-accent\/5{--tw-gradient-from:rgb(251 191 36 / 0.05) var(--tw-gradient-from-position);--tw-gradient-to:rgb(251 191 36 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);}
.from-blue-500\/20{--tw-gradient-from:rgb(59 130 246 / 0.2) var(--tw-gradient-from-position);--tw-gradient-to:rgb(59 130 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);}
.from-emerald-500\/20{--tw-gradient-from:rgb(16 185 129 / 0.2) var(--tw-gradient-from-position);--tw-gradient-to:rgb(16 185 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);}
.from-purple-500\/20{--tw-gradient-from:rgb(168 85 247 / 0.2) var(--tw-gradient-from-position);--tw-gradient-to:rgb(168 85 247 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);}
.from-transparent{--tw-gradient-from:transparent var(--tw-gradient-from-position);--tw-gradient-to:rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);}
.via-accent\/5{--tw-gradient-to:rgb(251 191 36 / 0)  var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), rgb(251 191 36 / 0.05) var(--tw-gradient-via-position), var(--tw-gradient-to);}
.via-transparent{--tw-gradient-to:rgb(0 0 0 / 0)  var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), transparent var(--tw-gradient-via-position), var(--tw-gradient-to);}
.to-accent-hover{--tw-gradient-to:#f59e0b var(--tw-gradient-to-position);}
.to-accent\/5{--tw-gradient-to:rgb(251 191 36 / 0.05) var(--tw-gradient-to-position);}
.to-blue-600\/10{--tw-gradient-to:rgb(37 99 235 / 0.1) var(--tw-gradient-to-position);}
.to-emerald-600\/10{--tw-gradient-to:rgb(5 150 105 / 0.1) var(--tw-gradient-to-position);}
.to-purple-600\/10{--tw-gradient-to:rgb(147 51 234 / 0.1) var(--tw-gradient-to-position);}
.to-transparent{--tw-gradient-to:transparent var(--tw-gradient-to-position);}
.bg-clip-text{-webkit-background-clip:text;background-clip:text;}
.p-12{padding:3rem;}
.p-2{padding:0.5rem;}
.p-3{padding:0.75rem;}
.p-4{padding:1rem;}
.p-6{padding:1.5rem;}
.p-8{padding:2rem;}
.px-2{padding-left:0.5rem;padding-right:0.5rem;}
.px-3{padding-left:0.75rem;padding-right:0.75rem;}
.px-4{padding-left:1rem;padding-right:1rem;}
.px-6{padding-left:1.5rem;padding-right:1.5rem;}
.px-8{padding-left:2rem;padding-right:2rem;}
.py-1{padding-top:0.25rem;padding-bottom:0.25rem;}
.py-12{padding-top:3rem;padding-bottom:3rem;}
.py-2{padding-top:0.5rem;padding-bottom:0.5rem;}
.py-20{padding-top:5rem;padding-bottom:5rem;}
.py-24{padding-top:6rem;padding-bottom:6rem;}
.py-4{padding-top:1rem;padding-bottom:1rem;}
.pb-2{padding-bottom:0.5rem;}
.pt-20{padding-top:5rem;}
.pt-6{padding-top:1.5rem;}
.pt-8{padding-top:2rem;}
.text-left{text-align:left;}
.text-center{text-align:center;}
.text-2xl{font-size:1.5rem;line-height:2rem;}
.text-3xl{font-size:1.875rem;line-height:2.25rem;}
.text-4xl{font-size:2.25rem;line-height:2.5rem;}
.text-5xl{font-size:3rem;line-height:1;}
.text-\[10px\]{font-size:10px;}
.text-lg{font-size:1.125rem;line-height:1.75rem;}
.text-sm{font-size:0.875rem;line-height:1.25rem;}
.text-xl{font-size:1.25rem;line-height:1.75rem;}
.text-xs{font-size:0.75rem;line-height:1rem;}
.font-bold{font-weight:700;}
.font-medium{font-weight:500;}
.font-semibold{font-weight:600;}
.leading-relaxed{line-height:1.625;}
.leading-tight{line-height:1.25;}
.text-accent{--tw-text-opacity:1;color:rgb(251 191 36 / var(--tw-text-opacity, 1));}
.text-amber-400{--tw-text-opacity:1;color:rgb(251 191 36 / var(--tw-text-opacity, 1));}
.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250 / var(--tw-text-opacity, 1));}
.text-emerald-400{--tw-text-opacity:1;color:rgb(52 211 153 / var(--tw-text-opacity, 1));}
.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219 / var(--tw-text-opacity, 1));}
.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1));}
.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1));}
.text-green-400{--tw-text-opacity:1;color:rgb(74 222 128 / var(--tw-text-opacity, 1));}
.text-indigo-400{--tw-text-opacity:1;color:rgb(129 140 248 / var(--tw-text-opacity, 1));}
.text-pink-400{--tw-text-opacity:1;color:rgb(244 114 182 / var(--tw-text-opacity, 1));}
.text-primary{--tw-text-opacity:1;color:rgb(15 23 42 / var(--tw-text-opacity, 1));}
.text-purple-400{--tw-text-opacity:1;color:rgb(192 132 252 / var(--tw-text-opacity, 1));}
.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113 / var(--tw-text-opacity, 1));}
.text-transparent{color:transparent;}
.text-white{--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));}
.text-yellow-400{--tw-text-opacity:1;color:rgb(250 204 21 / var(--tw-text-opacity, 1));}
.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8 / var(--tw-text-opacity, 1));}
.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
.opacity-50{opacity:0.5;}
.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);}
.shadow-sm{--tw-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);}
.shadow-accent\/30{--tw-shadow-color:rgb(251 191 36 / 0.3);--tw-shadow:var(--tw-shadow-colored);}
.blur-3xl{--tw-blur:blur(64px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);}
.blur-\[100px\]{--tw-blur:blur(100px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);}
.brightness-0{--tw-brightness:brightness(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);}
.invert{--tw-invert:invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);}
.transition{transition-property:color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
.transition-\[margin\]{transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
.transition-colors{transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
.duration-100{transition-duration:100ms;}
.duration-200{transition-duration:200ms;}
.hover\:scale-105:hover{--tw-scale-x:1.05;--tw-scale-y:1.05;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}
.hover\:bg-accent-hover:hover{--tw-bg-opacity:1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1));}
.hover\:bg-accent\/20:hover{background-color:rgb(251 191 36 / 0.2);}
.hover\:bg-white\/10:hover{background-color:rgb(255 255 255 / 0.1);}
.hover\:bg-white\/20:hover{background-color:rgb(255 255 255 / 0.2);}
.hover\:bg-white\/5:hover{background-color:rgb(255 255 255 / 0.05);}
.hover\:text-accent:hover{--tw-text-opacity:1;color:rgb(251 191 36 / var(--tw-text-opacity, 1));}
.hover\:underline:hover{-webkit-text-decoration-line:underline;text-decoration-line:underline;}
.group:hover .group-hover\:scale-110{--tw-scale-x:1.1;--tw-scale-y:1.1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}
.group:hover .group-hover\:bg-amber-500\/20{background-color:rgb(245 158 11 / 0.2);}
.group:hover .group-hover\:bg-blue-500\/20{background-color:rgb(59 130 246 / 0.2);}
.group:hover .group-hover\:bg-emerald-500\/20{background-color:rgb(16 185 129 / 0.2);}
.group:hover .group-hover\:bg-purple-500\/20{background-color:rgb(168 85 247 / 0.2);}
.group:hover .group-hover\:text-accent{--tw-text-opacity:1;color:rgb(251 191 36 / var(--tw-text-opacity, 1));}
@media (min-width: 640px){
.sm\:flex-row{flex-direction:row;}
}
@media (min-width: 768px){
.md\:block{display:block;}
.md\:grid-cols-2{grid-template-columns:repeat(2, minmax(0, 1fr));}
.md\:grid-cols-3{grid-template-columns:repeat(3, minmax(0, 1fr));}
.md\:grid-cols-4{grid-template-columns:repeat(4, minmax(0, 1fr));}
.md\:flex-row{flex-direction:row;}
}
@media (min-width: 1024px){
.lg\:mx-0{margin-left:0px;margin-right:0px;}
.lg\:grid-cols-2{grid-template-columns:repeat(2, minmax(0, 1fr));}
.lg\:grid-cols-3{grid-template-columns:repeat(3, minmax(0, 1fr));}
.lg\:justify-start{justify-content:flex-start;}
.lg\:text-left{text-align:left;}
.lg\:text-5xl{font-size:3rem;line-height:1;}
.lg\:text-7xl{font-size:4.5rem;line-height:1;}
}
@media (min-width: 1280px){
.xl\:left-3\.5{left:0.875rem;}
.xl\:flex{display:flex;}
}
/*! CSS Used keyframes */
@keyframes gradientShift{0%{background-position:0% 50%;}50%{background-position:100% 50%;}100%{background-position:0% 50%;}}
@keyframes float{0%, 100%{transform:translateY(0px);}50%{transform:translateY(-20px);}}
@keyframes pulse{50%{opacity:.5;}}
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 1 !important;
  transform: none !important;
}    

.background-odd{
    background-color: azure;
}

.background-even{
    background-color: white;
}


body {
  background-color: #ffffff !important; /* light background */
  /*color: #111827 !important;           /* dark text */
  overflow-x: hidden;
}
/* Optional: smooth transition for background changes */
.section {
  transition: background-color 0.3s ease;
}


/* Animation Delay Utility Classes */

/* Target Audience Cards */
.delay-target-0 { animation-delay: 0s; }
.delay-target-1 { animation-delay: 0.1s; }
.delay-target-2 { animation-delay: 0.2s; }

/* How It Works Steps */
.delay-step-0 { animation-delay: 0s; }
.delay-step-1 { animation-delay: 0.15s; }
.delay-step-2 { animation-delay: 0.3s; }
.delay-step-3 { animation-delay: 0.45s; }

/* Features Grid */
.delay-feature-0 { animation-delay: 0s; }
.delay-feature-1 { animation-delay: 0.05s; }
.delay-feature-2 { animation-delay: 0.1s; }
.delay-feature-3 { animation-delay: 0.15s; }
.delay-feature-4 { animation-delay: 0.2s; }
.delay-feature-5 { animation-delay: 0.25s; }


.bg-hero{
    background-image: url('/images/hero-bg.jpg');
} 

.transition-delay-2 {
    transition-delay: 200ms;
}

.transition-delay-4 {
    transition-delay: 400ms;
}

.transition-delay-6 {
    transition-delay: 600ms;
}


.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 16px 10px;
  }

  .footer-copyright {
    font-size: 13px;
    line-height: 1.4;
  }

  .footer-payment,
  .footer-reports {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-payment a,
  .footer-reports a {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .payment,
  .report {
    transform: scale(0.85);
  }
}

.main-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px;
}







/* ============================================
    SERVICES GRID CONTAINER
    ============================================ */
.services-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px;
}

.im-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

/* ============================================
    SERVICE CARD STYLES
    ============================================ */
.im-service-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.im-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

/* Image Section */
.im-service-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.im-service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.im-service-card:hover .im-service-image {
    transform: scale(1.08);
}

.im-service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(26, 26, 46, 0.6));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.im-service-card:hover .im-service-image-overlay {
    opacity: 1;
}

/* Badges */
.im-service-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.im-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.im-badge--promoted {
    background: var(--primary);
    color: var(--primary-dark);
}

.im-badge--category {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.im-badge--verified {
    background: var(--success-light);
    color: var(--success);
}

/* Quick Actions */
.im-service-quick-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(15px);
    transition: all var(--transition-base);
    z-index: 2;
}

.im-service-card:hover .im-service-quick-actions {
    opacity: 1;
    transform: translateX(0);
}

.im-quick-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.im-quick-btn:hover {
    background: var(--primary);
    color: var(--primary-dark);
    transform: scale(1.15) rotate(8deg);
}

.im-quick-btn svg {
    width: 18px;
    height: 18px;
}

/* Content Section */
.im-service-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 14px;
}

/* Header */
.im-service-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.im-service-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.im-service-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.im-service-title a:hover {
    color: var(--secondary-blue);
}

/* Rating */
.im-service-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.im-stars {
    display: flex;
    gap: 3px;
}

.im-star {
    width: 16px;
    height: 16px;
    fill: var(--border);
    transition: fill var(--transition-fast);
}

.im-star--filled {
    fill: var(--primary);
}

.im-star--half {
    fill: url(#star-gradient);
}

.im-rating-count {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Provider Info */
.im-service-provider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--background);
    border-radius: var(--radius-md);
    margin-top: 4px;
}

.im-provider-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.im-provider-info {
    flex: 1;
    min-width: 0;
}

.im-provider-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.im-provider-type {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tags */
.im-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.im-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.im-tag:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
}

/* Description */
.im-service-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Location */
.im-service-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 8px;
}

.im-service-location svg {
    color: var(--secondary-blue);
    flex-shrink: 0;
}

/* Footer */
.im-service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
    gap: 16px;
}

/* Price */
.im-service-price {
    display: flex;
    flex-direction: column;
}

.im-price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.im-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.im-price-currency {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.im-price-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.im-price-period {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Actions */
.im-service-actions {
    display: flex;
    gap: 10px;
}

.im-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    white-space: nowrap;
    font-family: inherit;
}

.im-btn--primary {
    background: var(--primary);
    color: var(--primary-dark);
    box-shadow: 0 4px 6px rgba(249, 194, 60, 0.3);
}

.im-btn--primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(249, 194, 60, 0.4);
}

.im-btn--secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
}

.im-btn--secondary:hover {
    background: var(--background);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.im-btn--icon {
    padding: 10px;
}

/* Completion Gauge (Mini) */
.im-completion-mini {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(4px);
}

.im-completion-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) calc(var(--completion) * 1%), var(--border) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.im-completion-ring::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: white;
    border-radius: 50%;
}

.im-completion-text {
    position: relative;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================
    ANIMATIONS
    ============================================ */
@keyframes imFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.im-service-card {
    animation: imFadeInUp 0.6s ease forwards;
    opacity: 0;
}

.im-services-grid .im-service-card:nth-child(1) { animation-delay: 0.05s; }
.im-services-grid .im-service-card:nth-child(2) { animation-delay: 0.1s; }
.im-services-grid .im-service-card:nth-child(3) { animation-delay: 0.15s; }
.im-services-grid .im-service-card:nth-child(4) { animation-delay: 0.2s; }
.im-services-grid .im-service-card:nth-child(5) { animation-delay: 0.25s; }
.im-services-grid .im-service-card:nth-child(6) { animation-delay: 0.3s; }

/* ============================================
    RESPONSIVE DESIGN
    ============================================ */
@media (max-width: 1024px) {
    .im-services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.75rem;
    }

    .im-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .im-service-image-wrapper {
        height: 200px;
    }

    .im-service-quick-actions {
        opacity: 1;
        transform: none;
        flex-direction: row;
        top: auto;
        bottom: 16px;
        right: 16px;
    }

    .im-service-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .im-service-actions {
        width: 100%;
    }

    .im-btn {
        flex: 1;
        justify-content: center;
    }

    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .services-container {
        padding: 24px 16px;
    }

    .im-service-content {
        padding: 20px;
    }

    .im-service-title {
        font-size: 1.125rem;
    }

    .im-price-amount {
        font-size: 1.25rem;
    }
}

/* ============================================
    LOADING STATE
    ============================================ */
.im-skeleton {
    background: linear-gradient(90deg, var(--border) 25%, var(--border-light) 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
    FOOTER
    ============================================ */
.page-footer {
    background: var(--primary-dark);
    color: white;
    padding: 40px 24px;
    text-align: center;
    margin-top: 60px;
}

.page-footer p {
    opacity: 0.6;
    font-size: 0.875rem;
}

/* ============================================
   COMPLETION GAUGE (Mini)
   Uses conic-gradient with data-completion attribute
   ============================================ */

.im-completion-mini {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
}

/* Default state - no progress */
.im-completion-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary) 0%, 
        var(--border) 0
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.3s ease;
}

/* White center circle */
.im-completion-ring::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: white;
    border-radius: 50%;
}

/* Percentage text */
.im-completion-text {
    position: relative;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

/* ============================================
   DYNAMIC COMPLETION VALUES
   Use with: data-completion="85"
   JavaScript sets: element.style.setProperty('--completion', '85')
   ============================================ */

.im-completion-ring[data-completion="0"] { --completion: 0; }
.im-completion-ring[data-completion="1"] { --completion: 1; }
.im-completion-ring[data-completion="2"] { --completion: 2; }
.im-completion-ring[data-completion="3"] { --completion: 3; }
.im-completion-ring[data-completion="4"] { --completion: 4; }
.im-completion-ring[data-completion="5"] { --completion: 5; }
.im-completion-ring[data-completion="6"] { --completion: 6; }
.im-completion-ring[data-completion="7"] { --completion: 7; }
.im-completion-ring[data-completion="8"] { --completion: 8; }
.im-completion-ring[data-completion="9"] { --completion: 9; }
.im-completion-ring[data-completion="10"] { --completion: 10; }
.im-completion-ring[data-completion="11"] { --completion: 11; }
.im-completion-ring[data-completion="12"] { --completion: 12; }
.im-completion-ring[data-completion="13"] { --completion: 13; }
.im-completion-ring[data-completion="14"] { --completion: 14; }
.im-completion-ring[data-completion="15"] { --completion: 15; }
.im-completion-ring[data-completion="16"] { --completion: 16; }
.im-completion-ring[data-completion="17"] { --completion: 17; }
.im-completion-ring[data-completion="18"] { --completion: 18; }
.im-completion-ring[data-completion="19"] { --completion: 19; }
.im-completion-ring[data-completion="20"] { --completion: 20; }
.im-completion-ring[data-completion="21"] { --completion: 21; }
.im-completion-ring[data-completion="22"] { --completion: 22; }
.im-completion-ring[data-completion="23"] { --completion: 23; }
.im-completion-ring[data-completion="24"] { --completion: 24; }
.im-completion-ring[data-completion="25"] { --completion: 25; }
.im-completion-ring[data-completion="26"] { --completion: 26; }
.im-completion-ring[data-completion="27"] { --completion: 27; }
.im-completion-ring[data-completion="28"] { --completion: 28; }
.im-completion-ring[data-completion="29"] { --completion: 29; }
.im-completion-ring[data-completion="30"] { --completion: 30; }
.im-completion-ring[data-completion="31"] { --completion: 31; }
.im-completion-ring[data-completion="32"] { --completion: 32; }
.im-completion-ring[data-completion="33"] { --completion: 33; }
.im-completion-ring[data-completion="34"] { --completion: 34; }
.im-completion-ring[data-completion="35"] { --completion: 35; }
.im-completion-ring[data-completion="36"] { --completion: 36; }
.im-completion-ring[data-completion="37"] { --completion: 37; }
.im-completion-ring[data-completion="38"] { --completion: 38; }
.im-completion-ring[data-completion="39"] { --completion: 39; }
.im-completion-ring[data-completion="40"] { --completion: 40; }
.im-completion-ring[data-completion="41"] { --completion: 41; }
.im-completion-ring[data-completion="42"] { --completion: 42; }
.im-completion-ring[data-completion="43"] { --completion: 43; }
.im-completion-ring[data-completion="44"] { --completion: 44; }
.im-completion-ring[data-completion="45"] { --completion: 45; }
.im-completion-ring[data-completion="46"] { --completion: 46; }
.im-completion-ring[data-completion="47"] { --completion: 47; }
.im-completion-ring[data-completion="48"] { --completion: 48; }
.im-completion-ring[data-completion="49"] { --completion: 49; }
.im-completion-ring[data-completion="50"] { --completion: 50; }
.im-completion-ring[data-completion="51"] { --completion: 51; }
.im-completion-ring[data-completion="52"] { --completion: 52; }
.im-completion-ring[data-completion="53"] { --completion: 53; }
.im-completion-ring[data-completion="54"] { --completion: 54; }
.im-completion-ring[data-completion="55"] { --completion: 55; }
.im-completion-ring[data-completion="56"] { --completion: 56; }
.im-completion-ring[data-completion="57"] { --completion: 57; }
.im-completion-ring[data-completion="58"] { --completion: 58; }
.im-completion-ring[data-completion="59"] { --completion: 59; }
.im-completion-ring[data-completion="60"] { --completion: 60; }
.im-completion-ring[data-completion="61"] { --completion: 61; }
.im-completion-ring[data-completion="62"] { --completion: 62; }
.im-completion-ring[data-completion="63"] { --completion: 63; }
.im-completion-ring[data-completion="64"] { --completion: 64; }
.im-completion-ring[data-completion="65"] { --completion: 65; }
.im-completion-ring[data-completion="66"] { --completion: 66; }
.im-completion-ring[data-completion="67"] { --completion: 67; }
.im-completion-ring[data-completion="68"] { --completion: 68; }
.im-completion-ring[data-completion="69"] { --completion: 69; }
.im-completion-ring[data-completion="70"] { --completion: 70; }
.im-completion-ring[data-completion="71"] { --completion: 71; }
.im-completion-ring[data-completion="72"] { --completion: 72; }
.im-completion-ring[data-completion="73"] { --completion: 73; }
.im-completion-ring[data-completion="74"] { --completion: 74; }
.im-completion-ring[data-completion="75"] { --completion: 75; }
.im-completion-ring[data-completion="76"] { --completion: 76; }
.im-completion-ring[data-completion="77"] { --completion: 77; }
.im-completion-ring[data-completion="78"] { --completion: 78; }
.im-completion-ring[data-completion="79"] { --completion: 79; }
.im-completion-ring[data-completion="80"] { --completion: 80; }
.im-completion-ring[data-completion="81"] { --completion: 81; }
.im-completion-ring[data-completion="82"] { --completion: 82; }
.im-completion-ring[data-completion="83"] { --completion: 83; }
.im-completion-ring[data-completion="84"] { --completion: 84; }
.im-completion-ring[data-completion="85"] { --completion: 85; }
.im-completion-ring[data-completion="86"] { --completion: 86; }
.im-completion-ring[data-completion="87"] { --completion: 87; }
.im-completion-ring[data-completion="88"] { --completion: 88; }
.im-completion-ring[data-completion="89"] { --completion: 89; }
.im-completion-ring[data-completion="90"] { --completion: 90; }
.im-completion-ring[data-completion="91"] { --completion: 91; }
.im-completion-ring[data-completion="92"] { --completion: 92; }
.im-completion-ring[data-completion="93"] { --completion: 93; }
.im-completion-ring[data-completion="94"] { --completion: 94; }
.im-completion-ring[data-completion="95"] { --completion: 95; }
.im-completion-ring[data-completion="96"] { --completion: 96; }
.im-completion-ring[data-completion="97"] { --completion: 97; }
.im-completion-ring[data-completion="98"] { --completion: 98; }
.im-completion-ring[data-completion="99"] { --completion: 99; }
.im-completion-ring[data-completion="100"] { --completion: 100; }

/* Apply the conic-gradient using the CSS variable */
.im-completion-ring[data-completion] {
    background: conic-gradient(
        var(--primary) calc(var(--completion) * 1%), 
        var(--border) calc(var(--completion) * 1%)
    );
}

/* ============================================
   IE11 FALLBACK
   ============================================ */
@supports not (background: conic-gradient(red, blue)) {
    .im-completion-ring {
        background: var(--border);
        border: 4px solid var(--primary);
        box-sizing: border-box;
    }
    
    .im-completion-ring[data-completion] {
        background: var(--border);
        border-color: var(--primary);
    }
}

