/* ============================================================
   Emlak Broker Yönetim Platformu — Premium Admin Design System
   JASSE Real Estate Platform
   ============================================================ */

:root {
    /* Brand Colors */
    --cb-navy:        #0f172a;
    --cb-navy-light:  #1e293b;
    --cb-navy-dark:   #020617;
    --cb-blue:        #0c4a6e;
    --cb-blue-light:  #0369a1;
    --cb-blue-dark:   #083344;
    --cb-gold:        #c5a44e;
    --cb-white:       #ffffff;
    --cb-body-bg:     #f1f5f9;

    /* Primary */
    --cb-primary:     #0c4a6e;
    --cb-primary-hover: #0a3d5c;

    /* Sidebar Dark Theme */
    --sidebar-bg:            #0f172a;
    --sidebar-text:          rgba(255,255,255,0.6);
    --sidebar-text-muted:    rgba(255,255,255,0.4);
    --sidebar-hover-bg:      rgba(255,255,255,0.06);
    --sidebar-active-bg:     rgba(255,255,255,0.1);
    --sidebar-active-border: #3b82f6;
    --sidebar-border:        rgba(255,255,255,0.08);
    --sidebar-section-text:  rgba(255,255,255,0.35);

    /* Topbar */g
    --topbar-bg:       #ffffff;
    --topbar-border:   #e2e8f0;
    --topbar-height:   64px;

    /* Breadcrumb bar */
    --breadcrumb-bg:     #ffffff;
    --breadcrumb-height: auto;

    /* Text */
    --cb-text:        #1e293b;
    --cb-text-muted:  #64748b;

    /* Semantic Colors */
    --cb-success:     #22c55e;
    --cb-warning:     #f59e0b;
    --cb-danger:      #ef4444;
    --cb-orange:      #f97316;
    --cb-purple:      #7c3aed;
    --cb-info:        #3b82f6;
    --cb-gray:        #64748b;
    --cb-gray-dark:   #374151;

    /* Shadows */
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.04);
    --shadow-md:   0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg:   0 10px 25px rgba(0,0,0,0.1);

    /* Radius */
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   12px;
    --radius-xl:   16px;

    /* Layout */
    --sidebar-width:  260px;

    /* CB Inner Page Design Tokens */
    --cb-table-header-bg: #0f172a;
    --cb-table-hover:     #f8fafc;
    --cb-table-alt-row:   #fafbfc;
    --cb-section-border:  #0c4a6e;
    --cb-input-border:    #d1d5db;
    --cb-input-focus:     #0c4a6e;
    --cb-input-height:    42px;
    --cb-label-color:     #374151;
    --cb-action-panel-w:  280px;
}

/* ---- Reset & Base ---- */
body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--cb-body-bg);
    margin: 0;
    overflow-x: hidden;
    color: var(--cb-text);
    font-size: 14px;
}

a {
    text-decoration: none;
    color: var(--cb-primary);
}
a:hover {
    color: var(--cb-primary-hover);
}

/* ---- App Wrapper ---- */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ---- App Main (right of sidebar) ---- */
.app-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
}
.app-main.sidebar-collapsed {
    margin-left: 0;
}

/* ============================================================
   SIDEBAR — Dark Theme (Premium)
   ============================================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    z-index: 1040;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Scrollbar — dark theme */
.sidebar::-webkit-scrollbar {
    width: 4px;
}
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

/* Logo Area */
.sidebar-logo {
    padding: 0 20px;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}
.sidebar-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff !important;
    text-decoration: none;
}
.sidebar-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}
.sidebar-logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
}
.sidebar-logo-icon {
    font-size: 22px;
    color: var(--sidebar-active-border);
}

/* User Profile Card (dark) */
.sidebar-user-card {
    padding: 20px;
    border-bottom: 1px solid var(--sidebar-border);
}
.sidebar-user-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.sidebar-user-photo img,
.sidebar-user-photo .avatar-placeholder-lg {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
}
.avatar-placeholder-lg {
    background: var(--sidebar-active-border);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
}
.sidebar-user-settings {
    position: absolute;
    right: 0;
    top: 0;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s;
}
.sidebar-user-settings:hover {
    color: #ffffff;
}
.sidebar-user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sidebar-user-name {
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}
.sidebar-user-office {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.sidebar-user-role {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Section Label */
.sidebar-section-label {
    padding: 20px 20px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sidebar-section-text);
}

/* Navigation */
.sidebar-nav {
    flex: 1;
    padding: 4px 0;
}
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Menu Items */
.sidebar-menu-item {
    margin: 1px 8px;
}
.sidebar-menu-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: var(--sidebar-text);
    font-size: 13.5px;
    font-weight: 400;
    transition: all 0.2s ease;
    border-radius: 8px;
    border-left: 3px solid transparent;
}
.sidebar-menu-link:hover {
    color: rgba(255,255,255,0.9);
    background: var(--sidebar-hover-bg);
}
.sidebar-menu-link.active,
.sidebar-menu-item.active > .sidebar-menu-link {
    color: #ffffff;
    background: var(--sidebar-active-bg);
    border-left-color: var(--sidebar-active-border);
    font-weight: 500;
}
.menu-icon {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
    text-align: center;
    flex-shrink: 0;
    color: rgba(255,255,255,0.4);
}
.sidebar-menu-link:hover .menu-icon {
    color: rgba(255,255,255,0.8);
}
.sidebar-menu-link.active .menu-icon,
.sidebar-menu-item.active > .sidebar-menu-link .menu-icon {
    color: #ffffff;
}
.menu-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sidebar Badge */
.sidebar-badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    line-height: 1.3;
    margin-left: 6px;
    flex-shrink: 0;
}
.sidebar-badge-success {
    background: var(--cb-success);
    color: #fff;
}
.sidebar-badge-warning {
    background: var(--cb-warning);
    color: #000;
}
.sidebar-badge-danger {
    background: var(--cb-danger);
    color: #fff;
}

/* Submenu Arrow */
.submenu-arrow {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    color: rgba(255,255,255,0.3);
}
.sidebar-menu-link.expanded .submenu-arrow {
    transform: rotate(90deg);
}
.sidebar-menu-link:hover .submenu-arrow {
    color: rgba(255,255,255,0.6);
}

/* Submenu */
.sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
}
.sidebar-submenu-item {
    margin: 0;
}
.sidebar-submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px 7px 44px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    transition: all 0.2s ease;
    border-radius: 8px;
}
.sidebar-submenu-link:hover {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.04);
}
.sidebar-submenu-item.active .sidebar-submenu-link {
    color: #ffffff;
    font-weight: 500;
}
.submenu-dot {
    font-size: 0.35rem;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
}
.sidebar-submenu-item.active .submenu-dot {
    color: var(--sidebar-active-border);
}

/* Sidebar CTA Button (İlan Ver) */
.sidebar-cta-link {
    background: linear-gradient(135deg, #c5a44e, #b8922f) !important;
    color: #fff !important;
    border-radius: 8px !important;
    margin: 4px 12px 8px !important;
    padding: 10px 16px !important;
    font-weight: 600 !important;
    text-align: center;
    transition: all 0.2s ease;
}
.sidebar-cta-link:hover {
    background: linear-gradient(135deg, #b8922f, #a6801a) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 164, 78, 0.3);
}
.sidebar-cta-link .menu-icon {
    color: #fff !important;
}
.sidebar-cta-link .menu-text {
    color: #fff !important;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--sidebar-border);
    margin-top: auto;
    color: rgba(255,255,255,0.2);
    font-size: 11px;
    text-align: center;
    flex-shrink: 0;
}

/* Sidebar Clubs Legend (dark theme) */
.sidebar-clubs {
    padding: 16px 20px;
    border-top: 1px solid var(--sidebar-border);
    margin-top: auto;
}
.sidebar-clubs-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sidebar-section-text);
    margin-bottom: 10px;
}
.club-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 4px;
}
.club-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================================
   TOPBAR — White Premium Bar
   ============================================================ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    height: var(--topbar-height);
    background: var(--topbar-bg);
    border-bottom: 1px solid var(--topbar-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    flex-shrink: 0;
}
.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.topbar-toggle {
    color: var(--cb-gray);
    font-size: 1.35rem;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
    width: 40px;
    height: 40px;
}
.topbar-toggle:hover {
    background: #f1f5f9;
    color: var(--cb-text);
}
.topbar-page-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--cb-text);
    margin: 0;
    white-space: nowrap;
}

.topbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 24px;
    max-width: 480px;
}
.topbar-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 8px 16px;
    width: 100%;
    transition: all 0.2s;
}
.topbar-search:focus-within {
    background: #e2e8f0;
    box-shadow: 0 0 0 2px rgba(12,74,110,0.1);
}
.topbar-search i {
    color: #94a3b8;
    font-size: 14px;
    flex-shrink: 0;
}
.topbar-search-input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--cb-text);
    width: 100%;
    font-family: inherit;
}
.topbar-search-input::placeholder {
    color: #94a3b8;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Topbar icon buttons */
.topbar-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--cb-gray);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    text-decoration: none;
}
.topbar-icon-btn:hover {
    background: #f1f5f9;
    color: var(--cb-text);
}
.topbar-notif-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

.topbar-notif-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
}

.notif-dropdown {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 0;
}
.notif-dropdown .dropdown-item {
    font-size: 13px;
    padding: 10px 16px;
}
.notif-dropdown .dropdown-item:hover {
    background: #f9fafb;
}

.topbar-icon-btn.dropdown-toggle::after {
    display: none;
}

/* Language toggle */
.topbar-lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 10px;
    border-radius: 6px;
    background: #f1f5f9;
    border: none;
    color: var(--cb-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.topbar-lang-btn:hover {
    background: #e2e8f0;
    color: var(--cb-text);
}

/* User dropdown */
.topbar-user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s;
}
.topbar-user-btn:hover {
    background: #f1f5f9;
}
.topbar-user-btn::after {
    display: none;
}
.topbar-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}
.topbar-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cb-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #e2e8f0;
}
.topbar-user-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--cb-text);
}
.topbar-user-chevron {
    font-size: 12px;
    color: var(--cb-gray);
}

/* Topbar dropdown menus */
.topbar .dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    padding: 6px;
    margin-top: 8px;
}
.topbar .dropdown-menu .dropdown-item {
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 14px;
    color: var(--cb-text);
    transition: all 0.15s;
}
.topbar .dropdown-menu .dropdown-item:hover {
    background: #f1f5f9;
}
.topbar .dropdown-menu .dropdown-item i {
    width: 20px;
    color: var(--cb-gray);
}
.topbar .dropdown-divider {
    margin: 4px 0;
    border-color: #f1f5f9;
}

/* Old topbar classes kept for backward compat */
.topbar-brand-link,
.topbar-brand-logo,
.topbar-brand-fallback,
.topbar-greeting,
.topbar-flag-btn {
    display: none;
}

@media (max-width: 767.98px) {
    .topbar-center {
        display: none;
    }
    .topbar-user-name {
        display: none;
    }
    .topbar-page-title {
        font-size: 14px;
    }
}

/* ============================================================
   BREADCRUMB BAR
   ============================================================ */
.breadcrumb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
    min-height: auto;
    background: transparent;
    border-bottom: none;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 8px;
}
.breadcrumb-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.breadcrumb-bar-icon {
    font-size: 1.2rem;
    color: var(--cb-primary);
}
.breadcrumb-bar-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: var(--cb-text);
    line-height: 1.2;
}
.breadcrumb-bar-desc {
    font-size: 13px;
    color: var(--cb-text-muted);
    line-height: 1.2;
}
.breadcrumb-bar-right .breadcrumb {
    font-size: 13px;
    margin: 0;
    padding: 0;
    background: transparent;
}
.breadcrumb-bar-right .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #cbd5e1;
}
.breadcrumb-bar-right .breadcrumb a {
    color: var(--cb-primary);
}
.breadcrumb-bar-right .breadcrumb .active {
    color: var(--cb-text-muted);
}

@media (max-width: 767.98px) {
    .breadcrumb-bar {
        padding: 16px 16px 0;
    }
    .breadcrumb-bar-title {
        font-size: 18px;
    }
    .breadcrumb-bar-right {
        display: none;
    }
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ============================================================
   CONTENT WRAPPER
   ============================================================ */
.content-wrapper {
    padding: 24px;
}

/* ============================================================
   PANEL FOOTER
   ============================================================ */
.panel-footer {
    padding: 14px 24px;
    background: transparent;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    color: var(--cb-text-muted);
}

/* ============================================================
   SIDEBAR OVERLAY (mobile)
   ============================================================ */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1035;
    backdrop-filter: blur(2px);
}
.sidebar-overlay.active {
    display: block;
}

/* ============================================================
   MOBILE BOTTOM TAB BAR
   ============================================================ */
.mobile-tab-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
    justify-content: space-around;
    align-items: center;
    padding: 6px 0;
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
}
@media (max-width: 767.98px) {
    .mobile-tab-bar { display: flex; }
}
.mobile-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #6b7280;
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    gap: 2px;
    padding: 4px 8px;
    transition: color 0.2s;
    position: relative;
}
.mobile-tab-item i {
    font-size: 20px;
}
.mobile-tab-item.active,
.mobile-tab-item:hover {
    color: #1a1a2e;
}
.mobile-tab-item-primary {
    color: #fff !important;
}
.mobile-tab-item-primary i {
    font-size: 32px;
    color: #c5a44e;
    margin-top: -14px;
    filter: drop-shadow(0 2px 4px rgba(197,164,78,0.3));
}
.mobile-tab-item-primary span {
    color: #c5a44e;
    font-weight: 600;
}

/* ============================================================
   MOBILE INDIVIDUAL MENU (Sahibinden-style)
   ============================================================ */
.mobile-ind-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1060;
    background: #f5f5f5;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-ind-menu.active {
    display: block;
}
.mobile-ind-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #1a1a2e;
    color: #fff;
}
.mobile-ind-menu-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.mobile-ind-menu-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #c5a44e;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.mobile-ind-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    padding: 8px;
    cursor: pointer;
}
.mobile-ind-menu-body {
    padding-bottom: 80px;
}
.mobile-ind-menu-section {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.5px;
    padding: 16px 20px 8px;
    background: #f5f5f5;
    font-family: 'Inter', sans-serif;
}
.mobile-ind-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #fff;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.mobile-ind-menu-item:hover,
.mobile-ind-menu-item:active {
    background: #f8f9fa;
    color: #1a1a2e;
}
.mobile-ind-menu-item i {
    color: #9ca3af;
    font-size: 14px;
}
.mobile-ind-menu-item-danger {
    color: #dc3545;
}
.mobile-ind-menu-item-danger i {
    color: #dc3545;
}
.mobile-ind-menu-divider {
    height: 8px;
    background: #f5f5f5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767.98px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .app-main {
        margin-left: 0;
    }
    .content-wrapper {
        padding: 16px;
        padding-bottom: 80px;
    }
}

/* Sidebar collapsed state (desktop toggle) */
.sidebar.collapsed {
    transform: translateX(-100%);
}

/* ============================================================
   STAT CARDS (Dashboard)
   ============================================================ */
.stat-card {
    background: var(--cb-white);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.stat-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--cb-text);
    line-height: 1.1;
}
.stat-card .stat-label {
    font-size: 13px;
    color: var(--cb-text-muted);
    margin-top: 2px;
}

/* Icon Backgrounds */
.bg-primary-subtle { background: #dbeafe; color: #2563eb; }
.bg-success-subtle { background: #d1fae5; color: #059669; }
.bg-warning-subtle { background: #fef3c7; color: #d97706; }
.bg-purple-subtle  { background: #ede9fe; color: #7c3aed; }
.bg-danger-subtle  { background: #fee2e2; color: #dc2626; }
.bg-info-subtle    { background: #dbeafe; color: #3b82f6; }
.bg-gold-subtle    { background: #fef3c7; color: var(--cb-gold); }

/* ============================================================
   WIDGET CARDS
   ============================================================ */
.widget-card {
    background: var(--cb-white);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.widget-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.widget-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.widget-card-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 15px;
    color: var(--cb-text);
}
.widget-card-header .widget-action {
    font-size: 13px;
    color: var(--cb-primary);
    font-weight: 500;
}
.widget-card-body {
    padding: 20px;
}

/* Exchange Rate Rows */
.exchange-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.exchange-row:last-child {
    border-bottom: none;
}
.exchange-row .currency-pair {
    font-size: 14px;
    font-weight: 500;
    color: var(--cb-text);
}
.exchange-row .currency-value {
    font-weight: 600;
    font-size: 14px;
    color: var(--cb-text);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-label {
    font-weight: 500;
    font-size: 13px;
    color: var(--cb-gray-dark);
    margin-bottom: 6px;
}
.form-control,
.form-select {
    border: 1px solid var(--cb-input-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--cb-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--cb-primary);
    box-shadow: 0 0 0 3px rgba(12,74,110,0.1);
    outline: none;
}
.form-control::placeholder {
    color: #9ca3af;
}

/* ============================================================
   BREADCRUMBS (inline fallback)
   ============================================================ */
.breadcrumb {
    font-size: 13px;
    background: transparent;
    padding: 0;
    margin: 0;
}
.breadcrumb a {
    color: var(--cb-primary);
}

/* ============================================================
   TABLE STYLES
   ============================================================ */
.table thead th {
    font-size: 13px;
    font-weight: 600;
    color: var(--cb-gray-dark);
    border-bottom-width: 2px;
}
.table tbody td {
    font-size: 14px;
    vertical-align: middle;
}
.table tbody tr:hover {
    background: #f8fafc;
}

/* ============================================================
   BADGE STYLES
   ============================================================ */
.badge-status {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--cb-navy) 0%, var(--cb-navy-light) 50%, var(--cb-blue-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(0,102,204,0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(0,102,204,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.login-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.login-card {
    background: var(--cb-white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.35);
    position: relative;
    z-index: 1;
}
.login-card .login-logo {
    text-align: center;
    margin-bottom: 28px;
}
.login-card .login-logo img {
    max-height: 50px;
}
.login-card .login-logo h4 {
    color: var(--cb-navy);
    margin-top: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}
.login-card .btn-login {
    background: linear-gradient(135deg, var(--cb-navy) 0%, var(--cb-blue-dark) 100%);
    color: var(--cb-white);
    border: none;
    padding: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,51,102,0.3);
}
.login-card .btn-login:hover {
    background: linear-gradient(135deg, var(--cb-blue-dark) 0%, var(--cb-blue) 100%);
    color: var(--cb-white);
    box-shadow: 0 6px 20px rgba(0,102,204,0.4);
    transform: translateY(-1px);
}
.login-footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--cb-gray);
}

/* ============================================================
   TABLE STYLES
   ============================================================ */
.table thead th {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cb-gray-dark);
    border-bottom-width: 2px;
}
.table tbody td {
    font-size: 0.85rem;
    vertical-align: middle;
}

/* ============================================================
   BADGE STYLES
   ============================================================ */
.badge-status {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ============================================================
   PUBLIC LAYOUT — Header
   ============================================================ */
/* ============================================================
   JASSE PUBLIC — Design Variables
   ============================================================ */
:root {
    --jasse-white: #ffffff;
    --jasse-text: #111827;
    --jasse-text-secondary: #6b7280;
    --jasse-text-light: #374151;
    --jasse-accent: #0c4a6e;
    --jasse-accent-hover: #0a3d5c;
    --jasse-bg-light: #f9fafb;
    --jasse-border: #e5e7eb;
    --jasse-card-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --jasse-card-shadow-hover: 0 12px 24px rgba(0,0,0,0.12);
    --jasse-dark: #0c2d48;
    --jasse-footer-bg: #0a1628;
}

/* ============================================================
   JASSE PUBLIC — Header / Navbar
   ============================================================ */
.public-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}
.public-header.scrolled {
    background: var(--jasse-white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    border-bottom-color: var(--jasse-border);
}
.public-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 110px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    transition: height 0.3s ease;
}
.public-header.scrolled .public-nav,
.public-header.scrolled-force .public-nav {
    height: 72px;
}
.public-nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--jasse-white) !important;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s ease;
    flex-shrink: 0;
}
.public-nav-logo {
    height: 90px;
    object-fit: contain;
    transition: height 0.3s ease;
}
.public-header.scrolled .public-nav-logo,
.public-header.scrolled-force .public-nav-logo {
    height: 48px;
}
.public-nav-logo-dark {
    display: none;
}
.public-header.scrolled .public-nav-logo-white {
    display: none;
}
.public-header.scrolled .public-nav-logo-dark {
    display: block;
}
.public-header.scrolled-force .public-nav-logo-white {
    display: none;
}
.public-header.scrolled-force .public-nav-logo-dark {
    display: block;
}
.public-header.scrolled .public-nav-brand {
    color: var(--jasse-text) !important;
}

/* --- CB JASSE Logo (right side of header) --- */
.public-nav-brand-right {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: auto;
}
.public-nav-logo-cb {
    height: 105px;
    object-fit: contain;
    transition: height 0.3s ease, filter 0.3s ease;
}
/* Transparent/dark header — invert logo to white, blend away white bg */
.public-nav-logo-cb-white {
    filter: brightness(0) invert(1);
    mix-blend-mode: screen;
}
.public-nav-logo-cb-dark {
    display: none;
}
.public-header.scrolled .public-nav-logo-cb,
.public-header.scrolled-force .public-nav-logo-cb {
    height: 48px;
}
/* Scrolled white header — show original colored logo */
.public-header.scrolled .public-nav-logo-cb-white,
.public-header.scrolled-force .public-nav-logo-cb-white {
    display: none;
}
.public-header.scrolled .public-nav-logo-cb-dark,
.public-header.scrolled-force .public-nav-logo-cb-dark {
    display: block;
    filter: none;
    mix-blend-mode: normal;
}

/* --- Fixed Watermark Logos (diagonal, follow scroll) --- */
.watermark-logo {
    position: fixed;
    top: 80px;
    z-index: 0;
    pointer-events: none;
        opacity: 0.10;
}
.watermark-logo img {
    height: 220px;
    object-fit: contain;
}
.watermark-logo-left {
    left: -30px;
    transform: rotate(-15deg);
    transform-origin: top left;
}
.watermark-logo-right {
    right: -30px;
    transform: rotate(15deg);
    transform-origin: top right;
}

@media (max-width: 768px) {
    .public-nav-brand-right {
        display: none;
    }
    .watermark-logo img {
        height: 120px;
    }
    .watermark-logo-left {
        left: -15px;
        top: 60px;
    }
    .watermark-logo-right {
        right: -15px;
        top: 60px;
    }
}

/* Tighter nav for medium screens */
@media (max-width: 1400px) and (min-width: 992px) {
    .public-nav-link {
        font-size: 11px !important;
        padding: 8px 7px !important;
        letter-spacing: 0.2px !important;
    }
    .public-nav-phone {
        font-size: 11px !important;
    }
    .public-nav-btn {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
    .public-nav-logo {
        height: 70px;
    }
    .public-nav-logo-cb {
        height: 80px;
    }
}

.public-nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 0;
}
.public-nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    padding: 8px 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.public-nav-link:hover {
    color: var(--jasse-white) !important;
}
.public-header.scrolled .public-nav-link {
    color: var(--jasse-text) !important;
}
.public-header.scrolled .public-nav-link:hover {
    color: var(--jasse-accent) !important;
}

/* Nav Dropdown */
.public-nav-dropdown {
    position: relative;
    display: inline-flex;
}
.public-nav-dropdown-toggle {
    cursor: pointer;
}
.public-nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    min-width: 180px;
    padding: 8px 0;
    z-index: 1000;
}
.public-nav-dropdown:hover .public-nav-dropdown-menu,
.public-nav-dropdown.open .public-nav-dropdown-menu {
    display: block;
}
.public-nav-dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--jasse-text) !important;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}
.public-nav-dropdown-item:hover {
    background: var(--jasse-bg-light, #f8f9fa);
    color: var(--jasse-accent) !important;
}

.public-nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.public-nav-phone {
    color: rgba(255,255,255,0.85) !important;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.public-header.scrolled .public-nav-phone {
    color: var(--jasse-text) !important;
}
/* Auth buttons in public header */
.public-nav-btn {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.public-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.public-nav-btn:hover::before {
    left: 100%;
}
.public-nav-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}
.public-nav-btn:hover i {
    transform: translateX(-2px);
}
/* Login button: ghost style */
.public-nav-btn-login {
    color: rgba(255,255,255,0.9) !important;
    border: 1.5px solid rgba(255,255,255,0.35);
    background: transparent;
}
.public-nav-btn-login:hover {
    color: #fff !important;
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
    transform: translateY(-1px);
}
/* Register button: solid accent */
.public-nav-btn-register {
    color: #fff !important;
    border: 1.5px solid transparent;
    background: linear-gradient(135deg, #0c4a6e, #0e7490);
    box-shadow: 0 2px 10px rgba(12,74,110,0.3);
}
.public-nav-btn-register:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #0e7490, #0891b2);
    box-shadow: 0 4px 20px rgba(14,116,144,0.4);
    transform: translateY(-2px);
}
/* Scrolled state: dark header */
.public-header.scrolled .public-nav-btn-login {
    color: var(--jasse-accent) !important;
    border-color: var(--jasse-accent);
    background: transparent;
}
.public-header.scrolled .public-nav-btn-login:hover {
    color: #fff !important;
    background: var(--jasse-accent);
}
.public-header.scrolled .public-nav-btn-register {
    background: linear-gradient(135deg, #0c4a6e, #0e7490);
}
.public-header.scrolled .public-nav-btn-register:hover {
    background: linear-gradient(135deg, #0e7490, #0891b2);
}
/* scrolled-force state */
.public-header.scrolled-force .public-nav-btn-login {
    color: var(--jasse-accent) !important;
    border-color: var(--jasse-accent);
}
.public-header.scrolled-force .public-nav-btn-login:hover {
    color: #fff !important;
    background: var(--jasse-accent);
}
/* Animation on page load */
@keyframes navBtnFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.public-nav-btn-login { animation: navBtnFadeIn 0.6s ease 0.2s both; }
.public-nav-btn-register { animation: navBtnFadeIn 0.6s ease 0.35s both; }
.public-nav-mobile-auth { display: none; }

/* Logged-in user button in public nav */
.public-nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 5px 14px 5px 5px;
    color: rgba(255,255,255,0.9);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: navBtnFadeIn 0.6s ease 0.2s both;
}
.public-nav-user-btn:hover,
.public-nav-user-btn.show {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.public-nav-user-btn::after {
    font-size: 10px;
    margin-left: 2px;
}
.public-nav-user-photo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}
.public-nav-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}
.public-nav-user-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.public-header.scrolled .public-nav-user-btn {
    color: var(--jasse-text);
    border-color: #e2e8f0;
}
.public-header.scrolled .public-nav-user-btn:hover,
.public-header.scrolled .public-nav-user-btn.show {
    border-color: var(--jasse-accent);
    background: rgba(12,74,110,0.05);
    color: var(--jasse-accent);
}
.public-header.scrolled .public-nav-user-avatar {
    background: var(--jasse-accent);
    color: #fff;
}
.public-header.scrolled-force .public-nav-user-btn {
    color: var(--jasse-text);
    border-color: #e2e8f0;
}
.public-user-dropdown {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 8px 0;
    min-width: 220px;
    animation: navBtnFadeIn 0.2s ease;
}
.public-user-dropdown .dropdown-header {
    padding: 10px 16px;
}
.public-user-dropdown .dropdown-item {
    padding: 8px 16px;
    font-size: 13px;
    transition: all 0.15s ease;
}
.public-user-dropdown .dropdown-item:hover {
    background: #f0f9ff;
    color: #0c4a6e;
}
.public-user-dropdown .dropdown-item i {
    width: 18px;
    text-align: center;
    opacity: 0.6;
}
.public-user-dropdown .dropdown-item:hover i {
    opacity: 1;
}

/* Legacy compat */
.public-nav-login {
    color: rgba(255,255,255,0.85) !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}
.public-header.scrolled .public-nav-login {
    color: var(--jasse-accent) !important;
}
.public-nav-login:hover {
    color: var(--jasse-white) !important;
}
.public-header.scrolled .public-nav-login:hover {
    color: var(--jasse-accent-hover) !important;
}
.public-nav-lang {
    color: rgba(255,255,255,0.6) !important;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0 4px;
}
.public-nav-lang.active {
    color: var(--jasse-white) !important;
}
.public-header.scrolled .public-nav-lang {
    color: var(--jasse-text-secondary) !important;
}
.public-header.scrolled .public-nav-lang.active {
    color: var(--jasse-text) !important;
}

/* Mobile Nav Toggle */
.public-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--jasse-white);
    cursor: pointer;
    transition: color 0.3s ease;
}
.public-header.scrolled .public-nav-toggle {
    color: var(--jasse-text);
}

@media (max-width: 991px) {
    .public-nav-center {
        display: none;
    }
    .public-nav-phone {
        display: none;
    }
    .public-nav-btn {
        display: none;
    }
    .public-nav-user-btn {
        display: flex;
        padding: 4px;
        border: none;
    }
    .public-nav-user-name {
        display: none;
    }
    .public-nav-user-btn::after {
        display: none;
    }
    .public-nav-toggle {
        display: block;
    }
    .public-nav-center.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--jasse-white);
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
        padding: 16px 24px;
        gap: 4px;
    }
    .public-nav-center.active .public-nav-link {
        color: var(--jasse-text) !important;
        padding: 12px 16px;
        border-radius: 8px;
    }
    .public-nav-center.active .public-nav-link:hover {
        color: var(--jasse-accent) !important;
        background: var(--jasse-bg-light);
    }
    .public-nav-mobile-auth {
        display: none;
    }
    .public-nav-center.active .public-nav-mobile-auth {
        display: flex;
        gap: 10px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #eee;
    }
    .public-nav-center.active .public-nav-btn {
        display: inline-flex;
        animation: none;
        flex: 1;
        justify-content: center;
    }
    .public-nav-center.active .public-nav-btn-login {
        color: var(--jasse-accent) !important;
        border-color: var(--jasse-accent);
    }
    /* Mobile dropdown */
    .public-nav-center.active .public-nav-dropdown {
        flex-direction: column;
        width: 100%;
    }
    .public-nav-center.active .public-nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: var(--jasse-bg-light, #f8f9fa);
        border-radius: 8px;
        margin: 0 0 4px 16px;
        padding: 4px 0;
        display: none;
    }
    .public-nav-center.active .public-nav-dropdown.open .public-nav-dropdown-menu {
        display: block;
    }
    .public-nav-center.active .public-nav-dropdown-item {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ============================================================
   JASSE PUBLIC — Hero Section (Sotheby's Cinematic)
   ============================================================ */
.jasse-hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jasse-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.jasse-hero-slides {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.jasse-hero-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.12);
    transition: opacity 1.5s ease, transform 12s ease;
}
.jasse-hero-slide.active {
    opacity: 1;
    transform: scale(1);
}
.jasse-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(160deg, rgba(6,25,45,0.88) 0%, rgba(12,74,110,0.72) 50%, rgba(14,116,144,0.55) 100%);
    z-index: 1;
    pointer-events: none;
}
/* Floating particles */
.jasse-hero-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.jasse-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    animation: particleFloat linear infinite;
}
.jasse-particle-1 { width: 300px; height: 300px; top: -100px; right: -80px; animation-duration: 20s; }
.jasse-particle-2 { width: 200px; height: 200px; bottom: -60px; left: -40px; animation-duration: 25s; animation-delay: -5s; }
.jasse-particle-3 { width: 120px; height: 120px; top: 30%; left: 10%; animation-duration: 18s; animation-delay: -8s; }
.jasse-particle-4 { width: 80px; height: 80px; top: 20%; right: 20%; animation-duration: 22s; animation-delay: -12s; }
@keyframes particleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    25% { transform: translateY(-30px) rotate(90deg); opacity: 0.8; }
    50% { transform: translateY(-15px) rotate(180deg); opacity: 0.4; }
    75% { transform: translateY(-40px) rotate(270deg); opacity: 0.7; }
}
/* Accent line */
.jh-accent-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #22d3ee);
    margin-bottom: 28px;
    animation: heroFadeUp 0.6s ease 0.1s both;
}
/* Text slides */
.jasse-hero-text-slides {
    position: relative;
    width: 100%;
    min-height: 170px;
    margin-bottom: 16px;
}
.jasse-hero-text-slide {
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.jasse-hero-text-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}
.jasse-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--jasse-white);
    margin: 0 0 18px 0;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.jasse-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
/* Indicators */
.jasse-hero-indicators {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 32px;
    animation: heroFadeUp 0.8s ease 1s both;
}
.jasse-hero-indicator {
    width: 32px;
    height: 3px;
    border: none;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.4s ease;
}
.jasse-hero-indicator.active {
    width: 52px;
    background: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.4);
}
.jasse-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 24px;
    max-width: 900px;
}
/* Search bar */
.jasse-hero-search {
    max-width: 720px;
    width: 100%;
    animation: heroFadeUp 0.8s ease 0.5s both;
}
.jasse-hero-search-inner {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-radius: 60px;
    padding: 6px 6px 6px 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
}
.jasse-hero-search-icon {
    color: #94a3b8;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}
.jasse-hero-search input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    padding: 14px 0;
    color: var(--jasse-text);
    background: transparent;
}
.jasse-hero-search input::placeholder {
    color: #94a3b8;
}
.jasse-hero-search-btn {
    background: linear-gradient(135deg, #0c4a6e, #0e7490);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.jasse-hero-search-btn:hover {
    background: linear-gradient(135deg, #0e7490, #0891b2);
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(14,116,144,0.4);
}
/* Minimal category links */
.jh-categories {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin-top: 24px;
    animation: heroFadeUp 0.8s ease 0.7s both;
}
.jh-cat {
    color: rgba(255,255,255,0.55);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}
.jh-cat::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #0ea5e9, #22d3ee);
    transition: width 0.3s ease;
}
.jh-cat:hover {
    color: #fff;
}
.jh-cat:hover::after {
    width: 100%;
}
/* Stats bar — bottom of hero */
.jh-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.08);
    animation: heroFadeUp 0.8s ease 1s both;
}
.jh-stats-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    padding: 18px 24px;
}
.jh-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.jh-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.jh-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
/* Scroll cue */
.jh-scroll-cue {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: heroFadeUp 0.8s ease 1.2s both;
}
.jh-scroll-cue span {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .jasse-hero-title { font-size: 32px; }
    .jasse-hero-subtitle { font-size: 15px; }
    .jasse-hero-search-inner {
        flex-direction: column;
        border-radius: 16px;
        padding: 8px;
    }
    .jasse-hero-search-icon { display: none; }
    .jasse-hero-search input { width: 100%; padding: 12px 16px; }
    .jasse-hero-search-btn { width: 100%; justify-content: center; border-radius: 12px; padding: 12px; }
    .jh-categories { gap: 16px; flex-wrap: wrap; }
    .jh-cat { font-size: 12px; }
    .jh-stat-num { font-size: 20px; }
    .jh-stat-label { font-size: 9px; }
    .jh-scroll-cue { display: none; }
    .jasse-hero-particles { display: none; }
}

/* ============================================================
   JASSE PUBLIC — Quick Categories
   ============================================================ */
.jasse-categories {
    background: var(--jasse-white);
    padding: 60px 0;
}
.jasse-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}
.jasse-cat-card {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}
.jasse-cat-card-bg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}
.jasse-cat-card:hover .jasse-cat-card-bg {
    transform: scale(1.03);
}
.jasse-cat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    pointer-events: none;
}
.jasse-cat-card-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 1;
    color: var(--jasse-white);
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
}
.jasse-cat-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .jasse-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .jasse-cat-card-label {
        font-size: 16px;
        bottom: 14px;
        left: 14px;
    }
}

/* ============================================================
   JASSE PUBLIC — Why JASSE (Trust Section)
   ============================================================ */
.jasse-why {
    background: var(--jasse-white);
    padding: 80px 0;
    text-align: center;
}
.jasse-why-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.jasse-why h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--jasse-dark);
    margin-bottom: 10px;
}
.jasse-why-subtitle {
    font-size: 16px;
    color: var(--jasse-text-secondary);
    margin-bottom: 48px;
}
.jasse-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.jasse-why-card {
    padding: 36px 24px;
    border-radius: 16px;
    background: var(--jasse-bg-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jasse-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.jasse-why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--jasse-accent), #d4b896);
    color: white;
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.jasse-why-card h5 {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--jasse-dark);
    margin-bottom: 10px;
}
.jasse-why-card p {
    font-size: 14px;
    color: var(--jasse-text-secondary);
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 991px) {
    .jasse-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .jasse-why-grid { grid-template-columns: 1fr; gap: 20px; }
    .jasse-why h2 { font-size: 26px; }
}

/* ============================================================
   JASSE PUBLIC — Scroll Animations
   ============================================================ */
.jasse-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.jasse-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   JASSE PUBLIC — Featured Listings (Zillow Style)
   ============================================================ */
.jasse-listings {
    background: var(--jasse-bg-light);
    padding: 80px 0;
}
.jasse-listings-fullwidth {
    background: var(--jasse-bg-light);
    padding: 60px 0;
}
.jasse-btn-outline-lg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 32px;
    border: 2px solid #1a1a2e;
    border-radius: 8px;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}
.jasse-btn-outline-lg:hover {
    background: #1a1a2e;
    color: #fff;
}
.jasse-listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 24px;
}
.jasse-listings-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--jasse-text);
    margin: 0;
}
.jasse-listings-header a {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--jasse-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.jasse-listings-header a:hover {
    color: var(--jasse-accent-hover);
}
.jasse-listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.jasse-listing-card {
    background: var(--jasse-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--jasse-card-shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}
.jasse-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jasse-card-shadow-hover);
}
.jasse-listing-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}
.jasse-listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.jasse-listing-card:hover .jasse-listing-img img {
    transform: scale(1.05);
}
.jasse-listing-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #9ca3af;
    font-size: 3rem;
}
.jasse-listing-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--jasse-accent);
    color: var(--jasse-white);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
}
.jasse-listing-badge-rent {
    background: #0891b2;
}
.jasse-listing-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--jasse-text-secondary);
    font-size: 16px;
    transition: all 0.2s;
}
.jasse-listing-fav:hover {
    color: #ef4444;
    background: var(--jasse-white);
}
.jasse-listing-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
}
.jasse-listing-price {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #1a3a5c;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}
.jasse-listing-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jasse-listing-location {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}
.jasse-listing-location i {
    color: #ef4444;
    font-size: 11px;
}
.jasse-listing-specs {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.jasse-listing-specs span {
    display: flex;
    align-items: center;
    gap: 2px;
}
.jasse-listing-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--jasse-text-secondary);
    flex-shrink: 0;
}
.jasse-listing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--jasse-border);
}
.jasse-listing-agent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--jasse-text-secondary);
}
.jasse-listing-agent-photo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.jasse-listing-agent-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--jasse-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--jasse-text-secondary);
}
.jasse-listing-type-badge {
    font-size: 12px;
    font-weight: 500;
    color: var(--jasse-accent);
    background: rgba(193, 163, 120, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .jasse-listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .jasse-listings-grid {
        grid-template-columns: 1fr;
    }
    .jasse-listings-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ============================================================
   JASSE PUBLIC — Stats Section (Sotheby's Minimal)
   ============================================================ */
.jasse-stats {
    background: var(--jasse-white);
    padding: 80px 0;
    text-align: center;
}
.jasse-stats-divider {
    width: 60px;
    height: 2px;
    background: var(--jasse-accent);
    margin: 0 auto 24px;
}
.jasse-stats h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--jasse-text);
    margin: 0 0 48px 0;
}
.jasse-stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}
.jasse-stat-item {
    flex: 1;
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid var(--jasse-border);
}
.jasse-stat-item:last-child {
    border-right: none;
}
.jasse-stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--jasse-accent);
    line-height: 1;
    margin-bottom: 8px;
}
.jasse-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--jasse-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .jasse-stats-grid {
        flex-wrap: wrap;
    }
    .jasse-stat-item {
        flex: none;
        width: 50%;
        border-right: none;
        padding: 16px;
    }
    .jasse-stat-number {
        font-size: 36px;
    }
}

/* ============================================================
   JASSE PUBLIC — Agents Section (Sotheby's Style)
   ============================================================ */
.jasse-agents {
    background: var(--jasse-bg-light);
    padding: 80px 0;
    text-align: center;
}
.jasse-agents h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--jasse-text);
    margin: 0 0 8px 0;
}
.jasse-agents-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--jasse-text-secondary);
    margin: 0 0 48px 0;
}
.jasse-agents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 24px;
}
.jasse-agent-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.jasse-agent-photo {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
    border-radius: 8px;
    overflow: hidden;
}
.jasse-agent-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.jasse-agent-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(12, 74, 110, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}
.jasse-agent-card:hover .jasse-agent-overlay {
    opacity: 1;
}
.jasse-agent-overlay-btn {
    color: var(--jasse-white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--jasse-white);
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}
.jasse-agent-overlay-btn:hover {
    background: var(--jasse-white);
    color: var(--jasse-accent);
}
.jasse-agent-info {
    padding: 14px 0 0;
    text-align: center;
}
.jasse-agent-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--jasse-text);
    margin-bottom: 2px;
}
.jasse-agent-role {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--jasse-text-secondary);
}
.jasse-agents-more {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--jasse-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.jasse-agents-more:hover {
    color: var(--jasse-accent-hover);
}

@media (max-width: 991px) {
    .jasse-agents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .jasse-agents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ============================================================
   JASSE PUBLIC — Testimonials (Minimal Carousel)
   ============================================================ */
.jasse-testimonials {
    background: var(--jasse-white);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}
.jasse-testimonials-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}
.jasse-testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    color: var(--jasse-border);
    line-height: 1;
    margin-bottom: -20px;
}
.jasse-testimonial-slides {
    position: relative;
    min-height: 160px;
}
.jasse-testimonial-slide {
    display: none;
}
.jasse-testimonial-slide.active {
    display: block;
    animation: fadeInUp 0.5s ease forwards;
}
.jasse-testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
    font-size: 18px;
    color: #f59e0b;
}
.jasse-testimonial-text {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-style: italic;
    color: var(--jasse-text);
    line-height: 1.6;
    margin-bottom: 20px;
}
.jasse-testimonial-author {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--jasse-text-secondary);
}
.jasse-testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}
.jasse-testimonial-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--jasse-border);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jasse-text-secondary);
    font-size: 16px;
    transition: all 0.2s;
}
.jasse-testimonial-arrow:hover {
    border-color: var(--jasse-accent);
    color: var(--jasse-accent);
}
.jasse-testimonial-dots {
    display: flex;
    gap: 8px;
}
.jasse-testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--jasse-border);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}
.jasse-testimonial-dot.active {
    background: var(--jasse-accent);
}

/* ============================================================
   JASSE PUBLIC — CTA Section (Career)
   ============================================================ */
.jasse-cta {
    background: var(--jasse-dark);
    padding: 80px 0;
    color: var(--jasse-white);
}
.jasse-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.jasse-cta-tag {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}
.jasse-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--jasse-white);
    margin: 0 0 16px 0;
    line-height: 1.2;
}
.jasse-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 32px 0;
    max-width: 500px;
    line-height: 1.7;
}
.jasse-cta-btn {
    display: inline-block;
    border: 1px solid var(--jasse-white);
    background: transparent;
    color: var(--jasse-white);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 40px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.jasse-cta-btn:hover {
    background: var(--jasse-white);
    color: var(--jasse-dark);
}
.jasse-cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}
.jasse-cta-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.jasse-cta-logo img {
    max-width: 300px;
    opacity: 0.25;
}
@media (max-width: 768px) {
    .jasse-cta-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .jasse-cta-logo {
        order: -1;
    }
    .jasse-cta-logo img {
        max-width: 180px;
    }
}

/* ============================================================
   JASSE PUBLIC — Footer
   ============================================================ */
.jasse-footer {
    background: var(--jasse-footer-bg);
    padding: 60px 0 0;
    color: rgba(255,255,255,0.6);
    font-family: 'Inter', sans-serif;
}
.jasse-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.jasse-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}
.jasse-footer-brand {
    margin-bottom: 12px;
}
.jasse-footer-logo {
    height: 93px;
    object-fit: contain;
}
.jasse-footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}
.jasse-footer-social {
    display: flex;
    gap: 10px;
}
.jasse-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}
.jasse-footer-social a:hover {
    border-color: var(--jasse-white);
    color: var(--jasse-white);
}
.jasse-footer h6 {
    color: var(--jasse-white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.jasse-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.jasse-footer-links li {
    margin-bottom: 0;
}
.jasse-footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
    line-height: 2.2;
    display: block;
}
.jasse-footer-links a:hover {
    color: var(--jasse-white);
}
.jasse-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}
.jasse-footer-contact-item i {
    margin-top: 3px;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
}
.jasse-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}
.jasse-footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}
.jasse-footer-bottom a:hover {
    color: rgba(255,255,255,0.8);
}
.jasse-footer-policies {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .jasse-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .jasse-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   JASSE PUBLIC — Floating WhatsApp
   ============================================================ */
.jasse-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1030;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jasse-white);
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}
.jasse-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    color: var(--jasse-white);
}
@media (max-width: 767.98px) {
    .jasse-whatsapp { bottom: 76px; }
    body:has(.mobile-tab-bar) .jasse-footer { padding-bottom: 64px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}
.animate-slide-in {
    animation: slideInLeft 0.6s ease forwards;
}

/* ============================================================
   JASSE PUBLIC — Shared Page Styles
   ============================================================ */
.jasse-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.jasse-page-header {
    padding: 100px 0 0;
    background: var(--jasse-white);
    border-bottom: 1px solid var(--jasse-border);
}
.jasse-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--jasse-text);
    margin: 0 0 4px 0;
}
.jasse-page-count {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--jasse-text-secondary);
    margin: 0 0 24px 0;
}
.jasse-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--jasse-text-secondary);
}
.jasse-empty-state i {
    font-size: 3rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 16px;
}
.jasse-empty-state p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    margin: 0;
}
.jasse-empty-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--jasse-text-secondary);
    margin: 0;
}

/* ============================================================
   JASSE PUBLIC — Breadcrumb
   ============================================================ */
.jasse-breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--jasse-text-secondary);
    margin-bottom: 8px;
}
.jasse-breadcrumb a {
    color: var(--jasse-accent);
    text-decoration: none;
}
.jasse-breadcrumb a:hover {
    text-decoration: underline;
}
.jasse-breadcrumb span {
    margin: 0 6px;
}

/* ============================================================
   JASSE PUBLIC — Listings Page (Sahibinden Layout)
   ============================================================ */
.jasse-listings-page {
    background: var(--jasse-bg-light);
    padding: 32px 0 80px;
}
.jasse-listings-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* --- Filter Toggle (mobile only) --- */
.jasse-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: var(--jasse-white);
    border: 1px solid var(--jasse-border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--jasse-text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* --- Filter Overlay (mobile) --- */
.jasse-filter-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 1040;
}
.jasse-filter-overlay.active {
    display: block;
}

/* ============================================================
   JASSE PUBLIC — Sidebar Filters
   ============================================================ */
.jasse-listings-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--jasse-white);
    border: 1px solid var(--jasse-border);
    border-radius: 8px;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.jasse-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--jasse-border);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--jasse-text);
}
.jasse-sidebar-close {
    display: none;
    background: none;
    border: none;
    font-size: 16px;
    color: var(--jasse-text-secondary);
    cursor: pointer;
    padding: 4px;
}
.jasse-sidebar-section {
    border-bottom: 1px solid var(--jasse-border);
}
.jasse-sidebar-section summary {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--jasse-text);
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.jasse-sidebar-section summary::-webkit-details-marker {
    display: none;
}
.jasse-sidebar-section summary::after {
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-size: 12px;
    color: var(--jasse-text-secondary);
    transition: transform 0.2s;
}
.jasse-sidebar-section[open] summary::after {
    transform: rotate(180deg);
}
.jasse-sidebar-section-body {
    padding: 0 16px 14px;
}
.jasse-sidebar-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--jasse-text-light);
    cursor: pointer;
}
.jasse-sidebar-checkbox input[type="checkbox"],
.jasse-sidebar-checkbox input[type="radio"] {
    accent-color: var(--jasse-accent);
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
}
.jasse-sidebar-input {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    background: var(--jasse-white);
    color: var(--jasse-text);
    transition: border-color 0.2s;
}
.jasse-sidebar-input:focus {
    border-color: var(--jasse-accent);
}
.jasse-sidebar-range {
    display: flex;
    gap: 8px;
    align-items: center;
}
.jasse-sidebar-range input {
    flex: 1;
    min-width: 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 9px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    background: var(--jasse-white);
    color: var(--jasse-text);
    transition: border-color 0.2s;
}
.jasse-sidebar-range input:focus {
    border-color: var(--jasse-accent);
}
.jasse-sidebar-range-sep {
    color: var(--jasse-text-secondary);
    font-size: 14px;
}
.jasse-sidebar-select {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 9px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    background: var(--jasse-white);
    color: var(--jasse-text);
    transition: border-color 0.2s;
}
.jasse-sidebar-select:focus {
    border-color: var(--jasse-accent);
}
.jasse-sidebar-room-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
}
.jasse-sidebar-actions {
    padding: 16px;
}
.jasse-sidebar-btn {
    width: 100%;
    padding: 11px;
    background: var(--jasse-accent);
    color: var(--jasse-white);
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.jasse-sidebar-btn:hover {
    background: var(--jasse-accent-hover);
}
.jasse-sidebar-clear {
    display: block;
    text-align: center;
    padding: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--jasse-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.jasse-sidebar-clear:hover {
    color: var(--jasse-accent);
}

/* ============================================================
   JASSE PUBLIC — Listings Main Area
   ============================================================ */
.jasse-listings-main {
    flex: 1;
    min-width: 0;
}
.jasse-listings-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 991px) {
    .jasse-listings-results {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .jasse-listings-results {
        grid-template-columns: 1fr;
    }
}
/* List view override */
.jasse-view-list .jasse-listings-results {
    grid-template-columns: 1fr;
}

/* --- Toolbar --- */
.jasse-listings-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--jasse-white);
    border: 1px solid var(--jasse-border);
    border-radius: 8px;
}
.jasse-results-count {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--jasse-text-secondary);
}
.jasse-results-count strong {
    color: var(--jasse-text);
    font-weight: 700;
}
.jasse-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.jasse-sort-select {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 7px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: var(--jasse-white);
    color: var(--jasse-text);
    outline: none;
    cursor: pointer;
}
.jasse-sort-select:focus {
    border-color: var(--jasse-accent);
}
.jasse-view-toggle {
    display: flex;
    border: 1px solid var(--jasse-border);
    border-radius: 6px;
    overflow: hidden;
}
.jasse-view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jasse-white);
    border: none;
    cursor: pointer;
    color: var(--jasse-text-secondary);
    font-size: 16px;
    transition: all 0.2s;
}
.jasse-view-btn + .jasse-view-btn {
    border-left: 1px solid var(--jasse-border);
}
.jasse-view-btn.active {
    background: var(--jasse-accent);
    color: var(--jasse-white);
}

/* ============================================================
   JASSE PUBLIC — List View (Sahibinden Style)
   ============================================================ */
.jasse-view-list .jasse-listing-card {
    display: flex;
    flex-direction: row;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid var(--jasse-border);
    background: var(--jasse-white);
    overflow: hidden;
    transition: border-color 0.2s;
    box-shadow: none;
}
.jasse-view-list .jasse-listing-card:hover {
    border-color: var(--jasse-accent);
    transform: none;
    box-shadow: none;
}
.jasse-view-list .jasse-listing-img {
    width: 260px;
    height: 200px;
    flex-shrink: 0;
    aspect-ratio: auto;
}
.jasse-view-list .jasse-listing-body {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.jasse-view-list .jasse-listing-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--jasse-text);
    margin-bottom: 8px;
    -webkit-line-clamp: 1;
}
.jasse-view-list .jasse-listing-price {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--jasse-accent);
}
.jasse-view-list .jasse-listing-specs {
    margin-bottom: 8px;
}

/* --- Opportunity badge --- */
.jasse-listing-badge-opportunity {
    background: #dc2626;
    top: 12px;
    left: auto;
    right: 56px;
}
/* --- Photo count --- */
.jasse-listing-photo-count {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- Boosted listing --- */
.jasse-listing-card.is-boosted {
    border-left: 3px solid var(--jasse-accent);
}

/* --- Boost: Öne Çıkan (Featured) --- */
.jasse-listing-card.boost-featured {
    border: 2px solid #c5a44e;
    box-shadow: 0 4px 20px rgba(197, 164, 78, 0.2);
    position: relative;
}
.jasse-listing-card.boost-featured::before {
    content: '★ Öne Çıkan';
    position: absolute;
    top: 12px;
    right: 0;
    background: linear-gradient(135deg, #c5a44e, #d4b85a);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 12px 3px 8px;
    border-radius: 4px 0 0 4px;
    z-index: 5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: -2px 2px 6px rgba(197, 164, 78, 0.3);
}

/* --- Boost: Üst Sıra (Top Placement) --- */
.jasse-listing-card.boost-top {
    border-top: 3px solid #0c4a6e;
    position: relative;
}
.jasse-listing-card.boost-top::before {
    content: '▲ Üst Sıra';
    position: absolute;
    top: 0;
    left: 12px;
    background: #0c4a6e;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 0 0 4px 4px;
    z-index: 5;
    letter-spacing: 0.5px;
}

/* --- Boost: Kalın Başlık (Bold Title) --- */
.jasse-listing-card.boost-bold .jasse-listing-title,
.jasse-listing-card.boost-bold .jasse-listing-card-body h5,
.jasse-listing-card.boost-bold .jasse-listing-card-body h6,
.jasse-listing-card.boost-bold .jasse-listing-card-body .fw-bold {
    font-weight: 800 !important;
    font-size: 1.1em !important;
    color: #0f172a;
}

/* --- Boost: Çerçeveli İlan (Border Highlight) --- */
.jasse-listing-card.boost-border {
    border: 2px solid #dc2626;
    position: relative;
    overflow: hidden;
}
.jasse-listing-card.boost-border .jasse-listing-img-wrap,
.jasse-listing-card.boost-border .jasse-listing-card-image {
    border: 3px solid #dc2626;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.15);
}
.jasse-listing-card.boost-border::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(220, 38, 38, 0.03) 50%, transparent 70%);
    animation: boostGlow 3s ease-in-out infinite;
    pointer-events: none;
}
@keyframes boostGlow {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* ============================================================
   JASSE PUBLIC — Grid View
   ============================================================ */
.jasse-view-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.jasse-view-grid .jasse-listing-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid var(--jasse-border);
    background: var(--jasse-white);
    overflow: hidden;
    transition: border-color 0.2s;
    box-shadow: none;
}
.jasse-view-grid .jasse-listing-card:hover {
    border-color: var(--jasse-accent);
    transform: none;
    box-shadow: none;
}
.jasse-view-grid .jasse-listing-img {
    width: 100%;
    aspect-ratio: 16/10;
}

/* ============================================================
   JASSE PUBLIC — Listing Card Shared (footer, agent)
   ============================================================ */
.jasse-listing-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid #f3f4f6;
}
.jasse-listing-agent-name {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--jasse-text-secondary);
    font-weight: 500;
}
.jasse-listing-no {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #9ca3af;
}

/* ============================================================
   JASSE PUBLIC — Pagination
   ============================================================ */
.jasse-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 32px;
    padding: 0;
}
.jasse-page-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--jasse-text-secondary);
    text-decoration: none;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.jasse-page-link:hover {
    color: var(--jasse-accent);
    background: rgba(12, 74, 110, 0.06);
}
.jasse-page-link.active {
    background: var(--jasse-accent);
    color: var(--jasse-white);
}
.jasse-page-link:first-child,
.jasse-page-link:last-child {
    width: auto;
    border-radius: 8px;
    padding: 0 16px;
    gap: 6px;
}

/* ============================================================
   JASSE PUBLIC — Listings Responsive
   ============================================================ */
@media (max-width: 991px) {
    .jasse-filter-toggle {
        display: flex;
    }
    .jasse-listings-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        max-height: 100vh;
        z-index: 1050;
        border-radius: 0;
        border: none;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
        transition: left 0.3s ease;
    }
    .jasse-listings-sidebar.open {
        left: 0;
    }
    .jasse-sidebar-close {
        display: block;
    }
    .jasse-view-list .jasse-listing-img {
        width: 180px;
        height: 170px;
    }
    .jasse-view-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .jasse-view-list .jasse-listing-card {
        flex-direction: column;
    }
    .jasse-view-list .jasse-listing-img {
        width: 100%;
        aspect-ratio: 16/10;
        min-height: auto;
    }
    .jasse-view-grid {
        grid-template-columns: 1fr;
    }
    .jasse-listings-toolbar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .jasse-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================================
   JASSE PUBLIC — Agents Page
   ============================================================ */
.jasse-agents-page-header {
    padding: 100px 0 0;
    background: var(--jasse-white);
    text-align: center;
}
.jasse-agents-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--jasse-text);
    margin: 0 0 8px 0;
}
.jasse-agents-page-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--jasse-text-secondary);
    margin: 0 0 32px 0;
}
.jasse-agents-search-bar {
    max-width: 600px;
    margin: 0 auto 16px;
    display: flex;
    background: var(--jasse-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    padding: 6px;
}
.jasse-agents-search-input {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    padding: 12px 16px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--jasse-text);
    min-width: 0;
}
.jasse-agents-search-input::placeholder {
    color: var(--jasse-text-secondary);
}
.jasse-agents-search-btn {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    background: var(--jasse-accent);
    color: var(--jasse-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.jasse-agents-search-btn:hover {
    background: var(--jasse-accent-hover);
}
.jasse-agents-page-count {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--jasse-text-secondary);
    margin: 0 0 0;
    padding-bottom: 32px;
}
.jasse-agents-page {
    background: var(--jasse-bg-light);
    padding: 48px 0 80px;
}
.jasse-agents-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.jasse-agent-page-card {
    background: var(--jasse-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--jasse-card-shadow);
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}
.jasse-agent-page-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jasse-card-shadow-hover);
}
.jasse-agent-page-photo {
    position: relative;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
    overflow: hidden;
}
.jasse-agent-page-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.jasse-agent-page-card:hover .jasse-agent-page-photo img {
    transform: scale(1.03);
}
.jasse-agent-page-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--jasse-white);
    background: linear-gradient(135deg, var(--jasse-accent), var(--jasse-dark));
}
.jasse-agent-page-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(12, 74, 110, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.jasse-agent-page-card:hover .jasse-agent-page-overlay {
    opacity: 1;
}
.jasse-agent-page-overlay-btn {
    color: var(--jasse-white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--jasse-white);
    padding: 10px 24px;
    border-radius: 6px;
    transition: all 0.2s;
}
.jasse-agent-page-card:hover .jasse-agent-page-overlay-btn:hover {
    background: var(--jasse-white);
    color: var(--jasse-accent);
}
.jasse-agent-page-info {
    padding: 16px;
    text-align: center;
}
.jasse-agent-page-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--jasse-text);
    margin-bottom: 2px;
}
.jasse-agent-page-title-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--jasse-accent);
    margin-bottom: 4px;
}
.jasse-agent-page-role {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--jasse-text-secondary);
    margin-bottom: 4px;
}
.jasse-agent-page-office {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 8px;
}
.jasse-agent-page-expertise {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--jasse-accent);
    background: rgba(12, 74, 110, 0.08);
    padding: 3px 10px;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .jasse-agents-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .jasse-agents-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 480px) {
    .jasse-agents-search-bar {
        flex-direction: column;
    }
}

/* ============================================================
   JASSE PUBLIC — Listing Detail Page
   ============================================================ */

/* Gallery */
.jasse-detail-gallery {
    padding-top: 72px;
}
.jasse-gallery-single {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    cursor: pointer;
}
.jasse-gallery-single img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.jasse-gallery-single:hover img {
    transform: scale(1.02);
}
.jasse-gallery-grid {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 4px;
    max-height: 500px;
    overflow: hidden;
}
.jasse-gallery-main {
    cursor: pointer;
    overflow: hidden;
}
.jasse-gallery-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.jasse-gallery-main:hover img {
    transform: scale(1.02);
}
.jasse-gallery-side {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.jasse-gallery-thumb {
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.jasse-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.jasse-gallery-thumb:hover img {
    transform: scale(1.03);
}
.jasse-gallery-more {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jasse-white);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    gap: 8px;
}
.jasse-gallery-view-all {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    transition: background 0.3s ease;
    z-index: 2;
}
.jasse-gallery-view-all i {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.jasse-gallery-view-all span {
    font-size: 14px;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}
.jasse-gallery-side:hover .jasse-gallery-view-all {
    background: rgba(0,0,0,0.6);
}
.jasse-gallery-side:hover .jasse-gallery-view-all span {
    background: rgba(255,255,255,0.3);
}
.jasse-gallery-placeholder {
    padding: 100px 0 60px;
    text-align: center;
    background: var(--jasse-bg-light);
    color: var(--jasse-text-secondary);
}
.jasse-gallery-placeholder i {
    font-size: 3rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 12px;
}
.jasse-gallery-placeholder span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

@media (max-width: 768px) {
    .jasse-gallery-grid {
        grid-template-columns: 1fr;
        max-height: none;
    }
    .jasse-gallery-main img {
        height: 300px;
    }
    .jasse-gallery-side {
        flex-direction: row;
    }
    .jasse-gallery-thumb {
        height: 120px;
    }
}

/* Detail Content Layout */
.jasse-detail-content {
    padding: 40px 0 80px;
    background: var(--jasse-white);
    overflow-x: hidden;
}
.jasse-detail-main,
.jasse-detail-sidebar {
    min-width: 0;
}
.jasse-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 991px) {
    .jasse-detail-layout {
        grid-template-columns: 1fr;
    }
}

/* Detail Header */
.jasse-detail-header {
    margin-bottom: 32px;
}
.jasse-detail-price {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--jasse-text);
    margin-bottom: 4px;
}
.jasse-detail-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--jasse-text-light);
    margin: 0 0 8px 0;
}
.jasse-detail-location {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--jasse-text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}
.jasse-detail-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.jasse-pill {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--jasse-text-light);
    background: #f3f4f6;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.jasse-pill-accent {
    background: rgba(12, 74, 110, 0.1);
    color: var(--jasse-accent);
}
.jasse-detail-mobile-price {
    background: var(--jasse-accent);
    color: var(--jasse-white);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-bottom: 24px;
    max-width: 100%;
    box-sizing: border-box;
}
.jasse-detail-mobile-price span {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
}

/* Detail Tabs */
.jasse-detail-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--jasse-border);
    margin-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.jasse-detail-tab {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--jasse-text-secondary);
    padding: 14px 20px;
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    white-space: nowrap;
}
.jasse-detail-tab:hover {
    color: var(--jasse-text);
}
.jasse-detail-tab.active {
    color: var(--jasse-accent);
    border-bottom-color: var(--jasse-accent);
    font-weight: 600;
}
.jasse-detail-tab-content {
    display: none;
    padding: 24px 0;
}
.jasse-detail-tab-content.active {
    display: block;
}

/* Info Table */
.jasse-info-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
.jasse-info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    padding-right: 24px;
}
.jasse-info-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--jasse-text-secondary);
    font-weight: 500;
}
.jasse-info-value {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--jasse-text);
    font-weight: 500;
    text-align: right;
    word-break: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .jasse-info-table {
        grid-template-columns: 1fr;
    }
    .jasse-info-row {
        padding-right: 0;
    }
}

/* Features Grid */
.jasse-features-section {
    margin-bottom: 28px;
}
.jasse-features-title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--jasse-text);
    margin: 0 0 14px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.jasse-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.jasse-feature-item {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--jasse-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.jasse-feature-item i {
    color: #16a34a;
    font-size: 14px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .jasse-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Map */
.jasse-map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--jasse-border);
    height: 350px;
    margin-top: 16px;
}
.jasse-detail-address {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--jasse-text);
    margin: 0 0 4px 0;
}
.jasse-detail-address-sub {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--jasse-text-secondary);
    margin: 0;
}

/* Description */
.jasse-description-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: var(--jasse-text-light);
}

/* Section Headings */
.jasse-section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--jasse-text);
    margin: 0 0 20px 0;
}
.jasse-detail-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--jasse-border);
}

/* Video Buttons */
.jasse-video-btn {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--jasse-text-light);
    border: 1px solid var(--jasse-border);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.jasse-video-btn:hover {
    border-color: var(--jasse-accent);
    color: var(--jasse-accent);
}

/* Sidebar Cards */
.jasse-detail-sidebar {
    position: sticky;
    top: 90px;
}
.jasse-contact-card {
    background: var(--jasse-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 24px;
    margin-bottom: 20px;
}
.jasse-contact-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.jasse-contact-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--jasse-border);
    flex-shrink: 0;
}
.jasse-contact-photo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--jasse-accent), var(--jasse-dark));
    color: var(--jasse-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}
.jasse-contact-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--jasse-text);
}
.jasse-contact-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--jasse-text-secondary);
}
.jasse-contact-slogan {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-style: italic;
    color: var(--jasse-text-secondary);
    margin: 0 0 16px 0;
}
.jasse-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.jasse-contact-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px;
    background: var(--jasse-accent);
    color: var(--jasse-white) !important;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s;
}
.jasse-contact-btn-primary:hover {
    background: var(--jasse-accent-hover);
    color: var(--jasse-white) !important;
}
.jasse-contact-btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px;
    background: #25d366;
    color: var(--jasse-white) !important;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s;
}
.jasse-contact-btn-whatsapp:hover {
    background: #1da851;
    color: var(--jasse-white) !important;
}
.jasse-contact-btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 12px;
    background: transparent;
    color: var(--jasse-text) !important;
    border: 1px solid var(--jasse-border);
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}
.jasse-contact-btn-outline:hover {
    border-color: var(--jasse-accent);
    color: var(--jasse-accent) !important;
}

/* Office Card */
.jasse-office-card {
    background: var(--jasse-white);
    border-radius: 12px;
    box-shadow: var(--jasse-card-shadow);
    padding: 20px;
    margin-bottom: 20px;
}
.jasse-office-card-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}
.jasse-office-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border: 1px solid var(--jasse-border);
    border-radius: 8px;
    padding: 4px;
    flex-shrink: 0;
}
.jasse-office-logo-placeholder {
    width: 48px;
    height: 48px;
    background: var(--jasse-dark);
    color: var(--jasse-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.jasse-office-name {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--jasse-text);
}
.jasse-office-phone {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--jasse-text-secondary);
    margin-top: 2px;
}

/* Share Card */
.jasse-share-card {
    background: var(--jasse-white);
    border-radius: 12px;
    box-shadow: var(--jasse-card-shadow);
    padding: 20px;
    margin-bottom: 20px;
}
.jasse-share-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--jasse-text);
    margin: 0 0 12px 0;
}
.jasse-share-buttons {
    display: flex;
    gap: 8px;
}
.jasse-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: 1px solid var(--jasse-border);
    background: transparent;
    color: var(--jasse-text-secondary);
}
.jasse-share-btn:hover {
    border-color: var(--jasse-accent);
    color: var(--jasse-accent);
}
.jasse-share-whatsapp {
    background: #25d366;
    color: var(--jasse-white) !important;
    border-color: #25d366;
}
.jasse-share-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    color: var(--jasse-white) !important;
}

/* Reference Card */
.jasse-ref-card {
    background: var(--jasse-white);
    border-radius: 12px;
    box-shadow: var(--jasse-card-shadow);
    padding: 20px;
    margin-bottom: 20px;
}
.jasse-ref-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--jasse-text);
    margin: 0 0 12px 0;
}
.jasse-ref-row {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
}
.jasse-ref-row:last-child {
    border-bottom: none;
}
.jasse-ref-row span:first-child {
    color: var(--jasse-text-secondary);
}
.jasse-ref-row span:last-child {
    color: var(--jasse-text);
    font-weight: 600;
}

/* Detail Page - Contact Button Overflow Fix */
.jasse-contact-btn-primary,
.jasse-contact-btn-whatsapp,
.jasse-contact-btn-outline,
.jasse-contact-btn-message {
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

/* Detail Page - Mobile Responsive Fixes */
@media (max-width: 576px) {
    .jasse-detail-price {
        font-size: 24px;
        word-break: break-word;
    }
    .jasse-detail-mobile-price span {
        font-size: 22px;
    }
    .jasse-detail-content {
        padding: 24px 0 60px;
    }
    .jasse-page-container {
        padding: 0 12px;
    }
    .jasse-detail-header {
        margin-bottom: 20px;
    }
    .jasse-detail-title {
        font-size: 18px;
    }
    .jasse-pill {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .jasse-info-row {
        flex-wrap: wrap;
        gap: 2px;
    }
    .jasse-info-value {
        max-width: 100%;
        text-align: left;
    }
    .jasse-contact-card {
        padding: 16px;
    }
    .jasse-detail-sidebar {
        position: static;
    }
}

/* Similar Listings */
.jasse-similar-section {
    padding: 60px 0 80px;
    background: var(--jasse-bg-light);
}
.jasse-similar-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--jasse-text);
    margin: 0 0 32px 0;
}

/* ============================================================
   JASSE PUBLIC — Agent Detail Page
   ============================================================ */
.jasse-agent-detail-hero {
    padding: 110px 0 48px;
    background: var(--jasse-bg-light);
    border-bottom: 1px solid var(--jasse-border);
}
.jasse-agent-detail-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}
.jasse-agent-detail-photo-wrap {
    flex-shrink: 0;
}
.jasse-agent-detail-photo {
    width: 200px;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.jasse-agent-detail-photo-placeholder {
    width: 200px;
    height: 260px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--jasse-accent), var(--jasse-dark));
    color: var(--jasse-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
}
.jasse-agent-detail-info {
    flex: 1;
    min-width: 0;
}
.jasse-agent-detail-name {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--jasse-text);
    margin: 0 0 6px 0;
}
.jasse-agent-detail-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--jasse-accent);
    margin-bottom: 6px;
}
.jasse-agent-detail-office {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--jasse-text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.jasse-agent-detail-slogan {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-style: italic;
    color: var(--jasse-text-secondary);
    margin: 0 0 20px 0;
}
.jasse-agent-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.jasse-agent-detail-actions .jasse-contact-btn-primary,
.jasse-agent-detail-actions .jasse-contact-btn-whatsapp,
.jasse-agent-detail-actions .jasse-contact-btn-outline {
    padding: 10px 20px;
    flex: none;
}
.jasse-agent-detail-social {
    display: flex;
    gap: 10px;
}
.jasse-agent-detail-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--jasse-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jasse-text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
}
.jasse-agent-detail-social a:hover {
    border-color: var(--jasse-accent);
    color: var(--jasse-accent);
}

@media (max-width: 768px) {
    .jasse-agent-detail-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .jasse-agent-detail-photo,
    .jasse-agent-detail-photo-placeholder {
        width: 160px;
        height: 210px;
    }
    .jasse-agent-detail-name {
        font-size: 26px;
    }
    .jasse-agent-detail-actions {
        justify-content: center;
    }
    .jasse-agent-detail-social {
        justify-content: center;
    }
    .jasse-agent-detail-office {
        justify-content: center;
    }
}

.jasse-agent-detail-content {
    padding: 48px 0 80px;
    background: var(--jasse-white);
}
.jasse-agent-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--jasse-border);
}
.jasse-agent-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Reviews */
.jasse-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.jasse-review-card {
    border: 1px solid var(--jasse-border);
    border-radius: 12px;
    padding: 20px;
}
.jasse-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.jasse-review-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--jasse-text);
}
.jasse-review-date {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--jasse-text-secondary);
}
.jasse-review-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--jasse-text-light);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   JASSE PUBLIC — Navbar forced scrolled for inner pages
   ============================================================ */
.public-header.scrolled-force {
    background: var(--jasse-white) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    border-bottom-color: var(--jasse-border);
}
.public-header.scrolled-force .public-nav-brand {
    color: var(--jasse-text) !important;
}
.public-header.scrolled-force .public-nav-link {
    color: var(--jasse-text) !important;
}
.public-header.scrolled-force .public-nav-link:hover {
    color: var(--jasse-accent) !important;
}
.public-header.scrolled-force .public-nav-phone {
    color: var(--jasse-text) !important;
}
.public-header.scrolled-force .public-nav-lang {
    color: var(--jasse-text-secondary) !important;
}
.public-header.scrolled-force .public-nav-lang.active {
    color: var(--jasse-text) !important;
}
.public-header.scrolled-force .public-nav-toggle {
    color: var(--jasse-text);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--cb-text-muted);
}
.empty-state i {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
    color: #cbd5e1;
}
.empty-state span {
    font-size: 14px;
    color: var(--cb-text-muted);
}

/* Dashboard tabs */
.dashboard-tabs {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 3px;
}
.dashboard-tab {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cb-text-muted);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: none;
}
.dashboard-tab.active {
    background: #ffffff;
    color: var(--cb-text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* General avatar placeholder (used in various places) */
.avatar-placeholder {
    background: var(--cb-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50%;
}

/* ============================================================
   CB Inner Page Design System
   Tabs, Tables, Forms, Action Panels, Badges, Alerts
   ============================================================ */

/* ---- Underline Tabs ---- */
.cb-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cb-tabs::-webkit-scrollbar { height: 0; }
.cb-tab-link {
    display: inline-block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--cb-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}
.cb-tab-link:hover {
    color: var(--cb-text);
    text-decoration: none;
}
.cb-tab-link.active {
    color: var(--cb-primary);
    border-bottom-color: var(--cb-primary);
    font-weight: 500;
}
.cb-tabs-main .cb-tab-link {
    padding: 14px 24px;
    font-size: 15px;
}
.cb-tabs-sub {
    border-bottom-color: #eee;
    margin-bottom: 24px;
}
.cb-tabs-sub .cb-tab-link {
    padding: 10px 16px;
    font-size: 13px;
}

/* ---- Section Header (blue left border) ---- */
.cb-section-header {
    border-left: 3px solid var(--cb-primary);
    padding-left: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--cb-text);
    margin-bottom: 16px;
    margin-top: 24px;
    line-height: 1.3;
}

/* ---- CB Table (navy header) ---- */
.cb-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.cb-table thead {
    background: var(--cb-table-header-bg);
}
.cb-table thead th {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 16px;
    border: none;
    white-space: nowrap;
}
.cb-table tbody tr {
    transition: background 0.15s;
}
.cb-table tbody tr:nth-child(even) {
    background: var(--cb-table-alt-row);
}
.cb-table tbody tr:hover {
    background: var(--cb-table-hover);
}
.cb-table tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    color: var(--cb-text);
}
.cb-table .cb-table-actions {
    white-space: nowrap;
}
.cb-table .cb-table-actions a,
.cb-table .cb-table-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #555;
    font-size: 14px;
    margin-right: 4px;
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
}
.cb-table .cb-table-actions a:hover,
.cb-table .cb-table-actions button:hover {
    background: var(--cb-primary);
    color: #fff;
    border-color: var(--cb-primary);
}

/* ---- Portfolio Actions Dropdown ---- */
.portfolio-actions-dropdown.dropdown-menu {
    min-width: 360px !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2) !important;
    padding: 12px !important;
    z-index: 1060 !important;
}
.portfolio-actions-dropdown .dropdown-item {
    border-radius: 12px !important;
    padding: 16px 24px 16px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--cb-text) !important;
    transition: background 0.15s !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    overflow: hidden !important;
}
.portfolio-actions-dropdown .dropdown-item:hover {
    background: #f1f5f9 !important;
}
.portfolio-actions-dropdown .dropdown-item i {
    font-size: 20px !important;
    min-width: 24px !important;
    width: 24px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}
.portfolio-actions-dropdown .dropdown-item.text-danger {
    color: #dc3545 !important;
}
.portfolio-actions-dropdown .dropdown-divider {
    margin: 10px 0 !important;
}
.cb-table-actions .dropdown .btn-link {
    border: 1px solid var(--cb-border);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--cb-text) !important;
    text-decoration: none;
}
.cb-table-actions .dropdown .btn-link:hover {
    background: #f1f5f9;
}

/* ---- CB Form Controls ---- */
.cb-form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--cb-label-color);
    margin-bottom: 6px;
}
.cb-form-control {
    height: var(--cb-input-height);
    border: 1px solid var(--cb-input-border);
    border-radius: 8px;
    font-size: 14px;
    padding: 10px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    background: #fff;
    color: var(--cb-text);
}
.cb-form-control:focus {
    border-color: var(--cb-primary);
    box-shadow: 0 0 0 3px rgba(12, 74, 110, 0.1);
    outline: none;
}
.cb-form-control::placeholder {
    color: #9ca3af;
}
textarea.cb-form-control {
    height: auto;
    min-height: 80px;
}
select.cb-form-control {
    appearance: auto;
}

/* ---- Data Display Table (read-only profile/office) ---- */
.cb-data-table {
    width: 100%;
}
.cb-data-table tr td {
    padding: 11px 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: 14px;
    vertical-align: top;
}
.cb-data-table tr td:first-child {
    color: var(--cb-text-muted);
    width: 40%;
    font-weight: 500;
    padding-right: 16px;
}
.cb-data-table tr td:last-child {
    color: var(--cb-text);
    font-weight: 500;
}
.cb-data-table tr:last-child td {
    border-bottom: none;
}

/* ---- 3-Column Form Layout ---- */
.cb-form-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.cb-form-main {
    flex: 1;
    min-width: 0;
}
.cb-form-aside {
    width: var(--cb-action-panel-w);
    flex-shrink: 0;
}

/* ---- Right Action Panel ---- */
.cb-action-panel {
    position: sticky;
    top: 88px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.04);
}
.cb-action-panel-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--cb-text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.cb-action-panel .cb-action-btn {
    width: 100%;
    margin-bottom: 8px;
}
.cb-action-panel .cb-action-info {
    font-size: 13px;
    color: var(--cb-text-muted);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}
.cb-action-panel .cb-action-info dt {
    font-weight: 600;
    color: var(--cb-gray-dark);
    margin-bottom: 2px;
}
.cb-action-panel .cb-action-info dd {
    margin-bottom: 10px;
    color: var(--cb-text);
}

/* ---- Profile Photo Card (right side) ---- */
.cb-profile-card {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    padding: 28px 20px;
    position: sticky;
    top: 88px;
    border: 1px solid rgba(0,0,0,0.04);
}
.cb-profile-card-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
    border: 3px solid #e2e8f0;
}
.cb-profile-card-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cb-primary), var(--cb-blue-dark));
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.cb-profile-card-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--cb-text);
    margin-bottom: 4px;
}
.cb-profile-card-role {
    font-size: 13px;
    color: var(--cb-text-muted);
    margin-bottom: 4px;
}
.cb-profile-card-office {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 16px;
}
.cb-social-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.cb-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
    background: #f0f2f5;
    color: #555;
    text-decoration: none;
}
.cb-social-icons a:hover {
    background: var(--cb-blue);
    color: #fff;
}

/* ---- CB Buttons ---- */
.cb-btn {
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1.4;
}
.cb-btn:hover { transform: translateY(-1px); }
.cb-btn-primary { background: var(--cb-primary); color: #fff; }
.cb-btn-primary:hover { background: var(--cb-primary-hover); color: #fff; box-shadow: 0 4px 12px rgba(12,74,110,0.25); }
.cb-btn-warning { background: #fbbf24; color: var(--cb-text); }
.cb-btn-warning:hover { background: #f59e0b; color: var(--cb-text); }
.cb-btn-danger { background: #ef4444; color: #fff; }
.cb-btn-danger:hover { background: #dc2626; color: #fff; }
.cb-btn-success { background: #22c55e; color: #fff; }
.cb-btn-success:hover { background: #16a34a; color: #fff; }
.cb-btn-outline { background: transparent; color: var(--cb-gray-dark); border: 1px solid #d1d5db; }
.cb-btn-outline:hover { border-color: var(--cb-primary); color: var(--cb-primary); background: transparent; }
.cb-btn-sm { font-size: 12px; padding: 6px 12px; }
.cb-btn-lg { font-size: 15px; padding: 12px 28px; }
.cb-btn-save {
    background: var(--cb-primary);
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.cb-btn-save:hover {
    background: var(--cb-primary-hover);
    box-shadow: 0 4px 12px rgba(12, 74, 110, 0.25);
}

/* ---- Alert/Info Boxes ---- */
.cb-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    border-left: 4px solid;
    margin-bottom: 16px;
    font-size: 14px;
}
.cb-alert i { font-size: 18px; margin-top: 1px; flex-shrink: 0; }
.cb-alert-info { border-left-color: #3b82f6; background: #eff6ff; color: #1e40af; }
.cb-alert-success { border-left-color: #22c55e; background: #f0fdf4; color: #166534; }
.cb-alert-warning { border-left-color: #f59e0b; background: #fffbeb; color: #92400e; }
.cb-alert-danger { border-left-color: #ef4444; background: #fef2f2; color: #991b1b; }

/* ---- Status Badge Pills ---- */
.cb-badge {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    line-height: 1.4;
}
.cb-badge-active,
.cb-badge-success { background: #f0fdf4; color: #16a34a; }
.cb-badge-pending,
.cb-badge-warning { background: #fffbeb; color: #d97706; }
.cb-badge-inactive,
.cb-badge-danger  { background: #fef2f2; color: #dc2626; }
.cb-badge-info    { background: #eff6ff; color: #2563eb; }

/* ---- Widget Card Overrides (for inner pages) ---- */
.cb-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
}
.cb-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cb-card-header h6 {
    font-size: 15px;
    font-weight: 600;
    color: var(--cb-text);
    margin: 0;
}
.cb-card-header .widget-action {
    font-size: 13px;
    color: var(--cb-primary);
    font-weight: 500;
}
.cb-card-body {
    padding: 20px;
}

/* ---- Tab Content (for JS tab switching) ---- */
.cb-tab-content { display: none; }
.cb-tab-content.active { display: block; }

/* ---- Filter Bar ---- */
.cb-filter-bar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    padding: 16px 20px;
    margin-bottom: 20px;
}

/* ---- Responsive for inner page layouts ---- */
@media (max-width: 991.98px) {
    .cb-form-layout {
        flex-direction: column;
    }
    .cb-form-aside {
        width: 100%;
    }
    .cb-action-panel,
    .cb-profile-card {
        position: static;
    }
    .cb-tabs {
        gap: 0;
    }
    .cb-tab-link {
        padding: 10px 14px;
        font-size: 13px;
    }
    .cb-tabs-main .cb-tab-link {
        padding: 12px 16px;
        font-size: 14px;
    }
    .cb-data-table tr td:first-child {
        width: 45%;
    }
}
@media (max-width: 575.98px) {
    .cb-tab-link {
        padding: 8px 10px;
        font-size: 12px;
    }
    .cb-table tbody td,
    .cb-table thead th {
        padding: 8px 10px;
        font-size: 12px;
    }
    .cb-data-table tr td {
        font-size: 13px;
        padding: 9px 0;
    }
    .cb-profile-card {
        padding: 20px 16px;
    }
    .cb-profile-card-photo,
    .cb-profile-card-placeholder {
        width: 90px;
        height: 90px;
        font-size: 28px;
    }
}

/* ============================================================
   Wizard Form
   ============================================================ */
.wizard-progress {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 24px 0;
    margin-bottom: 28px;
}

/* Category Cascade */
.category-cascade-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}
.category-breadcrumb {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #0c4a6e;
    display: flex;
    align-items: center;
    gap: 8px;
}
.category-breadcrumb i { font-size: 15px; }
.category-breadcrumb span { font-weight: 600; }
.category-level-item {
    animation: cascadeSlideIn 0.25s ease-out;
}
@keyframes cascadeSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Gallery upload error toast */
.gallery-upload-toast {
    background: #1e293b;
    color: #e2e8f0;
    border: 1px solid #475569;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    animation: cascadeSlideIn 0.3s ease-out;
}

.wizard-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 90px;
    position: relative;
}

.wizard-step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: #fff;
    color: #9ca3af;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.wizard-step-indicator.active .wizard-step-circle {
    border-color: #0c4a6e;
    background: #0c4a6e;
    color: #fff;
}

.wizard-step-indicator.completed .wizard-step-circle {
    border-color: #16a34a;
    background: #16a34a;
    color: #fff;
}

.wizard-step-label {
    font-family: 'Playfair Display', serif;
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    margin-top: 8px;
    text-align: center;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.wizard-step-indicator.active .wizard-step-label {
    color: #0c4a6e;
    font-weight: 600;
}

.wizard-step-indicator.completed .wizard-step-label {
    color: #16a34a;
}

.wizard-step-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin-top: 20px;
    min-width: 24px;
    transition: background 0.3s ease;
}

.wizard-step-line.completed {
    background: #16a34a;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    margin-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.wizard-footer-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.wizard-field-error {
    border-color: #dc2626 !important;
}

.wizard-error-text {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
}

.wizard-media-notice {
    text-align: center;
    padding: 48px 24px;
    color: #9ca3af;
}

.wizard-media-notice i {
    font-size: 3rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 12px;
}

/* Wizard Auto-Save Overlay */
.wizard-autosave-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.92);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
.wizard-autosave-spinner {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6b7280;
}
.wizard-step[data-step="5"] {
    position: relative;
}

@media (max-width: 767.98px) {
    .wizard-progress {
        gap: 0;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 16px 0;
    }
    .wizard-step-indicator {
        min-width: 64px;
    }
    .wizard-step-circle {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    .wizard-step-label {
        font-size: 9px;
    }
    .wizard-step-line {
        min-width: 12px;
        margin-top: 16px;
    }
    .wizard-footer {
        flex-direction: column;
        gap: 12px;
    }
    .wizard-footer-right {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ============================================================
   JASSE PUBLIC — Contact / İletişim Page
   ============================================================ */
.jasse-contact-page {
    background: var(--jasse-bg-light);
    padding: 48px 0 80px;
}
.jasse-contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
}
.jasse-contact-card {
    background: var(--jasse-white);
    border: 1px solid var(--jasse-border);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px;
}
.jasse-contact-card:last-child {
    margin-bottom: 0;
}
.jasse-contact-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--jasse-text);
    margin: 0 0 24px 0;
}
.jasse-contact-card-title i {
    color: var(--jasse-accent);
    margin-right: 8px;
}
.jasse-contact-card-title-green i {
    color: #16a34a;
}
.jasse-contact-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--jasse-text-secondary);
    margin: -16px 0 20px 0;
    line-height: 1.5;
}
.jasse-contact-alert {
    padding: 14px 20px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-bottom: 24px;
}
.jasse-contact-alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.jasse-contact-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.jasse-contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.jasse-contact-form-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.jasse-contact-form-group {
    display: flex;
    flex-direction: column;
}
.jasse-contact-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--jasse-text-secondary);
    margin-bottom: 6px;
}
.jasse-contact-required {
    color: #ef4444;
}
.jasse-contact-input {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: var(--jasse-white);
    color: var(--jasse-text);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.jasse-contact-input:focus {
    border-color: var(--jasse-accent);
}
.jasse-contact-textarea {
    min-height: 120px;
    resize: vertical;
}
.jasse-contact-textarea-sm {
    min-height: 80px;
}
.jasse-contact-form-actions {
    margin-top: 20px;
}
.jasse-contact-btn {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 32px;
    background: var(--jasse-accent);
    color: var(--jasse-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.jasse-contact-btn:hover {
    background: var(--jasse-accent-hover);
}
.jasse-contact-btn-green {
    background: #16a34a;
    width: 100%;
    justify-content: center;
}
.jasse-contact-btn-green:hover {
    background: #15803d;
}
.jasse-contact-info-card {
    margin-bottom: 0;
}
.jasse-contact-info-title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--jasse-text);
    margin: 0 0 16px 0;
}
.jasse-contact-info-title i {
    color: var(--jasse-accent);
    margin-right: 6px;
}
.jasse-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--jasse-text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}
.jasse-contact-info-item:last-child {
    margin-bottom: 0;
}
.jasse-contact-info-item i {
    color: var(--jasse-accent);
    font-size: 15px;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .jasse-contact-grid {
        grid-template-columns: 1fr;
    }
    .jasse-contact-form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Tag Input Component
   ============================================================ */
.tag-input-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--jasse-border);
    border-radius: var(--jasse-radius);
    background: var(--jasse-white);
    cursor: text;
    min-height: 42px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tag-input-wrapper:focus-within {
    border-color: var(--jasse-accent);
    box-shadow: 0 0 0 3px rgba(var(--jasse-accent-rgb, 193, 163, 120), 0.15);
}
.tag-input-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: var(--jasse-bg);
    border: 1px solid var(--jasse-border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--jasse-text);
    line-height: 1.4;
    white-space: nowrap;
}
.tag-input-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: var(--jasse-text-secondary);
    font-size: 15px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    transition: background 0.15s, color 0.15s;
}
.tag-input-remove:hover {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}
.tag-input-field {
    flex: 1;
    min-width: 120px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    padding: 3px 0;
    color: var(--jasse-text);
}
.tag-input-field::placeholder {
    color: var(--jasse-text-secondary);
    font-size: 12px;
}

/* ============================================================
   Map Picker (Google Maps)
   ============================================================ */
.map-picker-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: 1px solid var(--cb-border);
    overflow: hidden;
    margin-top: 8px;
}
.map-search-wrapper {
    position: relative;
    margin-bottom: 0;
}
.map-search-box {
    position: relative;
}
.map-search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cb-gray);
    font-size: 15px;
    z-index: 2;
}
.map-search-box .cb-form-control {
    padding-left: 40px;
}
.map-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--jasse-white);
    border: 1px solid var(--cb-border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: none;
    max-height: 240px;
    overflow-y: auto;
}
.map-search-results.active {
    display: block;
}
.map-search-result-item {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--cb-text);
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}
.map-search-result-item:last-child {
    border-bottom: none;
}
.map-search-result-item:hover {
    background: #f1f5f9;
}
.map-search-result-item i {
    color: var(--cb-gray);
    margin-right: 8px;
}
/* Google Places Autocomplete dropdown z-index fix */
.pac-container {
    z-index: 10000 !important;
}

/* ============================================================
   Individual User Dashboard — Quick Action Cards
   ============================================================ */
.ind-action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
    height: 100%;
}
.ind-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 14px;
}
.ind-action-card:hover {
    transform: translateY(-4px);
    text-decoration: none;
}
.ind-action-card:hover::before {
    opacity: 1;
}
.ind-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}
.ind-action-card:hover .ind-action-icon {
    transform: scale(1.1);
}
.ind-action-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 1;
}
.ind-action-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
}
.ind-action-desc {
    font-size: 12px;
    opacity: 0.7;
}
.ind-action-arrow {
    font-size: 18px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}
.ind-action-card:hover .ind-action-arrow {
    opacity: 0.8;
    transform: translateX(0);
}
/* Primary — Yeni İlan */
.ind-action-primary {
    background: linear-gradient(135deg, #0c4a6e, #0e7490);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(12, 74, 110, 0.25);
}
.ind-action-primary::before {
    background: linear-gradient(135deg, #0e7490, #0891b2);
}
.ind-action-primary:hover {
    box-shadow: 0 8px 30px rgba(12, 74, 110, 0.35);
    color: #fff !important;
}
.ind-action-primary .ind-action-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.ind-action-primary .ind-action-desc {
    color: rgba(255,255,255,0.75);
}
/* Blue — İlanlarım */
.ind-action-blue {
    background: #f0f9ff;
    color: #0c4a6e !important;
    border-color: #bae6fd;
}
.ind-action-blue:hover {
    background: #e0f2fe;
    box-shadow: 0 8px 25px rgba(14, 116, 144, 0.12);
    color: #0c4a6e !important;
}
.ind-action-blue .ind-action-icon {
    background: #dbeafe;
    color: #0c4a6e;
}
/* Amber — Taslaklar */
.ind-action-amber {
    background: #fffbeb;
    color: #92400e !important;
    border-color: #fde68a;
}
.ind-action-amber:hover {
    background: #fef3c7;
    box-shadow: 0 8px 25px rgba(146, 64, 14, 0.1);
    color: #92400e !important;
}
.ind-action-amber .ind-action-icon {
    background: #fde68a;
    color: #92400e;
}
/* Slate — Profil */
.ind-action-slate {
    background: #f8fafc;
    color: #334155 !important;
    border-color: #e2e8f0;
}
.ind-action-slate:hover {
    background: #f1f5f9;
    box-shadow: 0 8px 25px rgba(51, 65, 85, 0.08);
    color: #334155 !important;
}
.ind-action-slate .ind-action-icon {
    background: #e2e8f0;
    color: #475569;
}
/* Pulse animation on primary card */
@keyframes indPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(12, 74, 110, 0.25); }
    50% { box-shadow: 0 4px 25px rgba(12, 74, 110, 0.4); }
}
.ind-action-primary {
    animation: indPulse 3s ease-in-out infinite;
}
.ind-action-primary:hover {
    animation: none;
}
/* Mobile */
@media (max-width: 575px) {
    .ind-action-card {
        padding: 14px 16px;
    }
    .ind-action-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .ind-action-title {
        font-size: 14px;
    }
}

/* ============================================================
   Boost / Doping Badges & Featured Cards
   ============================================================ */

/* Badge on listing cards (listings page) */
.jasse-boost-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.jasse-boost-badge i {
    font-size: 10px;
}

/* Badge on detail page */
.jasse-boost-badge-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}
.jasse-boost-badge-detail i {
    font-size: 12px;
}

/* Featured section on home page */
.jasse-featured-section {
    padding: 60px 0;
    background: #f8fafc;
}
.jasse-featured-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
    transition: all 0.35s ease;
    height: 100%;
}
.jasse-featured-card:hover {
    color: inherit;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border-color: #c5a44e;
}
.jasse-featured-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.jasse-featured-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.jasse-featured-card:hover .jasse-featured-card-img img {
    transform: scale(1.05);
}
.jasse-featured-card-placeholder {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #cbd5e1;
}
.jasse-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #c5a44e, #d4a843);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(197,164,78,0.4);
}
.jasse-featured-card-body {
    padding: 16px;
}
.jasse-featured-card-price {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 6px;
}
.jasse-featured-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    line-height: 1.3;
}
.jasse-featured-card-loc {
    font-size: 12px;
    color: #64748b;
}
.jasse-featured-card-loc i {
    font-size: 11px;
    margin-right: 2px;
}

/* ============================================
   Category Tabs (Sahibinden style)
   ============================================ */
.jasse-category-tabs {
    display: flex;
    gap: 4px;
    padding: 0 0 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.jasse-category-tabs::-webkit-scrollbar { display: none; }

.jasse-category-tab {
    flex-shrink: 0;
    padding: 10px 20px;
    border: 1px solid var(--jasse-border, #e2e8f0);
    border-radius: 24px;
    background: #fff;
    color: var(--jasse-text, #1e293b);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.jasse-category-tab:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.jasse-category-tab.active {
    background: var(--jasse-accent, #0c4a6e);
    color: #fff;
    border-color: var(--jasse-accent, #0c4a6e);
}

.jasse-category-subtabs {
    display: flex;
    gap: 4px;
    padding: 0 0 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.jasse-category-subtabs::-webkit-scrollbar { display: none; }

.jasse-category-subtab {
    flex-shrink: 0;
    padding: 6px 16px;
    border: 1px solid var(--jasse-border, #e2e8f0);
    border-radius: 16px;
    background: #fff;
    color: var(--jasse-text-light, #64748b);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.jasse-category-subtab:hover {
    background: #f1f5f9;
}
.jasse-category-subtab.active {
    background: #e0f2fe;
    color: var(--jasse-accent, #0c4a6e);
    border-color: #bae6fd;
    font-weight: 600;
}

/* Wider layout for Sahibinden style */
.jasse-listings-layout-wide {
    gap: 24px;
}
.jasse-sidebar-wide {
    min-width: 280px;
    max-width: 300px;
}

@media (max-width: 768px) {
    .jasse-category-tabs {
        padding: 0 0 10px;
    }
    .jasse-category-tab {
        padding: 8px 14px;
        font-size: 13px;
    }
    .jasse-category-subtab {
        padding: 5px 12px;
        font-size: 12px;
    }
}

/* ── Topbar Public Links ── */
.topbar-public-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cb-primary, #0c4a6e);
    background: transparent;
    border: 1px solid var(--cb-primary, #0c4a6e);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.topbar-public-link:hover {
    background: var(--cb-primary, #0c4a6e);
    color: #fff;
    text-decoration: none;
}
@media (max-width: 768px) {
    .topbar-public-link-text { display: none; }
    .topbar-public-link { padding: 5px 8px; }
}

/* ── Gallery Drop Zone ── */
.gallery-drop-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 32px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #f8fafc;
}
.gallery-drop-zone:hover,
.gallery-drop-zone.drag-over {
    border-color: var(--cb-primary, #0c4a6e);
    background: #eff6ff;
}
.gallery-drop-zone i {
    font-size: 32px;
    color: #94a3b8;
    display: block;
    margin-bottom: 8px;
}
.gallery-drop-zone p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}
.gallery-upload-progress {
    margin-top: 12px;
}
.gallery-upload-progress .progress {
    height: 8px;
    border-radius: 4px;
}
.gallery-upload-progress .upload-status {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
}

/* ============================================================
   Category Tree Filter
   ============================================================ */
.category-tree-back {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 2px solid #e9ecef;
    color: #1a3a5c;
    background: #f8f9fa;
    transition: background 0.15s;
}
.category-tree-back:hover {
    background: #e9ecef;
}
.category-tree-back span {
    flex: 1;
}

.category-tree-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.12s;
}
.category-tree-item:hover {
    background: #f8f9fa;
}
.category-tree-item:last-child {
    border-bottom: none;
}
.category-tree-item.category-tree-current {
    background: #f0f7ff;
    border-bottom: 1px solid #d6e8f7;
}
.category-tree-item.category-tree-all {
    background: #fafafa;
    border-bottom: 2px solid #e9ecef;
}

.category-tree-drill {
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: color 0.12s;
}
.category-tree-drill:hover {
    color: #1a3a5c;
    font-weight: 500;
}

.category-tree-name {
    flex: 1;
    font-size: 13px;
    color: #333;
}

.category-tree-select {
    border: none;
    background: #e8f4fd;
    color: #1a3a5c;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 12px;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
    margin-left: 8px;
    flex-shrink: 0;
}
.category-tree-select:hover {
    background: #1a3a5c;
    color: #fff;
}

#categoryTreeDropdown .dropdown-menu {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}
#categoryTreeDropdown > button {
    border-color: #ced4da;
}
#categoryTreeDropdown > button:hover,
#categoryTreeDropdown > button:focus {
    border-color: #1a3a5c;
    box-shadow: 0 0 0 2px rgba(26, 58, 92, 0.1);
}

/* ============================================================
   Sahibinden-Style Category Tree (Public Listings Sidebar)
   ============================================================ */
.jasse-cat-tree {
    padding: 4px 0;
}

.jasse-cat-tree-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
    cursor: pointer;
    gap: 6px;
}
.jasse-cat-tree-item:hover {
    background: #f0f4f8;
    color: #1a3a5c;
    text-decoration: none;
}
.jasse-cat-tree-item.active {
    background: #e8f0fe;
    color: #1a3a5c;
    font-weight: 600;
    border-left-color: #1a3a5c;
}
.jasse-cat-tree-item.ancestor {
    color: #1a3a5c;
    font-weight: 500;
}
.jasse-cat-tree-item .jasse-cat-icon {
    font-size: 12px;
    opacity: 0.6;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}
.jasse-cat-tree-label {
    flex: 1;
}
.jasse-cat-arrow {
    font-size: 10px;
    color: #9ca3af;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.2s;
    cursor: pointer;
    padding: 4px;
}
.jasse-cat-arrow:hover {
    color: #1a3a5c;
}
.jasse-cat-children {
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.25s ease;
}
.jasse-cat-children.collapsing {
    max-height: 0 !important;
    opacity: 0;
}
.jasse-cat-children.expanding {
    opacity: 1;
}
.jasse-cat-tree-item.active .jasse-cat-arrow,
.jasse-cat-tree-item.ancestor .jasse-cat-arrow {
    color: #1a3a5c;
}
.jasse-cat-tree-item:hover .jasse-cat-arrow {
    color: #1a3a5c;
}

/* Indentation per level */
.jasse-cat-tree-item.jasse-cat-tree-level-0 { padding-left: 12px; }
.jasse-cat-tree-item.jasse-cat-tree-level-1 { padding-left: 28px; }
.jasse-cat-tree-item.jasse-cat-tree-level-2 { padding-left: 44px; }
.jasse-cat-tree-item.jasse-cat-tree-level-3 { padding-left: 60px; }

/* Dynamic field filters in sidebar */
.jasse-sidebar-field {
    margin-bottom: 14px;
}
.jasse-sidebar-field:last-child {
    margin-bottom: 0;
}
.jasse-sidebar-field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ============================================================
   JASSE — Top Agents (3x2 grid, portrait cards, square photo)
   ============================================================ */
.jasse-top-agents {
    position: relative;
    padding: 90px 0 100px;
    background:
        radial-gradient(1200px 500px at 10% 0%, rgba(197,164,78,0.08), transparent 60%),
        radial-gradient(1000px 500px at 95% 100%, rgba(12,74,110,0.08), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}
.jta-bg-deco {
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: 0;
}
.jta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: jtaFloat 14s ease-in-out infinite;
}
.jta-blob-1 {
    top: -120px; left: -80px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(197,164,78,0.35), transparent 70%);
}
.jta-blob-2 {
    bottom: -140px; right: -100px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(12,74,110,0.35), transparent 70%);
    animation-delay: -7s;
}
@keyframes jtaFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(30px, -20px) scale(1.08); }
}

.jta-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
.jta-header {
    text-align: center;
    margin-bottom: 50px;
}
.jta-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #c5a44e;
    padding: 6px 16px;
    border: 1px solid rgba(197,164,78,0.3);
    border-radius: 999px;
    background: rgba(197,164,78,0.06);
    margin-bottom: 14px;
}
.jta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    color: #0c2d48;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}
.jta-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, #c5a44e, #d4a843);
    border-radius: 2px;
}
.jta-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #6b7280;
    max-width: 560px;
    margin: 12px auto 0;
    line-height: 1.6;
}

/* Grid: 3 per row, 2 rows */
.jta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card */
.jta-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(12, 45, 72, 0.06);
    box-shadow: 0 10px 30px rgba(12, 45, 72, 0.07);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s ease,
                border-color 0.5s ease;

    opacity: 0;
    transform: translateY(40px);
    animation: jtaCardIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--jta-delay, 0ms);
}
.jta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(197,164,78,0.7), rgba(12,74,110,0.5));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 3;
}
.jta-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(12, 45, 72, 0.18);
    color: inherit;
}
.jta-card:hover::before { opacity: 1; }

@keyframes jtaCardIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Media (photo) — square-ish, full width of card top */
.jta-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.3;
    overflow: hidden;
    background: linear-gradient(135deg, #0c4a6e 0%, #0c2d48 100%);
}
.jta-photo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.jta-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}
.jta-card:hover .jta-photo img {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.08);
}
.jta-photo-initial {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.92;
}

/* Diagonal shine sweep on hover */
.jta-media-shine {
    position: absolute;
    top: 0; left: -80%;
    width: 60%; height: 100%;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
    transform: skewX(-18deg);
    transition: left 0.9s ease;
    pointer-events: none;
    z-index: 2;
}
.jta-card:hover .jta-media-shine {
    left: 120%;
}

/* Bottom gradient fade on photo */
.jta-media::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 45%;
    background: linear-gradient(180deg, transparent 0%, rgba(12, 45, 72, 0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Rank badge — top-left */
.jta-rank {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.4s ease;
}
.jta-rank i { font-size: 13px; }
.jta-card:hover .jta-rank { transform: translateY(-2px); }

.jta-rank-1 { background: linear-gradient(135deg, #f5c944, #c5a44e); color: #3a2e10; }
.jta-rank-2 { background: linear-gradient(135deg, #d9dde3, #a8adb4); color: #2b313a; }
.jta-rank-3 { background: linear-gradient(135deg, #c78e5a, #a5683a); color: #fff; }
.jta-rank-plain {
    background: rgba(12, 45, 72, 0.75);
    padding: 6px 9px;
}
.jta-rank-plain i { color: #c5a44e; font-size: 14px; }

/* Body (below photo) */
.jta-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    background: #fff;
    position: relative;
    z-index: 2;
}
.jta-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #0c2d48;
    margin: 0;
    letter-spacing: -0.3px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.jta-office {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.jta-office i {
    color: #c5a44e;
    font-size: 14px;
    flex-shrink: 0;
}
.jta-office span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* Foot: stat pill + arrow */
.jta-foot {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(12, 45, 72, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.jta-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(12,74,110,0.08), rgba(197,164,78,0.08));
    border: 1px solid rgba(12,74,110,0.1);
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #0c4a6e;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}
.jta-stat-pill strong {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: #0c2d48;
}
.jta-stat-pill-empty { color: #6b7280; }
.jta-stat-pill-empty i { font-size: 13px; color: #c5a44e; }
.jta-card:hover .jta-stat-pill {
    background: linear-gradient(135deg, rgba(12,74,110,0.14), rgba(197,164,78,0.16));
    border-color: rgba(197,164,78,0.4);
    transform: translateY(-1px);
}

.jta-cta {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1.5px solid rgba(12, 74, 110, 0.15);
    color: #0c4a6e;
    font-size: 15px;
    flex-shrink: 0;
    transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.4s ease;
}
.jta-cta i { transition: transform 0.4s ease; }
.jta-card:hover .jta-cta {
    background: linear-gradient(135deg, #0c4a6e, #0c2d48);
    border-color: transparent;
    color: #fff;
    transform: rotate(-45deg);
}

/* Footer */
.jta-footer {
    text-align: center;
    margin-top: 50px;
}
.jta-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0c4a6e;
    padding: 12px 28px;
    border: 2px solid #0c4a6e;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.35s ease, color 0.35s ease, gap 0.35s ease,
                box-shadow 0.35s ease, transform 0.35s ease;
}
.jta-more:hover {
    background: #0c4a6e;
    color: #fff;
    gap: 12px;
    box-shadow: 0 12px 28px rgba(12, 74, 110, 0.25);
    transform: translateY(-2px);
}
.jta-more i { transition: transform 0.35s ease; }
.jta-more:hover i { transform: translateX(3px); }

/* Responsive */
@media (max-width: 991.98px) {
    .jta-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .jta-inner { padding: 0 24px; }
}
@media (max-width: 575.98px) {
    .jasse-top-agents { padding: 70px 0 80px; }
    .jta-grid { grid-template-columns: 1fr; gap: 18px; }
    .jta-inner { padding: 0 16px; }
    .jta-header { margin-bottom: 35px; }
    .jta-name { font-size: 20px; }
    .jta-body { padding: 18px 18px 16px; }
    .jta-media { aspect-ratio: 4 / 3.5; }
}

@media (prefers-reduced-motion: reduce) {
    .jta-blob { animation: none; }
    .jta-card { animation: none; opacity: 1; transform: none; transition: box-shadow 0.3s ease; }
    .jta-media-shine { display: none; }
}

/* ============================================================
   JASSE — News: YouTube Video Embed + List Card Play Badge
   ============================================================ */
.jasse-news-video {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(12, 45, 72, 0.18);
}
.jasse-news-video-ratio {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}
.jasse-news-video-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* List card: thumbnail wrapper for play overlay */
.jasse-news-thumb {
    position: relative;
    overflow: hidden;
}
.jasse-news-thumb img {
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
}
.jasse-news-card:hover .jasse-news-thumb img {
    transform: scale(1.04);
}
.jasse-news-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s ease, background 0.35s ease;
    pointer-events: none;
}
.jasse-news-play::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    opacity: 0;
    transition: opacity 0.35s ease, inset 0.35s ease;
}
.jasse-news-card:hover .jasse-news-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: #ff0000;
}
.jasse-news-card:hover .jasse-news-play::before {
    opacity: 1;
    inset: -12px;
}

/* ═══════════════════════════════════════════════════════════════
   MARKET & GÜNDEM - Dashboard Widget + Detail Pages
   ═══════════════════════════════════════════════════════════════ */

/* ── iOS Weather Hero Widget ── */
.ios-weather-widget {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 180px;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ios-weather-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.ios-weather-sunny { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.ios-weather-cloudy { background: linear-gradient(135deg, #89a0b5 0%, #b0c4d8 50%, #8e9eab 100%); }
.ios-weather-rainy { background: linear-gradient(135deg, #4b6584 0%, #576574 50%, #2d3436 100%); }
.ios-weather-snowy { background: linear-gradient(135deg, #a8c0d6 0%, #c8d8e8 50%, #dfe6ed 100%); }
.ios-weather-night { background: linear-gradient(135deg, #0c1445 0%, #1a1a5e 40%, #2d1b69 100%); }

.ios-weather-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.ios-weather-content {
    position: relative;
    z-index: 2;
    padding: 28px 32px;
}

/* Sun */
.ios-sun {
    position: absolute;
    top: -30px;
    right: 60px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,236,110,0.6) 0%, rgba(255,200,55,0.2) 50%, transparent 70%);
    animation: iosSunPulse 4s ease-in-out infinite;
}
.ios-sun-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,236,110,0.9), rgba(255,200,55,0.5));
    box-shadow: 0 0 30px rgba(255,236,110,0.5);
}
.ios-sun-ray {
    position: absolute;
    top: 10px;
    right: 80px;
    width: 2px;
    height: 25px;
    background: rgba(255,236,110,0.4);
    border-radius: 2px;
    transform-origin: bottom center;
    animation: iosSunRayPulse 3s ease-in-out infinite;
}
.ios-sun-ray-1 { transform: rotate(-30deg); right: 120px; animation-delay: 0s; }
.ios-sun-ray-2 { transform: rotate(0deg); right: 105px; top: -5px; height: 30px; animation-delay: 0.5s; }
.ios-sun-ray-3 { transform: rotate(30deg); right: 45px; animation-delay: 1s; }

/* Clouds */
.ios-cloud {
    position: absolute;
    width: 90px;
    height: 30px;
    background: rgba(255,255,255,0.3);
    border-radius: 30px;
}
.ios-cloud::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: inherit;
    border-radius: 50%;
    top: -20px;
    left: 15px;
}
.ios-cloud::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background: inherit;
    border-radius: 50%;
    top: -12px;
    left: 45px;
}
.ios-cloud-1 { top: 15px; right: 10%; animation: iosCloudDrift 12s ease-in-out infinite; }
.ios-cloud-2 { top: 40px; right: 35%; animation: iosCloudDrift 16s ease-in-out infinite reverse; opacity: 0.6; transform: scale(0.7); }
.ios-cloud-3 { top: 25px; right: 55%; animation: iosCloudDrift 20s ease-in-out infinite; opacity: 0.4; transform: scale(0.5); }

/* Rain */
.ios-raindrop {
    position: absolute;
    top: -10px;
    width: 2px;
    height: 16px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5));
    border-radius: 0 0 3px 3px;
    animation: iosRainFall 0.8s linear infinite;
}

/* Snow */
.ios-snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255,255,255,0.7);
    animation: iosSnowFall 3s linear infinite;
}
.ios-snowflake::before { content: '●'; }

/* Night */
.ios-moon {
    position: absolute;
    top: 12px;
    right: 70px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f5f3ce, #e8e4b8);
    box-shadow: 0 0 20px rgba(245,243,206,0.3), 0 0 50px rgba(245,243,206,0.1);
    animation: iosMoonGlow 5s ease-in-out infinite;
}
.ios-moon::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(200,195,160,0.3);
}
.ios-star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    width: 1em;
    height: 1em;
    animation: iosStarTwinkle 2s ease-in-out infinite;
}

/* Weather Content */
.ios-weather-city {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.5px;
}
.ios-weather-temp {
    font-size: 4rem;
    font-weight: 200;
    line-height: 1;
    margin: 4px 0 6px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.ios-weather-deg {
    font-size: 2rem;
    vertical-align: super;
    font-weight: 300;
}
.ios-weather-desc {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 400;
    text-transform: capitalize;
}
.ios-weather-details {
    text-align: right;
}
.ios-weather-detail-row {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 16px;
}
.ios-weather-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.ios-weather-detail-item i {
    font-size: 1.1rem;
    opacity: 0.8;
}
.ios-weather-detail-label {
    font-size: 0.7rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ios-weather-detail-value {
    font-size: 1.05rem;
    font-weight: 600;
}
.ios-weather-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}
.ios-weather-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}
.ios-weather-link:hover {
    background: rgba(255,255,255,0.35);
    color: #fff;
}
.ios-weather-updated {
    font-size: 0.7rem;
    opacity: 0.6;
}

/* ── Market Data Cards ── */
.mw-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--cb-border);
}
.mw-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.mw-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1rem;
}
.mw-icon-fuel { background: linear-gradient(135deg, #f59e0b, #d97706); }
.mw-icon-exchange { background: linear-gradient(135deg, #10b981, #059669); }
.mw-icon-news { background: linear-gradient(135deg, #6366f1, #4f46e5); }

.mw-link {
    text-decoration: none;
    font-size: 0.75rem;
    color: var(--cb-primary);
    font-weight: 500;
    transition: color 0.2s;
}
.mw-link:hover { color: var(--cb-navy); }

.mw-data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--cb-border);
}
.mw-data-row:last-of-type { border-bottom: none; }
.mw-data-label {
    font-size: 0.82rem;
    color: #64748b;
}
.mw-data-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cb-navy);
}
.mw-change {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 6px;
}
.mw-change-up { color: #10b981; }
.mw-change-down { color: #ef4444; }

.mw-timestamp {
    margin-top: 8px;
    font-size: 0.7rem;
    color: #94a3b8;
}
.mw-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 0;
    color: #94a3b8;
    font-size: 0.82rem;
}
.mw-empty i { font-size: 1.5rem; opacity: 0.4; }

/* News rows */
.mw-news-row {
    display: flex;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid var(--cb-border);
    align-items: flex-start;
}
.mw-news-row:last-of-type { border-bottom: none; }
.mw-news-num {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.mw-news-content { flex: 1; min-width: 0; }
.mw-news-title {
    display: block;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--cb-navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.mw-news-title:hover { color: var(--cb-primary); }
.mw-news-source {
    font-size: 0.68rem;
    color: #94a3b8;
}

/* ── Animations ── */
@keyframes iosSunPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
}
@keyframes iosSunRayPulse {
    0%, 100% { opacity: 0.3; height: 25px; }
    50% { opacity: 0.7; height: 30px; }
}
@keyframes iosCloudDrift {
    0%, 100% { transform: translateX(0) scale(var(--s, 1)); }
    50% { transform: translateX(25px) scale(var(--s, 1)); }
}
@keyframes iosRainFall {
    0% { transform: translateY(-10px); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(200px); opacity: 0; }
}
@keyframes iosSnowFall {
    0% { transform: translateY(-10px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(200px) rotate(360deg); opacity: 0; }
}
@keyframes iosMoonGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(245,243,206,0.3), 0 0 50px rgba(245,243,206,0.1); }
    50% { box-shadow: 0 0 30px rgba(245,243,206,0.5), 0 0 70px rgba(245,243,206,0.2); }
}
@keyframes iosStarTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* ── Detail Page Styles (kept) ── */
.data-stale-banner {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    color: #92400e;
    font-size: 0.875rem;
    padding: 10px 16px;
}
.market-price-tag {
    color: var(--cb-navy);
    font-weight: 600;
}
.market-price-up {
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
}
.market-price-down {
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 600;
}
.news-feed-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.news-feed-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.news-feed-image {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background: #f1f5f9;
}
.news-feed-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-feed-card:hover .news-feed-image img {
    transform: scale(1.05);
}
.weather-city-card {
    overflow: hidden;
    border: none;
}
.weather-city-header {
    padding: 20px;
    color: #fff;
}
.weather-forecast-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--cb-border);
    transition: background 0.15s ease;
}
.weather-forecast-row:last-child {
    border-bottom: none;
}
.weather-forecast-row:hover {
    background: #f8fafc;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .ios-weather-temp { font-size: 3rem; }
    .ios-weather-content { padding: 22px 24px; }
    .ios-weather-detail-row { gap: 14px; }
}
@media (max-width: 767.98px) {
    .ios-weather-widget { min-height: 140px; }
    .ios-weather-temp { font-size: 2.8rem; }
    .ios-weather-deg { font-size: 1.5rem; }
    .ios-weather-content { padding: 18px 20px; }
    .ios-weather-details { text-align: left; margin-top: 12px; }
    .ios-weather-detail-row { justify-content: flex-start; }
    .ios-weather-actions { justify-content: flex-start; }
    .ios-sun { width: 70px; height: 70px; right: 20px; }
    .ios-sun-core { width: 35px; height: 35px; }
    .ios-moon { width: 40px; height: 40px; right: 30px; }
    .weather-city-header { padding: 16px; }
}