﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --bg-color: #f1f5f9;
    --surface-color: #ffffff;
    --sidebar-bg: #ffffff;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #6366f1;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --sidebar-width: 260px;
    --header-height: 70px;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
}

/* Layout Structure */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.sidebar-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    font-family: 'Outfit', sans-serif; 
    font-size: 1.4rem; 
    font-weight: 700;
    letter-spacing: -0.5px; 
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-icon {
    color: var(--primary);
    font-size: 1.6rem;
}
.logo-eko { color: var(--text-main); }
.logo-emlak { color: var(--text-main); font-weight: 800; margin-left: 0; margin-right: 0; }
.logo-pro {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.16rem 0.5rem;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.35);
    margin-left: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

.sidebar-menu {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    flex: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.menu-item:hover {
    background: #f8fafc;
    color: var(--primary);
}

.menu-item.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.menu-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Main Content Area */
.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.top-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    width: 320px;
}

.search-bar i {
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.action-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    padding: 0.4rem;
}

.action-btn:hover {
    color: var(--primary);
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    text-decoration: none;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Page Content */
.page-content {
    padding: 2rem;
    flex: 1;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface-color);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.primary { background: rgba(37, 99, 235, 0.1); color: var(--primary); }
.stat-icon.success { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.stat-icon.warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.stat-icon.purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.stat-details h3 {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-details .value {
    margin: 0.2rem 0 0 0;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

.stat-details .trend {
    font-size: 0.8rem;
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.trend.up { color: #10b981; }
.trend.down { color: #ef4444; }

/* Dashboard Tables/Lists */
.dashboard-section {
    background: var(--surface-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.btn-outline {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: transparent;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: var(--text-muted);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.activity-content { flex: 1; }
.activity-content h4 { margin: 0; font-size: 0.95rem; font-weight: 500; }
.activity-content p { margin: 0.2rem 0 0 0; font-size: 0.85rem; color: var(--text-muted); }
.activity-time { font-size: 0.8rem; color: var(--text-muted); }

/* Auth Layout & Cards */
.auth-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    padding: 2rem;
}

.auth-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.auth-box {
    width: 100%;
    max-width: 420px;
}

.glass-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-primary {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.text-danger { color: #ef4444; font-size: 0.875rem; margin-bottom: 1rem; display: block; }
.text-success { color: #10b981; font-size: 0.875rem; margin-bottom: 1rem; display: block; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.text-muted { color: var(--text-muted); }
a.text-primary { color: var(--primary); text-decoration: none; font-weight: 500; }
a.text-primary:hover { text-decoration: underline; }

#app {
    width: 100%;
}

/* Badges & Tags */
.menu-badge {
    margin-left: auto;
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 12px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-pill.success { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.status-pill.warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.status-pill.primary { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.status-pill.purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.status-pill.danger { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

/* Filter Bars & Page Headers */
.page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
    color: var(--text-main);
}
.page-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.filter-bar {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: var(--surface-color);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-btn:hover {
    background: #f8fafc;
    color: var(--text-main);
}
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Data Tables */
.modern-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.modern-table th {
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    background: #f8fafc;
}
.modern-table td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-main);
    font-size: 0.9rem;
    vertical-align: middle;
}
.modern-table tr:hover td {
    background: #f8fafc;
}

/* Modals */
.custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}
.custom-modal-box {
    background: var(--surface-color);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    animation: modalIn 0.2s ease-out;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.modal-close-btn {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
}
.modal-close-btn:hover { color: var(--text-main); }

/* Match Card */
.match-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.match-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.score-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.score-circle.high { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 2px solid #10b981; }
.score-circle.medium { background: rgba(59, 130, 246, 0.15); color: #2563eb; border: 2px solid #2563eb; }
.score-circle.low { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 2px solid #f59e0b; }

/* ==========================================================================
   PUBLIC SHOWCASE & CUSTOMER PORTAL STYLES
   ========================================================================== */

.public-site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    font-family: 'Inter', sans-serif;
}

/* ==========================================================================
   PUBLIC TOPBAR (LUXURY EXECUTIVE REAL ESTATE BAR)
   ========================================================================== */

.public-topbar {
    background: linear-gradient(90deg, #090e17 0%, #0f172a 50%, #090e17 100%);
    color: #94a3b8;
    font-size: 0.8125rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1020;
    letter-spacing: 0.15px;
}

.public-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.topbar-contact {
    display: flex;
    gap: 1.5rem;
}
.topbar-contact span i {
    color: #38bdf8;
    margin-right: 0.35rem;
}
.topbar-agent-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}
.topbar-agent-link:hover {
    color: #38bdf8;
}

.public-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.85rem 0;
}
.public-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.public-logo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
}
.logo-tag {
    font-size: 0.7rem;
    background: #e0f2fe;
    color: #0284c7;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    margin-left: 0.35rem;
    font-weight: 600;
}
.public-nav-links {
    display: flex;
    gap: 0.75rem;
}
.public-nav-links .nav-item {
    color: #475569;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.public-nav-links .nav-item:hover, .public-nav-links .nav-item.active {
    color: #2563eb;
    background: #eff6ff;
}
.public-nav-cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.btn-whatsapp {
    background: #22c55e;
    color: #ffffff !important;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: background 0.2s;
}
.btn-whatsapp:hover {
    background: #16a34a;
}
.btn-agent-dash {
    background: #f1f5f9;
    color: #334155 !important;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.btn-agent-dash:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}

/* VITRIN HERO */
.vitrin-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e3a8a 100%);
    color: #ffffff;
    padding: 4.5rem 0 3.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-search-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    text-align: left;
}
.search-filters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: flex-end;
}
.search-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.35rem;
}
.search-field input, .search-field select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}
.search-field input:focus, .search-field select:focus {
    border-color: #2563eb;
}
.btn-hero-search {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.68rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
}
.btn-hero-search:hover {
    background: #1d4ed8;
}

/* VITRIN CONTAINER & GRID */
.vitrin-container {
    padding: 3rem 1.5rem 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.vitrin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.vitrin-type-pills {
    display: flex;
    gap: 0.5rem;
}
.pill-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.pill-btn:hover, .pill-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* VITRIN LISTING GRID & SQUARE CARDS (3-COLUMN SIDE-BY-SIDE) */
.property-grid, .properties-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.75rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 3.5rem !important;
}

@media (max-width: 1024px) {
    .property-grid, .properties-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 640px) {
    .property-grid, .properties-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
}

.property-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    position: relative !important;
    height: 100% !important;
}

.property-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.12) !important;
    border-color: #cbd5e1 !important;
}

.card-image-wrap, .card-photo-hero {
    position: relative !important;
    height: 220px !important;
    width: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 1.15rem !important;
}

.card-theme-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.4s ease !important;
}

.property-card:hover .card-theme-bg {
    transform: scale(1.06) !important;
}

.card-theme-bg i {
    font-size: 4.5rem !important;
    color: rgba(255, 255, 255, 0.18) !important;
    transition: all 0.3s ease !important;
}

.property-card:hover .card-theme-bg i {
    color: rgba(255, 255, 255, 0.28) !important;
    transform: scale(1.08) !important;
}

.theme-apt {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}
.theme-villa {
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%) !important;
}
.theme-land {
    background: linear-gradient(135deg, #78350f 0%, #b45309 100%) !important;
}
.theme-comm {
    background: linear-gradient(135deg, #312e81 0%, #4338ca 100%) !important;
}

.card-badges-row, .card-badges {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
}

.card-badge {
    padding: 0.32rem 0.75rem !important;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(6px) !important;
}

.card-badge.badge-sale, .badge-status {
    background: #2563eb !important;
    color: #ffffff !important;
}

.card-badge.badge-type, .badge-type {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #0f172a !important;
}

.card-price-overlay {
    position: relative !important;
    z-index: 2 !important;
    background: rgba(15, 23, 42, 0.88) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 0.5rem 0.95rem !important;
    border-radius: 10px !important;
    align-self: flex-start !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.card-body {
    padding: 1.25rem 1.35rem 1.35rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.card-location {
    font-size: 0.82rem !important;
    color: #64748b !important;
    margin-bottom: 0.45rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    font-weight: 500 !important;
}

.card-location i {
    color: #ef4444 !important;
    font-size: 0.85rem !important;
}

.card-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.12rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 0.6rem !important;
    min-height: 2.8rem !important;
}

.card-title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.card-title a:hover {
    color: #2563eb !important;
}

.card-desc {
    font-size: 0.86rem !important;
    color: #64748b !important;
    line-height: 1.55 !important;
    margin-bottom: 1.15rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    flex: 1 !important;
}

.card-specs {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.25rem !important;
    padding: 0.85rem 0 !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin-bottom: 1.15rem !important;
    font-size: 0.84rem !important;
    color: #475569 !important;
}

.spec-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    font-weight: 600 !important;
}

.spec-item i {
    color: #2563eb !important;
    font-size: 0.95rem !important;
}

.card-footer {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    margin-top: auto !important;
}

.btn-card-detail {
    flex: 1 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 0.65rem 1rem !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.btn-card-detail:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25) !important;
}

.btn-card-wa {
    width: 44px !important;
    height: 44px !important;
    background: #f0fdf4 !important;
    color: #16a34a !important;
    border: 1.5px solid #bbf7d0 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 1.25rem !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.btn-card-wa:hover {
    background: #22c55e !important;
    color: #ffffff !important;
    border-color: #22c55e !important;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3) !important;
}

/* TALEP CTA BANNER */
.talep-cta-banner {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.2);
}
.cta-banner-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.cta-banner-text p {
    font-size: 1rem;
    color: #dbeafe;
    line-height: 1.6;
    max-width: 650px;
}
.btn-cta-white {
    background: #ffffff;
    color: #1d4ed8 !important;
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* PROPERTY DETAIL PAGE */
.property-detail-page {
    padding: 2rem 1.5rem 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.breadcrumb-bar {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}
.breadcrumb-bar a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}
.detail-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.detail-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}
.badge-code {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}
.detail-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.35rem;
}
.detail-location {
    font-size: 0.95rem;
    color: #64748b;
}
.detail-price-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: right;
}
.price-lbl {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}
.detail-price-box .price-val {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
}

.detail-main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.detail-gallery-hero {
    height: 380px;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.gallery-watermark {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.metric-card i {
    color: #2563eb;
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}
.m-val {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #0f172a;
}
.m-lbl {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.2rem;
}
.detail-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}
.detail-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.detail-text-content {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.7;
}
.features-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.feat-item {
    font-size: 0.9rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.feat-item i {
    color: #10b981;
}

/* SIDEBAR INQUIRY CARD */
.agent-contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 90px;
}
.agent-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.agent-avatar {
    width: 48px;
    height: 48px;
    background: #2563eb;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.agent-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}
.agent-title {
    font-size: 0.8rem;
    color: #64748b;
}
.btn-sidebar-wa {
    background: #22c55e;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.2s;
}
.btn-sidebar-wa:hover {
    background: #16a34a;
}
.btn-submit-lead {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-submit-lead:hover {
    background: #1d4ed8;
}

/* TALEP SAYFASI */
.talep-page {
    padding: 3rem 1.5rem 5rem 1.5rem;
    max-width: 850px;
    margin: 0 auto;
}
.talep-hero-box {
    text-align: center;
    margin-bottom: 2.5rem;
}
.talep-hero-box h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.talep-hero-box p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}
.talep-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.step-num {
    width: 28px;
    height: 28px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.form-section-title h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.talep-success-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.success-icon {
    font-size: 3.5rem;
    color: #10b981;
    margin-bottom: 1rem;
}
.talep-success-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.portal-cta-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 550px;
    margin: 1.75rem auto 0 auto;
}

/* CUSTOMER PORTAL */
.customer-portal-page {
    padding: 2.5rem 1.5rem 5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.portal-login-box {
    max-width: 450px;
    margin: 4rem auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.portal-login-header {
    text-align: center;
    margin-bottom: 1.75rem;
}
.portal-login-icon {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 0.75rem;
}
.portal-login-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}
.portal-login-header p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}

.portal-header-banner {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.portal-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.portal-header-info h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.35rem;
}
.portal-header-info p {
    color: #64748b;
    font-size: 0.95rem;
}
.portal-agent-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.agent-avatar-small {
    width: 44px;
    height: 44px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-micro-phone {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    text-decoration: none;
}
.btn-micro-wa {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    text-decoration: none;
}

.portal-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}
.portal-match-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}
.status-viewing-card {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}
.match-score-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: #10b981;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.match-card-img-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.match-badge-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
}
.match-price-tag {
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    align-self: flex-start;
}
.match-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.match-loc {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 0.35rem;
}
.match-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.match-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}
.match-features {
    display: flex;
    gap: 0.85rem;
    font-size: 0.82rem;
    color: #475569;
    padding: 0.65rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1rem;
}
.match-status-bar {
    margin-bottom: 1rem;
}
.status-indicator {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.status-indicator.viewing {
    background: #dbeafe;
    color: #1d4ed8;
}
.status-indicator.interested {
    background: #dcfce7;
    color: #15803d;
}
.status-indicator.rejected {
    background: #f1f5f9;
    color: #64748b;
}
.status-indicator.new {
    background: #fef3c7;
    color: #b45309;
}
.match-actions-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    gap: 0.5rem;
}
.btn-action-viewing {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}
.btn-action-viewing:hover {
    background: #1d4ed8;
}
.btn-action-like {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    padding: 0.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}
.btn-action-like:hover, .btn-action-like.active {
    background: #22c55e;
    color: #ffffff;
    border-color: #22c55e;
}
.btn-action-reject {
    background: #f8fafc;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    padding: 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-action-reject:hover, .btn-action-reject.active {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

/* PUBLIC FOOTER */
.public-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
    padding: 4rem 0 2rem 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.6rem;
}
.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #2563eb;
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .public-navbar-inner {
        flex-direction: column;
        gap: 1rem;
    }
    .search-filters-grid {
        grid-template-columns: 1fr;
    }
    .detail-main-layout {
        grid-template-columns: 1fr;
    }
    .talep-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .portal-header-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   EKODIA EMLAK PRO - LUXURY DESIGN SYSTEM & LAYOUT OVERHAUL
   ========================================================================== */

/* Universal Reset & Container */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Eliminate browser black focus outlines (FocusOnNavigate fix) */
h1:focus, h1:focus-visible,
h2:focus, h2:focus-visible,
h3:focus, h3:focus-visible,
[tabindex="-1"]:focus,
[tabindex="-1"]:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* LUXURY FORM CONTROLS & DROPDOWNS */
select, .custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1rem;
    padding: 0.72rem 2.5rem 0.72rem 1rem !important;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #0f172a;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
}

select:hover, .custom-select:hover {
    border-color: #cbd5e1;
}

select:focus, .custom-select:focus,
input[type="text"]:focus, input[type="number"]:focus, input[type="email"]:focus, textarea:focus {
    outline: none !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12) !important;
}

input[type="text"], input[type="number"], input[type="email"], textarea {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.72rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.2s ease;
}

input::placeholder, textarea::placeholder {
    color: #94a3b8;
}

/* TOPBAR */
.public-topbar {
    background: #090d16;
    color: #94a3b8;
    font-size: 0.82rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.public-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-contact {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}
.topbar-contact span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.topbar-contact span i {
    color: #38bdf8;
    font-size: 0.85rem;
}
.topbar-agent-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}
.topbar-agent-link:hover {
    color: #38bdf8;
    background: rgba(255, 255, 255, 0.1);
}

/* MAIN NAVBAR */
.public-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.public-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.public-logo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
}
.public-logo .logo-icon {
    font-size: 1.35rem;
    color: #2563eb;
    margin-right: 0.15rem;
}
.public-logo .logo-eko {
    color: #0f172a;
}
.public-logo .logo-emlak {
    color: #0f172a;
    font-weight: 800;
}
.public-logo .logo-pro {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.16rem 0.5rem;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.35);
    margin-left: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}
.logo-tag {
    font-size: 0.68rem;
    background: #e0f2fe;
    color: #0284c7;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    margin-left: 0.35rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.public-nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.3rem 0.4rem;
    border-radius: 12px;
}
.public-nav-links .nav-item {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.public-nav-links .nav-item:hover {
    color: #0f172a;
}
.public-nav-links .nav-item.active {
    color: #2563eb;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.public-nav-cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.btn-whatsapp {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transition: all 0.2s;
}
.btn-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}
.btn-agent-dash {
    background: #ffffff;
    color: #1e293b !important;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border: 1.5px solid #e2e8f0;
    transition: all 0.2s;
}
.btn-agent-dash:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a !important;
}

/* VITRIN HERO */
.vitrin-hero {
    background: linear-gradient(135deg, #090d16 0%, #0f172a 50%, #1e3a8a 100%);
    color: #ffffff;
    padding: 4.5rem 0 4rem 0;
    text-align: center;
    position: relative;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(56, 189, 248, 0.25);
}
.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    color: #ffffff;
    outline: none !important;
    border: none !important;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* LUXURY SEARCH CONSOLE */
.hero-search-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    text-align: left;
    color: #0f172a;
}
.search-tabs-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
}
.tab-btn {
    background: transparent;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}
.tab-btn.active {
    background: #eff6ff;
    color: #2563eb;
}
.search-filters-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1.2fr auto;
    gap: 1.25rem;
    align-items: flex-end;
}
.search-field label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.search-field label i {
    color: #2563eb;
    font-size: 0.9rem;
}
.btn-hero-search {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    padding: 0.78rem 1.6rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.2s;
    height: 46px;
}
.btn-hero-search:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

/* VITRIN CONTAINER & PILLS */
.vitrin-container {
    padding: 3.5rem 1.5rem 6rem 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}
.vitrin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}
.section-subtitle {
    color: #64748b;
    font-size: 0.95rem;
}
.vitrin-type-pills {
    display: flex;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.25rem;
    border-radius: 12px;
}
.pill-btn {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 0.45rem 1.1rem;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.pill-btn:hover {
    color: #0f172a;
}
.pill-btn.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* REAL ESTATE CARDS */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
}
.property-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}
.card-photo-hero {
    height: 220px;
    position: relative;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-photo-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    pointer-events: none;
}
.card-badges {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}
.badge-type {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.badge-status {
    background: #2563eb;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.card-price-overlay {
    position: relative;
    z-index: 2;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    align-self: flex-start;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.card-price-overlay .price-val {
    font-size: 1.35rem;
}
.card-price-overlay .price-cur {
    font-size: 0.9rem;
    color: #38bdf8;
    margin-left: 0.25rem;
}

.card-body {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-location {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.card-location i {
    color: #ef4444;
}
.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}
.card-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}
.card-specs {
    display: flex;
    gap: 1.1rem;
    padding: 0.85rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: #475569;
}
.spec-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.spec-item i {
    color: #2563eb;
    font-size: 0.95rem;
}
.card-footer {
    display: flex;
    gap: 0.75rem;
}
.btn-card-detail {
    flex: 1;
    background: #f8fafc;
    color: #0f172a;
    border: 1.5px solid #e2e8f0;
    padding: 0.65rem 0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}
.btn-card-detail:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}
.btn-card-wa {
    background: #dcfce7;
    color: #16a34a;
    border: 1.5px solid #bbf7d0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.2s;
}
.btn-card-wa:hover {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
}

/* 2-COLUMN LUXURY TALEP BIRAK PAGE */
.talep-page {
    padding: 3.5rem 1.5rem 6rem 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}
.talep-hero-box {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3rem auto;
}
.talep-hero-box h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0.5rem;
    margin-bottom: 0.65rem;
    line-height: 1.2;
}
.talep-hero-box p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}

.talep-2col-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    align-items: start;
}

/* LEFT PROPOSITION CARD */
.talep-benefit-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.benefit-card {
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}
.benefit-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.benefit-card h3 i {
    color: #38bdf8;
}
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.benefit-item {
    display: flex;
    gap: 1rem;
}
.benefit-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.benefit-item strong {
    display: block;
    font-size: 0.95rem;
    color: #f1f5f9;
    margin-bottom: 0.2rem;
}
.benefit-item p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

.agent-trust-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.trust-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.trust-info strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: #0f172a;
    display: block;
}
.trust-info span {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
    margin-bottom: 0.5rem;
}
.trust-phone {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

/* RIGHT FORM CARD */
.talep-form-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.05);
}
.form-step-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.step-num {
    width: 32px;
    height: 32px;
    background: #eff6ff;
    color: #2563eb;
    border: 1.5px solid #bfdbfe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}
.form-step-title h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* VISUAL SELECTOR TILES */
.type-selector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.type-tile {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #ffffff;
    color: #475569;
}
.type-tile i {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
    display: block;
    color: #64748b;
}
.type-tile span {
    font-size: 0.82rem;
    font-weight: 700;
    display: block;
}
.type-tile:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.type-tile.selected {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}
.type-tile.selected i {
    color: #2563eb;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.45rem;
}

/* CUSTOMER PORTAL ENHANCED */
.customer-portal-page {
    padding: 3rem 1.5rem 6rem 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}
.portal-welcome-card {
    max-width: 540px;
    margin: 3rem auto;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
    text-align: center;
}
.portal-shield-icon {
    width: 72px;
    height: 72px;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
}
.portal-welcome-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.portal-welcome-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.phone-input-group {
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.2s;
    margin-bottom: 1.25rem;
}
.phone-input-group:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12);
}
.phone-prefix {
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-right: 1.5px solid #e2e8f0;
    font-weight: 700;
    font-size: 0.9rem;
    color: #334155;
}
.phone-input-group input {
    border: none !important;
    box-shadow: none !important;
    padding: 0.75rem 1rem;
}
.btn-portal-enter {
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    padding: 0.85rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-portal-enter:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}
.btn-portal-demo {
    width: 100%;
    background: #f8fafc;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    margin-top: 0.75rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-portal-demo:hover {
    background: #f1f5f9;
    color: #0f172a;
}

@media (max-width: 900px) {
    .talep-2col-layout {
        grid-template-columns: 1fr;
    }
    .search-filters-grid {
        grid-template-columns: 1fr;
    }
    .type-selector-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* >>> EKODIA MASTER MOBILE RESPONSIVE SYSTEM <<< */
/* ==========================================================================
   EKODIA EMLAK PRO - MASTER RESPONSIVE & MOBILE DESIGN SYSTEM
   ========================================================================== */

/* Utility Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base Responsive Helpers */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Topbar Phone Color (Pure White on Mobile & Desktop) */
.topbar-phone-link,
.topbar-contact a.topbar-phone-link,
.public-topbar a.topbar-phone-link {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    transition: opacity 0.2s;
}
.topbar-phone-link:hover {
    opacity: 0.9;
}
.topbar-phone-link i,
.topbar-contact a.topbar-phone-link i {
    color: #38bdf8 !important;
    font-size: 0.85rem;
}

/* Navbar Brand Row Architecture */
.navbar-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.mobile-top-wa {
    display: none;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.table-responsive::-webkit-scrollbar {
    height: 6px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}
.table-responsive .modern-table {
    min-width: 640px;
    width: 100%;
}

/* Grids & Layout Containers */
.dashboard-split-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}
.header-btn-group.topbar-contact {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.topbar-phone-link {
    color: #ffffff;
    font-weight: 600;
}

.topbar-phone-link .topbar-icon-badge {
    width: 22px;
    height: 22px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.25s ease;
}

.topbar-phone-link:hover {
    color: #38bdf8;
}

.topbar-phone-link:hover .topbar-icon-badge {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    transform: scale(1.05);
}

.topbar-email-link {
    color: #cbd5e1;
}

.topbar-email-link i {
    color: #38bdf8;
    font-size: 0.82rem;
}

.topbar-email-link:hover {
    color: #ffffff;
}

.topbar-email-link:hover i {
    color: #60a5fa;
}

.topbar-location {
    color: #94a3b8;
}

.topbar-location i {
    color: #f59e0b;
    font-size: 0.82rem;
}

.topbar-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-block;
}

/* TOPBAR ACTIONS (RIGHT) */
.topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.topbar-action-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.28rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.775rem;
    line-height: 1.25;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Müşteri Girişi Button */
.topbar-btn-customer {
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.4);
    color: #bfdbfe;
    font-weight: 600;
}

.topbar-btn-customer i {
    color: #60a5fa;
    font-size: 0.82rem;
    transition: transform 0.2s ease;
}

.topbar-btn-customer:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.topbar-btn-customer:hover i {
    color: #ffffff;
    transform: scale(1.15);
}

/* Danışman Girişi Button */
.topbar-btn-consultant {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    font-weight: 500;
}

.topbar-btn-consultant i {
    color: #f59e0b;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.topbar-btn-consultant:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.topbar-btn-consultant:hover i {
    transform: scale(1.15);
}

/* Responsive Rules for Topbar */
@media (max-width: 991px) {
    .topbar-item-desktop,
    .topbar-sep.topbar-item-desktop {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .public-topbar {
        padding: 0.35rem 0;
    }
    .topbar-phone-link span.topbar-phone-num {
        font-size: 0.78rem;
    }
    .topbar-action-btn {
        padding: 0.24rem 0.6rem;
        font-size: 0.72rem;
    }
}
.header-btn-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}
.header-btn-group .btn-highlight {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background: white;
}
.filter-btn-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.filter-search-box {
    margin-left: auto;
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    border: 1.5px solid transparent;
    transition: all 0.2s;
}
.filter-search-box:focus-within {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.filter-search-box input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 0.88rem;
    width: 220px;
}

/* Modal Form Grids */
.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.form-grid-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.modal-actions-row {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

/* Match Cards Architecture */
.match-card-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.match-card-details {
    flex: 1;
}
.match-card-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sidebar Drawer & Mobile Backdrop for Consultant Panel */
.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.2s;
}
.mobile-menu-toggle:hover {
    background: #f1f5f9;
}

.sidebar-close-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
    margin-left: auto;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}
.sidebar-close-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

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

/* Public Layout Mobile Elements */
.public-mobile-toggle {
    display: none;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.public-mobile-toggle:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.public-nav-collapsible {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   BREAKPOINT: Large Tablets & Laptops (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    .detail-main-layout {
        grid-template-columns: 1.5fr 1fr;
        gap: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: Tablets & Below (max-width: 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    /* Consultant Layout Off-Canvas Drawer */
    .mobile-menu-toggle {
        display: inline-flex;
    }
    .sidebar-close-btn {
        display: inline-flex;
    }
    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -300px !important;
        bottom: 0 !important;
        width: 280px !important;
        z-index: 2000 !important;
        box-shadow: none !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    .sidebar.mobile-open {
        left: 0 !important;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.35) !important;
    }
    .main-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .top-header {
        padding: 0 1.25rem;
        height: 64px;
    }
    .page-content {
        padding: 1.5rem 1.25rem;
    }

    /* Public Layout Mobile Navbar (Header Row with Left-Aligned Menu Button) */
    .public-navbar-inner {
        flex-direction: column;
        width: 100%;
    }
    .navbar-header-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .public-mobile-toggle {
        display: inline-flex !important;
        order: 1; /* Docked to far left */
        margin-right: 0.75rem;
    }
    .public-logo {
        order: 2; /* In the middle/left beside the menu button */
        margin-right: auto;
        font-size: 1.25rem;
    }
    .public-logo .logo-icon {
        font-size: 1.25rem;
    }
    .mobile-top-wa {
        display: inline-flex !important;
        order: 3; /* Docked to far right */
        width: 40px;
        height: 40px;
        background: #10b981;
        color: #ffffff !important;
        border-radius: 10px;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
        text-decoration: none;
        flex-shrink: 0;
        margin-left: 0.5rem;
    }
    .mobile-top-wa:hover {
        background: #059669;
    }

    .public-nav-collapsible {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        padding: 1.25rem 0 0.5rem 0;
        border-top: 1px solid #f1f5f9;
        margin-top: 0.75rem;
    }
    .public-nav-collapsible.open {
        display: flex;
        animation: slideDown 0.25s ease forwards;
    }
    .public-nav-links {
        flex-direction: column;
        width: 100%;
        background: transparent;
        padding: 0;
        gap: 0.4rem;
    }
    .public-nav-links .nav-item {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        border-radius: 10px;
        background: #f8fafc;
        border: 1px solid #f1f5f9;
    }
    .public-nav-links .nav-item.active {
        background: #eff6ff;
        color: #2563eb;
        border-color: #bfdbfe;
    }
    .public-nav-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.6rem;
    }
    .public-nav-cta .btn-whatsapp,
    .public-nav-cta .btn-agent-dash {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    /* Split Grids */
    .dashboard-split-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Property Detail Page */
    .detail-main-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .detail-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .detail-price-box {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f8fafc;
        padding: 1rem 1.25rem;
        border-radius: 14px;
        border: 1px solid #e2e8f0;
    }

    /* Talep 2-Col Layout */
    .talep-2col-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: Mobile Phones (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Touch Target & Zoom Guard */
    input, select, textarea {
        font-size: 16px !important;
    }

    /* Top Bar Mobile Optimization (Phone in Pure White) */
    .public-topbar {
        padding: 0.45rem 0;
        background: #090d16;
    }
    .topbar-item-desktop {
        display: none !important;
    }
    .public-topbar-inner {
        justify-content: space-between;
    }
    .topbar-contact .topbar-phone-link,
    .public-topbar a.topbar-phone-link {
        color: #ffffff !important;
        font-size: 0.88rem !important;
        font-weight: 700 !important;
    }
    .topbar-contact .topbar-phone-link i {
        color: #38bdf8 !important;
    }
    .topbar-agent-link {
        font-size: 0.8rem;
        padding: 0.25rem 0.55rem;
        color: #cbd5e1;
        background: rgba(255, 255, 255, 0.08);
    }

    /* Header Actions & Search Bar */
    .top-header .search-bar {
        width: 180px;
    }
    .user-profile .user-info {
        display: none;
    }
    .user-profile .profile-chevron {
        display: none;
    }
    .header-actions {
        gap: 0.75rem;
    }

    /* Page Content & Header Rows */
    .page-content {
        padding: 1.25rem 0.85rem;
    }
    .page-header-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 1.25rem;
    }
    .header-btn-group {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    .header-btn-group .btn-primary,
    .header-btn-group .btn-outline {
        width: 100% !important;
        justify-content: center;
        text-align: center;
        padding: 0.75rem;
    }

    /* Filter Bar Mobile Scroll / Wrap */
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
    .filter-btn-group {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.35rem;
        flex-wrap: nowrap;
        width: 100%;
    }
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.45rem 0.85rem;
    }
    .filter-search-box {
        margin-left: 0;
        width: 100%;
    }
    .filter-search-box input {
        width: 100%;
    }

    /* Dashboard Stats Grid */
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Match Cards Stack */
    .match-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 1.25rem;
    }
    .match-card-content {
        align-items: flex-start;
        gap: 1rem;
    }
    .match-card-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    .match-card-actions button {
        width: 100% !important;
        justify-content: center;
        text-align: center;
        padding: 0.75rem;
    }

    /* Vitrin Hero & Search Box */
    .vitrin-hero {
        padding: 2.75rem 1rem 3rem 1rem;
    }
    .hero-title {
        font-size: 2.1rem !important;
    }
    .hero-subtitle {
        font-size: 0.98rem !important;
        margin-bottom: 1.75rem;
    }
    .hero-search-box {
        padding: 1.25rem;
        border-radius: 16px;
    }
    .search-tabs-row {
        width: 100%;
        gap: 0.5rem;
    }
    .tab-btn {
        flex: 1;
        text-align: center;
        padding: 0.55rem;
        font-size: 0.88rem;
    }
    .search-filters-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    .btn-hero-search {
        width: 100%;
        justify-content: center;
        height: 48px;
    }

    /* Vitrin Header & Pills */
    .vitrin-container {
        padding: 2.5rem 1rem 4rem 1rem;
    }
    .vitrin-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    .vitrin-type-pills {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }
    .pill-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Properties Grid -> 100% Responsive Single Column on Mobile */
    .properties-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    .property-card {
        border-radius: 16px;
    }
    .card-photo-hero {
        height: 200px;
    }

    /* Detail Page Metrics Grid */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }
    .features-checklist {
        grid-template-columns: 1fr !important;
        gap: 0.6rem;
    }
    .detail-gallery-hero {
        height: 240px;
    }

    /* Talep Bırak Page */
    .talep-page {
        padding: 2.25rem 1rem 4rem 1rem;
    }
    .talep-hero-box h1 {
        font-size: 2.1rem !important;
    }
    .talep-form-card {
        padding: 1.75rem 1.25rem;
        border-radius: 18px;
    }
    .type-selector-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.6rem;
    }
    .form-row-2 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
    .talep-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.25rem;
        gap: 1.5rem;
    }
    .btn-cta-white {
        width: 100%;
        justify-content: center;
    }

    /* Customer Portal */
    .customer-portal-page {
        padding: 2rem 1rem 4rem 1rem;
    }
    .portal-welcome-card {
        padding: 2rem 1.25rem;
        margin: 1.5rem auto;
        border-radius: 18px;
    }
    .portal-welcome-card h2 {
        font-size: 1.5rem;
    }
    .portal-header-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.5rem 1.25rem;
        border-radius: 18px;
    }
    .portal-header-info h1 {
        font-size: 1.6rem;
    }
    .portal-agent-badge {
        width: 100%;
        justify-content: flex-start;
    }
    .portal-matches-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    .match-actions-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem;
    }
    .btn-action-like, .btn-action-reject {
        width: 100%;
        justify-content: center;
    }

    /* Public Footer Stacking */
    .footer-inner {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: Extra Small Phones (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    /* Header Bar */
    .top-header {
        padding: 0 0.75rem;
    }
    .top-header .search-bar {
        display: none;
    }

    /* Modal dialogs */
    .custom-modal-backdrop {
        padding: 0.5rem;
    }
    .custom-modal-box {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }
    .form-grid-2col,
    .form-grid-3col {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
    .modal-actions-row {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    .modal-actions-row button {
        width: 100% !important;
        justify-content: center;
        text-align: center;
    }

    /* Auth Screens (Login / Register) */
    .glass-card.auth-box {
        padding: 1.5rem 1.15rem;
        border-radius: 16px;
    }
    .auth-layout {
        padding: 1rem 0.5rem;
    }

    /* Vitrin Titles */
    .hero-title {
        font-size: 1.8rem !important;
    }
    .section-title {
        font-size: 1.5rem !important;
    }
    .detail-title {
        font-size: 1.4rem !important;
    }

    /* Spec Items on Real Estate Cards */
    .card-specs {
        gap: 0.4rem;
    }
    .spec-item {
        font-size: 0.78rem;
        padding: 0.3rem 0.5rem;
    }
}

/* ==========================================================================
   EKODIA EMLAK PRO - DANISMAN PORTALI & CRM COMPONENT DESIGN SYSTEM
   ========================================================================== */

/* Page Headers */
.page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.page-title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 0.35rem 0 !important;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.page-subtitle {
    font-size: 0.92rem !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.5;
}
.header-btn-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Primary and Outline Buttons */
.btn-primary {
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.7rem 1.35rem !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
.btn-primary:hover {
    background: #1d4ed8 !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
}
.btn-primary:active {
    transform: translateY(0);
}
.btn-outline {
    background: #ffffff !important;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 0.68rem 1.25rem !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
.btn-outline:hover {
    border-color: #94a3b8 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
}

/* Stats Grid on Dashboard */
.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 1.25rem !important;
    margin-bottom: 2rem !important;
}
.stat-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 1.35rem 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1.15rem !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
}
.stat-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
}
.stat-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.35rem !important;
    flex-shrink: 0 !important;
}
.stat-icon.primary {
    background: rgba(37, 99, 235, 0.12) !important;
    color: #2563eb !important;
}
.stat-icon.success {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #10b981 !important;
}
.stat-icon.warning {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #f59e0b !important;
}
.stat-icon.purple {
    background: rgba(139, 92, 246, 0.12) !important;
    color: #8b5cf6 !important;
}
.stat-details {
    flex: 1 !important;
    min-width: 0 !important;
}
.stat-details h3 {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #64748b !important;
    margin: 0 0 0.25rem 0 !important;
}
.stat-details .trend.up {
    color: #10b981 !important;
}

/* Dashboard Split Grid */
.dashboard-split-grid {
    display: grid !important;
    grid-template-columns: 1.8fr 1.2fr !important;
    gap: 1.5rem !important;
    align-items: start !important;
}
@media (max-width: 1024px) {
    .dashboard-split-grid {
        grid-template-columns: 1fr !important;
    }
}
.dashboard-section {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}
.section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1.25rem !important;
}
.section-header h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

/* Filter Card & Pills */
.filter-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 1.25rem 1.5rem !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
    margin-bottom: 1.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}
.filter-pills-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
    align-items: center !important;
}
.filter-pill {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 9999px !important;
    padding: 0.52rem 1.15rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    outline: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}
.filter-pill:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px) !important;
}
.filter-pill.active {
    background: linear-gradient(135deg, #1e3a8a, #2563eb) !important;
    color: #ffffff !important;
    border-color: #1e3a8a !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
    font-weight: 600 !important;
    transform: translateY(-1px) !important;
}

/* Seller Lead Tab Variant */
.filter-pill.seller-pill {
    background: #fffbeb !important;
    color: #b45309 !important;
    border-color: #fde68a !important;
    font-weight: 600 !important;
}
.filter-pill.seller-pill:hover {
    background: #fef3c7 !important;
    color: #92400e !important;
    border-color: #f59e0b !important;
}
.filter-pill.seller-pill.active {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    color: #ffffff !important;
    border-color: #b45309 !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3) !important;
}

/* Showcase Tab Variant */
.filter-pill.showcase-pill {
    background: #fdf4ff !important;
    color: #a21caf !important;
    border-color: #f5d0fe !important;
    font-weight: 600 !important;
}
.filter-pill.showcase-pill:hover {
    background: #fae8ff !important;
    color: #86198f !important;
    border-color: #e879f9 !important;
}
.filter-pill.showcase-pill.active {
    background: linear-gradient(135deg, #9333ea, #7e22ce) !important;
    color: #ffffff !important;
    border-color: #7e22ce !important;
    box-shadow: 0 4px 14px rgba(147, 51, 234, 0.3) !important;
}

/* Search Bar in Filter Card */
.search-wrap {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}
.search-wrap .search-icon {
    position: absolute !important;
    left: 1.1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    pointer-events: none !important;
    font-size: 0.95rem !important;
    z-index: 2 !important;
}
.search-wrap .search-input {
    width: 100% !important;
    padding: 0.78rem 1rem 0.78rem 2.9rem !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.92rem !important;
    background: #ffffff !important;
    color: #0f172a !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}
.search-wrap .search-input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
    outline: none !important;
}

/* Data Tables */
.table-responsive {
    overflow-x: auto !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
}
.modern-table, .data-table {
    width: 100% !important;
    border-collapse: collapse !important;
    text-align: left !important;
    font-size: 0.9rem !important;
}
.modern-table th, .data-table th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 1rem 1.25rem !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    white-space: nowrap !important;
}
.modern-table td, .data-table td {
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #1e293b !important;
    vertical-align: middle !important;
}
.modern-table tbody tr:last-child td, .data-table tbody tr:last-child td {
    border-bottom: none !important;
}
.modern-table tbody tr:hover, .data-table tbody tr:hover {
    background: #f8fafc !important;
}

/* Showcase Status Toggle Button */
.btn-showcase-active {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    transition: all 0.2s !important;
}
.btn-showcase-active:hover {
    background: rgba(16, 185, 129, 0.22) !important;
    transform: scale(1.02);
}
.btn-showcase-inactive {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: 20px !important;
    font-weight: 500 !important;
    font-size: 0.82rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    transition: all 0.2s !important;
}
.btn-showcase-inactive:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* Modal Windows */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    padding: 1.5rem !important;
}
.modal-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 680px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2) !important;
    border: 1px solid #e2e8f0 !important;
    animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.modal-header {
    padding: 1.5rem 1.75rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.modal-header h3 {
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}
.modal-close-btn {
    background: none !important;
    border: none !important;
    font-size: 1.5rem !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.modal-close-btn:hover {
    color: #0f172a !important;
}
.modal-body {
    padding: 1.5rem 1.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
}
.modal-footer {
    padding: 1.25rem 1.75rem !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 0.75rem !important;
    background: #f8fafc !important;
    border-radius: 0 0 20px 20px !important;
}

/* SELLER REVERSE MATCH BOX & SELLER BADGE */
.seller-reverse-match-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid #86efac;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    margin: 1.75rem auto 0 auto;
    max-width: 620px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
    box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.15);
}
.match-pulse-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #16a34a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.2);
    animation: matchPulse 2s infinite ease-in-out;
}
@keyframes matchPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.3); }
}
.match-text h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #14532d;
    margin: 0 0 0.35rem 0;
}
.match-text p {
    font-size: 0.92rem;
    color: #166534;
    line-height: 1.5;
    margin: 0;
}
.highlight-buyer-count {
    background: #15803d;
    color: #ffffff;
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

/* Seller Nav Highlight Item */
.nav-item.nav-item-seller {
    color: #059669 !important;
    font-weight: 600;
    position: relative;
}
.nav-item.nav-item-seller:hover {
    color: #047857 !important;
}
.nav-item.nav-item-seller i {
    color: #10b981;
}

/* Pending Seller Review Badge in Properties Table */
.badge-pending-seller {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   SUPERADMIN & NETGSM & SYSTEM CONTROLS
   ========================================================================== */
.admin-page-container {
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.superadmin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.super-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.superadmin-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
}

.superadmin-header p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.active-admin-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    box-shadow: var(--shadow-sm);
}

.active-admin-tag i {
    color: #10b981;
}

.btn-refresh-stats {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-refresh-stats:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* Super Metrics Strip */
.super-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.super-metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.super-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.metric-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.metric-icon.gold {
    background: #fef3c7;
    color: #d97706;
}

.metric-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.metric-icon.purple {
    background: #f3e8ff;
    color: #9333ea;
}

.metric-icon.emerald {
    background: #d1fae5;
    color: #059669;
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-info .label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.metric-info .val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.metric-info .sub {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

/* Super Layout Grid */
.super-content-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .super-content-layout {
        grid-template-columns: 1fr;
    }
}

.super-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.super-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    background: #fafafa;
}

.title-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.title-wrap i {
    font-size: 1.15rem;
    color: #2563eb;
}

.title-wrap h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.info-tag {
    font-size: 0.78rem;
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-weight: 500;
}

.super-card-body {
    padding: 1.5rem;
}

.section-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.form-group-super {
    margin-bottom: 1.25rem;
}

.form-group-super label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.form-group-super label i {
    color: #64748b;
}

.form-group-super input {
    width: 100%;
    padding: 0.65rem 0.95rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group-super input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group-super small {
    display: block;
    color: #94a3b8;
    font-size: 0.75rem;
    margin-top: 0.35rem;
}

.password-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrap input {
    padding-right: 2.75rem;
}

.btn-toggle-pw {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
}

.btn-toggle-pw:hover {
    color: #475569;
}

.btn-super-save {
    width: 100%;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

.btn-super-save:hover:not(:disabled) {
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.super-divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 1.75rem 0;
}

/* Test SMS Box */
.test-sms-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
}

.test-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.test-title h3 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #1e293b;
}

.test-sms-box p {
    color: #64748b;
    font-size: 0.82rem;
    margin: 0 0 1rem 0;
}

.test-input-row {
    display: flex;
    gap: 0.65rem;
}

.test-input-row input {
    flex: 1;
    padding: 0.6rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
}

.btn-test-send {
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.btn-test-send:hover:not(:disabled) {
    background: #1e293b;
}

.test-result-box {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.85rem;
}

.test-result-box.res-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.test-result-box.res-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Log Table */
.log-table-wrap {
    overflow-x: auto;
}

.super-log-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.super-log-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.super-log-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}

.code-pill {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 700;
    letter-spacing: 1px;
    color: #0f172a;
}

.badge-status-green {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #d1fae5;
    color: #065f46;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.badge-status-orange {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #ffedd5;
    color: #9a3412;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.badge-status-muted {
    background: #f1f5f9;
    color: #94a3b8;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
}

.empty-logs {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #94a3b8;
}

.empty-logs i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.btn-micro-refresh {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    color: #64748b;
    cursor: pointer;
}

.btn-micro-refresh:hover {
    color: #1e293b;
    border-color: #cbd5e1;
}

/* ==========================================================================
   UNIFIED CUSTOMER PORTAL & OTP AUTHENTICATION
   ========================================================================== */
.customer-portal-unified {
    min-height: 85vh;
    padding-bottom: 4rem;
}

/* Auth Card */
.portal-auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3.5rem 1rem;
}

.portal-auth-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

.auth-card-top {
    text-align: center;
    margin-bottom: 2rem;
}

.shield-badge {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.auth-card-top h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.auth-sub {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.portal-field {
    margin-bottom: 1.25rem;
}

.portal-field label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.45rem;
}

.portal-field input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #0f172a;
    transition: all 0.2s ease;
}

.portal-field input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.phone-input-combo {
    display: flex;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.2s ease;
}

.phone-input-combo:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.phone-input-combo .prefix {
    background: #f8fafc;
    padding: 0.75rem 0.9rem;
    font-weight: 600;
    color: #475569;
    border-right: 1px solid #e2e8f0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.phone-input-combo input {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.portal-field small {
    display: block;
    color: #94a3b8;
    font-size: 0.78rem;
    margin-top: 0.4rem;
}

.btn-portal-primary {
    width: 100%;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.btn-portal-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.demo-direct-entry {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed #e2e8f0;
    text-align: center;
}

.demo-direct-entry span {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.btn-quick-demo {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.btn-quick-demo:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.otp-instruction {
    font-size: 0.88rem;
    color: #475569;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.otp-code-input {
    font-family: monospace;
    font-size: 1.75rem !important;
    letter-spacing: 0.5rem;
    text-align: center;
    font-weight: 700;
    color: #0f172a !important;
}

.timer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timer-badge {
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-resend-link {
    background: none;
    border: none;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-change-phone {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-change-phone:hover {
    color: #0f172a;
}

.portal-alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.portal-alert.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.portal-alert.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.portal-alert.simulation {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.auth-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.75rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

/* ==========================================
   UNIFIED VIP DASHBOARD STYLES
   ========================================== */
.portal-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 4rem 1.5rem;
}

.portal-unified-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    margin-bottom: 2rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
    gap: 1.5rem;
    flex-wrap: wrap;
}

.portal-vip-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    margin-bottom: 0.65rem;
}

.profile-info-block h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.65rem 0;
    color: #ffffff;
}

.user-meta-tags {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.88rem;
    color: #94a3b8;
    flex-wrap: wrap;
}

.user-meta-tags .tag-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    color: #e2e8f0;
}

.portal-header-side {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Agent VIP Card */
.agent-vip-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.agent-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agent-details {
    display: flex;
    flex-direction: column;
}

.agent-label {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.agent-details strong {
    font-size: 0.98rem;
    color: #ffffff;
}

.agent-sub {
    font-size: 0.75rem;
    color: #cbd5e1;
    margin-bottom: 0.4rem;
}

.agent-actions {
    display: flex;
    gap: 0.45rem;
}

.btn-agent-call {
    background: #ffffff;
    color: #0f172a;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-agent-wa {
    background: #25d366;
    color: #ffffff;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-portal-logout {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}

.btn-portal-logout:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #ffffff;
}

/* Unified Tabs Navigation */
.portal-tabs-nav {
    display: flex;
    gap: 0.75rem;
    background: #ffffff;
    padding: 0.5rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.portal-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    border: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.portal-tab-btn:hover {
    color: #1e293b;
    background: #f8fafc;
}

.portal-tab-btn.active {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.tab-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.portal-tab-btn.active .tab-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.tab-badge.gold {
    background: #fef3c7;
    color: #b45309;
}

/* Criteria Summary Strip */
.criteria-strip-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.criteria-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.criteria-title i {
    color: #2563eb;
}

.criteria-title h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.requests-chips-row {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.req-chip {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.req-chip .type {
    font-weight: 700;
    color: #2563eb;
}

.req-chip .budget {
    color: #0f172a;
    font-weight: 600;
}

.req-chip .specs {
    color: #64748b;
}

.no-req-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-mini-link {
    background: #2563eb;
    color: #ffffff;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Matches Grid */
.matches-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.matches-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #0f172a;
}

.matches-header p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
}

.matches-count-tag {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #475569;
}

.portal-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.p-match-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.p-match-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.match-top-banner {
    background: linear-gradient(135deg, #1e293b, #334155);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.score-pill {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.prop-price-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.match-card-main {
    padding: 1.25rem;
    flex: 1;
}

.prop-type-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.prop-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.4rem 0;
    line-height: 1.4;
}

.prop-loc {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.prop-features-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.prop-features-chips span {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.prop-desc-snippet {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

.match-actions-bar {
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.65rem;
}

.btn-action-interested {
    flex: 1;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    border-radius: 8px;
    padding: 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.btn-action-interested:hover {
    background: #fef2f2;
    border-color: #f87171;
    color: #dc2626;
}

.btn-action-viewing {
    flex: 1.2;
    background: #2563eb;
    border: none;
    color: #ffffff;
    border-radius: 8px;
    padding: 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.btn-action-viewing:hover {
    background: #1d4ed8;
}

.status-indicator {
    width: 100%;
    padding: 0.65rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.status-indicator.viewing {
    background: #dbeafe;
    color: #1e40af;
}

.status-indicator.interested {
    background: #fee2e2;
    color: #b91c1c;
}

/* Seller Tab Styles */
.seller-strip-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.seller-strip-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #0f172a;
}

.seller-strip-header p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
}

.btn-add-property {
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.seller-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.seller-prop-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.seller-card-top {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.badge-status-chip {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-status-chip.pending {
    background: #fef3c7;
    color: #b45309;
}

.badge-status-chip.active {
    background: #d1fae5;
    color: #047857;
}

.seller-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.seller-card-body {
    padding: 1.25rem;
    flex: 1;
}

.seller-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.4rem 0;
}

.seller-card-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 0.85rem 1.25rem;
    font-size: 0.78rem;
    color: #64748b;
}

/* Appointments Tab */
.appointments-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.app-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.app-header i {
    font-size: 2rem;
    color: #2563eb;
}

.app-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.app-header p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
}

.timeline-box {
    position: relative;
    padding-left: 2rem;
}

.timeline-box::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
}

.timeline-dot.active {
    border-color: #2563eb;
    background: #2563eb;
}

.timeline-content h4 {
    margin: 0 0 0.35rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.timeline-content p {
    margin: 0 0 0.35rem 0;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}

.timeline-content small {
    color: #94a3b8;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.empty-state-portal {
    text-align: center;
    padding: 4rem 1.5rem;
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    color: #64748b;
}

.empty-state-portal i {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.empty-state-portal h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.empty-state-portal p {
    max-width: 500px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.5;
}

.portal-loading-block {
    text-align: center;
    padding: 5rem 1rem;
    color: #64748b;
}

/* ==========================================================================
   OTP MODAL STYLES
   ========================================================================== */
.otp-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.otp-modal-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-badge-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.otp-modal-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #0f172a;
}

.otp-modal-card p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0 0 1.25rem 0;
    line-height: 1.5;
}

/* ==========================================================================
   ENHANCED LOGIN SCREEN WITH CONSULTANT & CUSTOMER TABS
   ========================================================================== */
.auth-box-enhanced {
    max-width: 460px !important;
    padding: 2.25rem 2rem !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.12) !important;
    border: 1px solid #e2e8f0 !important;
}

/* Role Selection Switcher */
.login-role-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 0.35rem;
    border-radius: 12px;
    margin: 1.5rem 0 1.75rem 0;
    gap: 0.35rem;
    border: 1px solid #e2e8f0;
}

.role-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 9px;
    border: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-tab-btn:hover {
    color: #0f172a;
}

.role-tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

.role-tab-btn.active i {
    color: #2563eb;
}

/* Sub Header within Tab Panel */
.login-sub-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sub-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.sub-icon.consultant {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.sub-icon.customer {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25);
}

.login-sub-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
}

.login-sub-header p {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.45;
    margin: 0;
}

/* Form Controls */
.auth-input-group {
    margin-bottom: 1.15rem;
}

.auth-input-group label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.auth-input-group label i {
    color: #64748b;
}

.auth-input-group .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #0f172a;
    transition: all 0.2s ease;
}

.auth-input-group .form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrap input {
    padding-right: 2.75rem !important;
}

.pw-toggle-btn {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.35rem;
}

.pw-toggle-btn:hover {
    color: #475569;
}

.auth-submit-btn {
    width: 100%;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25) !important;
    margin-top: 0.4rem;
}

/* Quick Admin / Demo Helpers */
.quick-admin-helpers {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn-micro-seed {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.btn-micro-seed:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.auth-footer-links {
    text-align: center;
    margin-top: 1.25rem;
    color: #64748b;
    font-size: 0.85rem;
}

.tab-panel-fade {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   VITRIN NAVBAR "GÄ°RÄ°Åž YAP" BUTTON & TOPBAR STYLES
   ========================================================================== */
.btn-login-nav {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff !important;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transition: all 0.2s ease;
}

.btn-login-nav:hover {
    background: linear-gradient(135deg, #1e293b, #334155);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
    color: #ffffff !important;
}

.btn-login-nav i {
    color: #38bdf8;
}

.topbar-portal-quick {
    color: #93c5fd !important;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.topbar-phone-link {
    color: #ffffff;
    font-weight: 600;
}

.topbar-phone-link .topbar-icon-badge {
    width: 22px;
    height: 22px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.25s ease;
}

.topbar-phone-link:hover {
    color: #38bdf8;
}

.topbar-phone-link:hover .topbar-icon-badge {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    transform: scale(1.05);
}

.topbar-email-link {
    color: #cbd5e1;
}

.topbar-email-link i {
    color: #38bdf8;
    font-size: 0.82rem;
}

.topbar-email-link:hover {
    color: #ffffff;
}

.topbar-email-link:hover i {
    color: #60a5fa;
}

.topbar-location {
    color: #94a3b8;
}

.topbar-location i {
    color: #f59e0b;
    font-size: 0.82rem;
}

.topbar-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-block;
}

/* TOPBAR ACTIONS (RIGHT) */
.topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.topbar-action-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.28rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.775rem;
    line-height: 1.25;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Müşteri Girişi Button */
.topbar-btn-customer {
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.4);
    color: #bfdbfe;
    font-weight: 600;
}

.topbar-btn-customer i {
    color: #60a5fa;
    font-size: 0.82rem;
    transition: transform 0.2s ease;
}

.topbar-btn-customer:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.topbar-btn-customer:hover i {
    color: #ffffff;
    transform: scale(1.15);
}

/* Danışman Girişi Button */
.topbar-btn-consultant {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    font-weight: 500;
}

.topbar-btn-consultant i {
    color: #f59e0b;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.topbar-btn-consultant:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.topbar-btn-consultant:hover i {
    transform: scale(1.15);
}

/* Responsive Rules for Topbar */
@media (max-width: 991px) {
    .topbar-item-desktop,
    .topbar-sep.topbar-item-desktop {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .public-topbar {
        padding: 0.35rem 0;
    }
    .topbar-phone-link span.topbar-phone-num {
        font-size: 0.78rem;
    }
    .topbar-action-btn {
        padding: 0.24rem 0.6rem;
        font-size: 0.72rem;
    }
}

.topbar-portal-quick:hover {
    color: #ffffff !important;
}

.topbar-divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
    font-size: 0.8rem;
}

/* ==========================================================================
   Property Type Pills & Form Step Selectors (Mülkünü Sat Ekranı & Sekmeler)
   ========================================================================== */
.property-type-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.type-pill {
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 0.75rem 1.35rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    outline: none !important;
    user-select: none !important;
}

.type-pill i {
    font-size: 1.1rem !important;
    color: #64748b !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.type-pill:hover {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #93c5fd !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12) !important;
}

.type-pill:hover i {
    color: #2563eb !important;
    transform: scale(1.1) !important;
}

.type-pill.active {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
    transform: translateY(-1px) !important;
    font-weight: 700 !important;
}

.type-pill.active i {
    color: #ffffff !important;
}

.type-pill:active {
    transform: translateY(0) !important;
}



/* ==========================================================================
   ENHANCED LOGIN SCREEN WITH CONSULTANT & CUSTOMER TABS
   ========================================================================== */
.auth-box-enhanced {
    max-width: 460px !important;
    padding: 2.25rem 2rem !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.12) !important;
    border: 1px solid #e2e8f0 !important;
}

/* Role Selection Switcher */
.login-role-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 0.35rem;
    border-radius: 12px;
    margin: 1.5rem 0 1.75rem 0;
    gap: 0.35rem;
    border: 1px solid #e2e8f0;
}

.role-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 9px;
    border: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-tab-btn:hover {
    color: #0f172a;
}

.role-tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

.role-tab-btn.active i {
    color: #2563eb;
}

/* Sub Header within Tab Panel */
.login-sub-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sub-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.sub-icon.consultant {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.sub-icon.customer {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25);
}

.login-sub-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
}

.login-sub-header p {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.45;
    margin: 0;
}

/* Form Controls */
.auth-input-group {
    margin-bottom: 1.15rem;
}

.auth-input-group label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.auth-input-group label i {
    color: #64748b;
}

.auth-input-group .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #0f172a;
    transition: all 0.2s ease;
}

.auth-input-group .form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrap input {
    padding-right: 2.75rem !important;
}

.pw-toggle-btn {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.35rem;
}

.pw-toggle-btn:hover {
    color: #475569;
}

.auth-submit-btn {
    width: 100%;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25) !important;
    margin-top: 0.4rem;
}

/* Quick Admin / Demo Helpers */
.quick-admin-helpers {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn-micro-seed {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.btn-micro-seed:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.auth-footer-links {
    text-align: center;
    margin-top: 1.25rem;
    color: #64748b;
    font-size: 0.85rem;
}

.tab-panel-fade {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ENHANCED REGISTER SCREEN
   ========================================================================== */
.register-box-enhanced {
    max-width: 580px !important;
    padding: 2.5rem 2.25rem !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.12) !important;
    border: 1px solid #e2e8f0 !important;
}

.register-sub-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.register-sub-header .sub-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 0.75rem auto;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.register-sub-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
}

.register-sub-header p {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
    margin: 0;
}

.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

@media (max-width: 640px) {
    .register-box-enhanced {
        padding: 2rem 1.25rem !important;
        margin: 1rem;
    }
    .form-grid-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.register-security-note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin: 0.5rem 0 1.25rem 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #1e40af;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.register-security-note i {
    color: #2563eb;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.register-security-note strong {
    color: #1e3a8a;
    font-weight: 700;
}

.register-footer-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.register-footer-links p {
    color: #64748b;
    font-size: 0.88rem;
    margin: 0 0 0.5rem 0;
}

.register-footer-links a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.register-footer-links a:hover {
    text-decoration: underline;
}

.register-footer-links .back-home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #94a3b8;
    font-size: 0.82rem;
}

.register-footer-links .back-home-link:hover {
    color: #475569;
    text-decoration: none;
}

.register-success-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    text-align: center;
}

.register-success-icon {
    width: 64px;
    height: 64px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    color: #16a34a;
    font-size: 1.8rem;
    border: 2px solid #bbf7d0;
}

.register-success-card h3 {
    color: #15803d;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.register-success-card p {
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 1.5rem 0;
}

.register-success-card strong {
    color: #0f172a;
    font-weight: 700;
}

.register-success-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.register-success-actions .btn-secondary {
    padding: 0.75rem 1.5rem;
    color: #475569;
    background: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.register-success-actions .btn-secondary:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

/* ==========================================================================
   VITRIN NAVBAR "GİRİŞ YAP" BUTTON & TOPBAR STYLES
   ========================================================================== */
.btn-login-nav {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff !important;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transition: all 0.2s ease;
}

.btn-login-nav:hover {
    background: linear-gradient(135deg, #1e293b, #334155);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
    color: #ffffff !important;
}

.btn-login-nav i {
    color: #38bdf8;
}

/* ==========================================================================
   EXECUTIVE LUXURY REAL ESTATE TOPBAR
   ========================================================================== */
.public-topbar {
    background: linear-gradient(90deg, #090e17 0%, #0f172a 50%, #090e17 100%) !important;
    color: #94a3b8 !important;
    font-size: 0.8125rem !important;
    padding: 0.45rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative !important;
    z-index: 1020 !important;
    letter-spacing: 0.15px !important;
}

.public-topbar-inner {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
}

.topbar-contact {
    display: flex !important;
    align-items: center !important;
    gap: 1.15rem !important;
}

.topbar-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 0.8rem !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.topbar-phone-link {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.topbar-phone-link .topbar-icon-badge {
    width: 22px !important;
    height: 22px !important;
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: #34d399 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.7rem !important;
    transition: all 0.25s ease !important;
}

.topbar-phone-link:hover {
    color: #38bdf8 !important;
}

.topbar-phone-link:hover .topbar-icon-badge {
    background: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5) !important;
    transform: scale(1.05) !important;
}

.topbar-email-link {
    color: #cbd5e1 !important;
}

.topbar-email-link i {
    color: #38bdf8 !important;
    font-size: 0.82rem !important;
}

.topbar-email-link:hover {
    color: #ffffff !important;
}

.topbar-email-link:hover i {
    color: #60a5fa !important;
}

.topbar-location {
    color: #94a3b8 !important;
}

.topbar-location i {
    color: #f59e0b !important;
    font-size: 0.82rem !important;
}

.topbar-sep {
    width: 1px !important;
    height: 14px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    display: inline-block !important;
}

/* TOPBAR ACTIONS (RIGHT) */
.topbar-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    flex-shrink: 0 !important;
}

.topbar-action-btn {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding: 0.28rem 0.85rem !important;
    border-radius: 9999px !important;
    font-size: 0.775rem !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Müşteri Girişi Button */
.topbar-btn-customer {
    background: rgba(37, 99, 235, 0.18) !important;
    border: 1px solid rgba(96, 165, 250, 0.4) !important;
    color: #bfdbfe !important;
    font-weight: 600 !important;
}

.topbar-btn-customer i {
    color: #60a5fa !important;
    font-size: 0.82rem !important;
    transition: transform 0.2s ease !important;
}

.topbar-btn-customer:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.4) !important;
    transform: translateY(-1px) !important;
}

.topbar-btn-customer:hover i {
    color: #ffffff !important;
    transform: scale(1.15) !important;
}

/* Danışman Girişi Button */
.topbar-btn-consultant {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #e2e8f0 !important;
    font-weight: 500 !important;
}

.topbar-btn-consultant i {
    color: #f59e0b !important;
    font-size: 0.8rem !important;
    transition: transform 0.2s ease !important;
}

.topbar-btn-consultant:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-1px) !important;
}

.topbar-btn-consultant:hover i {
    transform: scale(1.15) !important;
}

/* ==========================================================================
   LUXURY TOPBAR LOGGED-IN USER & ACTION STYLES
   ========================================================================== */
.topbar-logged-user {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.55rem !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
}

/* User Identity Capsule */
.topbar-user-capsule {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    padding: 0.22rem 0.8rem 0.22rem 0.35rem !important;
    border-radius: 50px !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.2s ease !important;
    min-width: 0 !important;
    max-width: 260px !important;
    overflow: hidden !important;
}

.topbar-user-capsule:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.topbar-avatar-badge {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    letter-spacing: -0.3px !important;
    box-shadow: 0 2px 5px rgba(217, 119, 6, 0.35) !important;
    flex-shrink: 0 !important;
}

.topbar-user-greeting {
    font-size: 0.8rem !important;
    color: #cbd5e1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.topbar-user-greeting strong {
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: -0.15px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.topbar-role-badge {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: #fef08a !important;
    background: rgba(234, 179, 8, 0.2) !important;
    border: 1px solid rgba(234, 179, 8, 0.4) !important;
    padding: 0.12rem 0.45rem !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
}

.topbar-role-badge i {
    font-size: 0.65rem !important;
    color: #facc15 !important;
}

/* Portalıma Git Button */
.topbar-portal-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.26rem 0.85rem !important;
    font-size: 0.77rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #059669, #10b981) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
}

.topbar-portal-btn:hover {
    background: linear-gradient(135deg, #047857, #059669) !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45) !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.topbar-portal-btn i {
    font-size: 0.72rem !important;
    color: #d1fae5 !important;
}

/* Danışman Paneli Topbar Button */
.topbar-portal-btn.topbar-btn-consultant {
    background: linear-gradient(135deg, #1e3a8a, #2563eb) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.topbar-portal-btn.topbar-btn-consultant:hover {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6) !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45) !important;
}

/* Çıkış Button */
.topbar-logout-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.32rem !important;
    padding: 0.26rem 0.75rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    background: rgba(239, 68, 68, 0.16) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #fca5a5 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    outline: none !important;
    white-space: nowrap !important;
}

.topbar-logout-btn:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.35) !important;
    transform: translateY(-1px) !important;
}

.topbar-logout-btn i {
    font-size: 0.72rem !important;
}

/* Header User Card (Navbar) */
.header-user-card {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.header-user-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    padding: 0.35rem 0.85rem 0.35rem 0.45rem !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) !important;
}

.header-user-btn:hover {
    background: #f8fafc !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
    transform: translateY(-1px) !important;
}

.header-user-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #d97706, #f59e0b) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.78rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    letter-spacing: -0.5px !important;
    box-shadow: 0 2px 5px rgba(217, 119, 6, 0.3) !important;
}

.header-user-meta {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    line-height: 1.15 !important;
}

.header-user-name {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    max-width: 140px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.header-user-role {
    font-size: 0.68rem !important;
    color: #d97706 !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}

.header-logout-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #fff1f2 !important;
    border: 1px solid #fecdd3 !important;
    color: #e11d48 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 0.85rem !important;
}

.header-logout-btn:hover {
    background: #e11d48 !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

/* Responsive Rules for Topbar */
@media (max-width: 991px) {
    .topbar-item-desktop,
    .topbar-sep.topbar-item-desktop {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .public-topbar {
        padding: 0.35rem 0 !important;
    }
    .topbar-phone-link span.topbar-phone-num {
        font-size: 0.78rem !important;
    }
    .topbar-action-btn {
        padding: 0.24rem 0.6rem !important;
        font-size: 0.72rem !important;
    }
}

/* ==========================================================================
   BRAND LOGO STYLING ("EkodiaEmlak Pro") & NAVBAR SPACING
   ========================================================================== */
.logo-img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.public-logo:hover .logo-img,
.logo-container:hover .logo-img {
    transform: scale(1.1) rotate(4deg) !important;
}

.public-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    text-decoration: none !important;
    font-family: 'Outfit', sans-serif !important;
    flex-shrink: 0 !important;
}

.public-logo .logo-img {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.public-logo:hover .logo-img {
    transform: scale(1.08) rotate(3deg) !important;
}

.public-logo .logo-brand-group {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    line-height: 1 !important;
}

.public-logo .logo-brand {
    display: inline-flex !important;
    align-items: baseline !important;
    font-size: 1.42rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.35px !important;
    line-height: 1 !important;
}

.public-logo .logo-brand .logo-eko {
    color: #0f172a !important;
    font-weight: 800 !important;
}

.public-logo .logo-brand .logo-emlak {
    color: #0f172a !important;
    font-weight: 800 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.public-logo .logo-pro {
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
    color: #ffffff !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    padding: 0.2rem 0.55rem !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.35) !important;
    margin-left: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.public-footer .public-logo .logo-eko,
.public-footer .public-logo .logo-emlak {
    color: #ffffff !important;
}

.logo-container {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    font-family: 'Outfit', sans-serif !important;
}

.logo-container .logo-brand {
    display: inline-flex !important;
    align-items: baseline !important;
    letter-spacing: -0.25px !important;
}

.logo-container .logo-brand .logo-eko {
    color: #0f172a !important;
    font-weight: 800 !important;
}

.logo-container .logo-brand .logo-emlak {
    color: #0f172a !important;
    font-weight: 800 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.logo-container .logo-pro {
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
    color: #ffffff !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    padding: 0.16rem 0.5rem !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.35) !important;
    margin-left: 0.4rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

/* Hide Vitrin badge completely */
.logo-tag {
    display: none !important;
}

/* ==========================================================================
   EXPANDED LUXURY NAVIGATION & BUTTONS (DESKTOP)
   ========================================================================== */
@media (min-width: 992px) {
    .navbar-header-row {
        margin-right: 2.5rem !important;
        flex-shrink: 0 !important;
    }
    
    .public-nav-collapsible {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex: 1 !important;
        gap: 2rem !important;
    }
    
    /* Genişletilmiş Menü Butonları Kapsülü */
    .public-nav-links {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.65rem !important;
        background: #f1f5f9 !important;
        padding: 0.38rem 0.5rem !important;
        border-radius: 14px !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04) !important;
        margin-right: auto !important;
    }
    
    /* Daha Geniş, Ferah ve Konforlu Menü Butonları */
    .public-nav-links .nav-item {
        color: #475569 !important;
        text-decoration: none !important;
        font-size: 0.94rem !important;
        font-weight: 600 !important;
        padding: 0.65rem 1.25rem !important;
        border-radius: 10px !important;
        transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.55rem !important;
        white-space: nowrap !important;
        cursor: pointer !important;
    }

    .public-nav-links .nav-item i {
        font-size: 0.95rem !important;
        transition: transform 0.2s ease !important;
        color: #64748b !important;
    }
    
    .public-nav-links .nav-item:hover {
        color: #0f172a !important;
        background: rgba(255, 255, 255, 0.9) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important;
    }

    .public-nav-links .nav-item:hover i {
        color: #2563eb !important;
        transform: scale(1.15) !important;
    }
    
    .public-nav-links .nav-item.active {
        color: #1d4ed8 !important;
        background: #ffffff !important;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.14) !important;
        font-weight: 700 !important;
    }

    .public-nav-links .nav-item.active i {
        color: #2563eb !important;
    }

    /* WhatsApp Butonu Genişletilmiş ve Premium */
    .public-nav-cta .btn-whatsapp {
        padding: 0.65rem 1.35rem !important;
        font-size: 0.94rem !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #10b981, #059669) !important;
        box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .public-nav-cta .btn-whatsapp:hover {
        background: linear-gradient(135deg, #059669, #047857) !important;
        box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4) !important;
        transform: translateY(-1px) !important;
    }

    /* Giriş Yap Butonu (Giriş yapılmadığında) */
    .public-nav-cta .btn-login-nav {
        padding: 0.65rem 1.35rem !important;
        font-size: 0.94rem !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
    }

    /* Masaüstünde mobil drawer kullanıcı kutusunu gizle */
    .mobile-drawer-user-section {
        display: none !important;
    }
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE PERFECTION (991px and below)
   ========================================================================== */
@media (max-width: 991px) {
    /* TOPBAR: SOLDAN TELEFON/MAIL KALKTI, SAĞDA VE ORTADA KUSURSUZ YERLEŞİM */
    .public-topbar {
        padding: 0.4rem 0 !important;
    }
    
    .public-topbar-inner {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        width: 100% !important;
        gap: 0.5rem !important;
    }

    /* Mobilde oturum açmış kullanıcı alanı */
    .topbar-logged-user {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0.45rem !important;
        flex-wrap: nowrap !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .topbar-user-capsule {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        padding: 0.2rem 0.6rem 0.2rem 0.25rem !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        border-radius: 50px !important;
        min-width: 0 !important;
        max-width: 180px !important;
        overflow: hidden !important;
    }

    .topbar-avatar-badge {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.68rem !important;
        flex-shrink: 0 !important;
    }

    .topbar-greeting-text {
        display: none !important;
    }

    .topbar-user-greeting {
        font-size: 0.76rem !important;
        white-space: nowrap !important;
        color: #cbd5e1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .topbar-user-greeting strong {
        color: #ffffff !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .topbar-role-badge {
        font-size: 0.65rem !important;
        padding: 0.1rem 0.4rem !important;
    }

    .topbar-portal-btn {
        padding: 0.25rem 0.75rem !important;
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        border-radius: 50px !important;
    }

    .topbar-logout-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.25rem !important;
        padding: 0.2rem 0.6rem !important;
        font-size: 0.72rem !important;
        font-weight: 600 !important;
        border-radius: 50px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    /* Mobilde Vitrin Logo Boyutu */
    .public-logo .logo-img {
        width: 38px !important;
        height: 38px !important;
    }
    .public-logo .logo-brand-group {
        gap: 0.3rem !important;
    }
    .public-logo .logo-brand {
        font-size: 1.25rem !important;
    }
    .public-logo .logo-pro {
        font-size: 0.65rem !important;
        padding: 0.16rem 0.48rem !important;
        margin-left: 0 !important;
    }

    /* ======================================================================
       PORTAL HOŞGELDİNİZ BANNERI & DANIŞMAN KARTI (MOBİLDE ÇIKIŞ BUTONSUZ, TERTEMİZ)
       ====================================================================== */
    .portal-unified-header {
        padding: 1.75rem 1.25rem !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1.5rem !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        background: linear-gradient(135deg, #090e17 0%, #0f172a 60%, #1e293b 100%) !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
    }

    .profile-info-block {
        width: 100% !important;
        text-align: left !important;
    }

    .profile-info-block h1 {
        font-size: 1.55rem !important;
        line-height: 1.25 !important;
        margin: 0.4rem 0 0.65rem 0 !important;
        word-break: break-word !important;
        color: #ffffff !important;
    }

    .user-meta-tags {
        font-size: 0.84rem !important;
        gap: 0.6rem !important;
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }

    .portal-header-side {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    .agent-vip-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 1.15rem 1.25rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        backdrop-filter: blur(10px) !important;
    }

    .agent-avatar {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        flex-shrink: 0 !important;
        box-shadow: 0 4px 10px rgba(217, 119, 6, 0.35) !important;
    }

    .agent-details {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .agent-label {
        font-size: 0.72rem !important;
        color: #94a3b8 !important;
        text-transform: uppercase !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        display: block !important;
    }

    .agent-details strong {
        font-size: 1.02rem !important;
        color: #ffffff !important;
        display: block !important;
        margin-top: 0.1rem !important;
    }

    .agent-sub {
        font-size: 0.76rem !important;
        color: #cbd5e1 !important;
        margin-bottom: 0.6rem !important;
        display: block !important;
    }

    /* Danışman aksiyon butonları mobilde %50-%50 ferah ve dokunmatik */
    .agent-actions {
        display: flex !important;
        width: 100% !important;
        gap: 0.65rem !important;
    }

    .btn-agent-call,
    .btn-agent-wa {
        flex: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.65rem 0.75rem !important;
        font-size: 0.86rem !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        min-height: 42px !important;
        box-sizing: border-box !important;
        text-decoration: none !important;
        gap: 0.45rem !important;
        white-space: nowrap !important;
    }

    .btn-agent-call {
        background: #ffffff !important;
        color: #0f172a !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    }

    .btn-agent-call:hover {
        background: #f1f5f9 !important;
    }

    .btn-agent-wa {
        background: #10b981 !important;
        color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
    }

    .btn-agent-wa:hover {
        background: #059669 !important;
    }

    /* Mobil Drawer Linkleri */
    .public-nav-collapsible.open {
        padding: 1rem 0 0.75rem 0 !important;
        gap: 0.75rem !important;
    }

    .public-nav-links {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.45rem !important;
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
    }

    .public-nav-links .nav-item {
        width: 100% !important;
        padding: 0.85rem 1.15rem !important;
        font-size: 0.96rem !important;
        font-weight: 600 !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        color: #334155 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.65rem !important;
        min-height: 48px !important;
    }

    .public-nav-links .nav-item i {
        font-size: 1.05rem !important;
        width: 20px !important;
        text-align: center !important;
        color: #64748b !important;
    }

    .public-nav-links .nav-item.active {
        background: #eff6ff !important;
        color: #1d4ed8 !important;
        border-color: #bfdbfe !important;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1) !important;
        font-weight: 700 !important;
    }

    .public-nav-links .nav-item.active i {
        color: #2563eb !important;
    }

    /* Mobil CTA Butonları */
    .public-nav-cta {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin-top: 0.25rem !important;
    }

    .public-nav-cta .btn-whatsapp {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.85rem 1rem !important;
        font-size: 0.98rem !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        min-height: 48px !important;
    }

    .public-nav-cta .btn-login-nav {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.85rem 1rem !important;
        font-size: 0.98rem !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        min-height: 48px !important;
    }

    /* Mobil Drawer Kullanıcı Alanı */
    .mobile-drawer-user-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        margin-top: 0.5rem !important;
        padding: 0.9rem 1rem !important;
        background: linear-gradient(135deg, #090e17, #0f172a) !important;
        border-radius: 14px !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18) !important;
    }

    .mobile-drawer-user-info {
        display: flex !important;
        align-items: center !important;
        gap: 0.65rem !important;
    }

    .mobile-drawer-user-meta {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.15rem !important;
    }

    .mobile-drawer-user-name {
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 0.92rem !important;
    }

    .mobile-drawer-user-role {
        color: #facc15 !important;
        font-size: 0.72rem !important;
        font-weight: 600 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.3rem !important;
    }

    .mobile-drawer-user-actions {
        display: flex !important;
        gap: 0.5rem !important;
        margin-top: 0.25rem !important;
    }

    .btn-drawer-portal {
        flex: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.45rem !important;
        padding: 0.65rem 0.85rem !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, #059669, #10b981) !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 0.85rem !important;
        text-decoration: none !important;
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
        min-height: 42px !important;
    }

    .btn-drawer-portal.btn-drawer-consultant {
        background: linear-gradient(135deg, #1e3a8a, #2563eb) !important;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
    }

    .btn-drawer-logout {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.4rem !important;
        padding: 0.65rem 0.85rem !important;
        border-radius: 10px !important;
        background: rgba(239, 68, 68, 0.2) !important;
        border: 1px solid rgba(239, 68, 68, 0.4) !important;
        color: #fca5a5 !important;
        font-weight: 700 !important;
        font-size: 0.85rem !important;
        cursor: pointer !important;
        min-height: 42px !important;
    }
}

/* 480px ve Altı Çok Dar Mobil Ekranlar (Ekstra Kompakt) */
@media (max-width: 480px) {
    .public-topbar {
        padding: 0.25rem 0 !important;
    }

    .topbar-user-capsule {
        max-width: 150px !important;
        padding: 0.18rem 0.5rem 0.18rem 0.22rem !important;
    }

    .topbar-user-greeting {
        max-width: 110px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* ==========================================================================
   SUPERADMIN EXECUTIVE SOVEREIGN COMMAND CENTER STYLES (SIDEBAR + TOPBAR)
   ========================================================================== */
.sa-layout-wrapper {
    display: flex;
    min-height: 100vh;
    background: radial-gradient(circle at 12% 12%, #111827 0%, #090d1a 60%, #030611 100%);
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
}

/* Mobile Backdrop */
.sa-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 190;
}

.sa-backdrop.active {
    display: block;
}

/* Sidebar */
.sa-sidebar {
    width: 270px;
    background: rgba(10, 14, 26, 0.97);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(245, 158, 11, 0.2);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sa-sidebar-header {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sa-brand-header-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none !important;
    flex: 1;
    min-width: 0;
}

.sa-brand-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 9px;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sa-brand-header-link:hover .sa-brand-logo-img {
    transform: scale(1.08) rotate(3deg);
}

.sa-brand-info {
    flex: 1;
    min-width: 0;
}

.sa-brand-info h1,
.sa-brand-title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    white-space: nowrap;
    text-decoration: none !important;
}

.sa-brand-eko {
    color: #f8fafc;
    font-weight: 800;
}

.sa-brand-emlak {
    color: #f8fafc;
    font-weight: 800;
}

.sa-brand-pro {
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
    color: #ffffff !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    padding: 0.16rem 0.5rem !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.35) !important;
    margin-left: 0.4rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.sa-brand-info p,
.sa-brand-subtitle {
    margin: 0.25rem 0 0 0;
    font-size: 0.66rem;
    line-height: 1.25;
    color: #94a3b8;
    font-weight: 500;
    white-space: normal;
    word-break: break-word;
    text-decoration: none !important;
}

.sa-brand-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    flex-shrink: 0;
}

.sa-tag {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.35));
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    text-transform: uppercase;
}

/* Sidebar Menu */
.sa-sidebar-menu {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sa-menu-label {
    padding: 0.5rem 1.25rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.sa-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 1.25rem;
    margin: 0 0.75rem;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #94a3b8;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    text-align: left;
    transition: all 0.2s ease;
    width: calc(100% - 1.5rem);
}

.sa-menu-btn i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: #64748b;
    transition: color 0.2s ease;
}

.sa-menu-btn:hover {
    background: rgba(30, 41, 59, 0.5);
    color: #ffffff;
}

.sa-menu-btn:hover i {
    color: #f59e0b;
}

.sa-menu-btn.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(217, 119, 6, 0.28));
    border-color: rgba(245, 158, 11, 0.45);
    color: #fbbf24;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.12);
}

.sa-menu-btn.active i {
    color: #f59e0b;
}

.sa-menu-badge {
    margin-left: auto;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.5rem;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

/* Sidebar Footer */
.sa-sidebar-footer {
    padding: 1rem 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: rgba(5, 8, 15, 0.4);
}

.sa-footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.sa-footer-link.consultant-switch {
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: #60a5fa;
}

.sa-footer-link.consultant-switch:hover {
    background: rgba(37, 99, 235, 0.22);
    color: #ffffff;
}

.sa-footer-link.web-link {
    color: #94a3b8;
}

.sa-footer-link.web-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.sa-footer-link.logout-link {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    cursor: pointer;
}

.sa-footer-link.logout-link:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #ffffff;
}

/* Main Content Wrapper */
.sa-main-content {
    margin-left: 270px;
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: calc(100% - 270px);
}

/* Topbar */
.sa-topbar {
    height: 72px;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.sa-topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sa-mobile-toggle {
    display: none;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sa-page-title-box h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sa-page-title-box h2 i {
    color: #f59e0b;
}

.sa-page-title-box p {
    font-size: 0.74rem;
    color: #94a3b8;
    margin: 0.15rem 0 0 0;
}

.sa-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.sa-netgsm-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.sa-netgsm-status.inactive {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.sa-user-capsule {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 0.35rem 0.85rem 0.35rem 0.45rem;
    border-radius: 30px;
}

.sa-user-avatar-gold {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    color: #0f172a;
    font-weight: 800;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sa-user-meta {
    display: flex;
    flex-direction: column;
}

.sa-user-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.sa-user-role {
    font-size: 0.66rem;
    font-weight: 600;
    color: #fbbf24;
}

.sa-btn-refresh {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.sa-btn-refresh:hover {
    color: #ffffff;
    border-color: rgba(245, 158, 11, 0.4);
}

/* Page Body Content */
.sa-content-body {
    padding: 1.75rem 2rem;
    max-width: 1400px;
    width: 100%;
}

/* KPI Cards Grid */
.sa-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.sa-kpi-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.sa-kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.4), transparent);
}

.sa-kpi-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.sa-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.sa-icon-gold {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.sa-icon-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.sa-icon-emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.sa-icon-purple {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.sa-icon-rose {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.sa-kpi-info {
    display: flex;
    flex-direction: column;
}

.sa-kpi-title {
    font-size: 0.76rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.sa-kpi-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.sa-kpi-sub {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.2rem;
}

/* Glass Panels */
.sa-panel {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.sa-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sa-panel-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.sa-panel-title i {
    color: #f59e0b;
}

/* Tables */
.sa-table-wrapper {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.sa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.sa-table th {
    background: rgba(30, 41, 59, 0.5);
    color: #94a3b8;
    text-align: left;
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sa-table td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    vertical-align: middle;
}

.sa-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.sa-user-badge {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.sa-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sa-avatar-gold {
    background: linear-gradient(135deg, #f59e0b, #b45309);
    color: #0f172a;
}

.sa-avatar-purple {
    background: linear-gradient(135deg, #a855f7, #7e22ce);
}

.sa-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.sa-status-active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.sa-status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.sa-status-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Action Buttons */
.sa-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.sa-btn-approve {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.sa-btn-approve:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
    transform: translateY(-1px);
}

.sa-btn-reject {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.sa-btn-reject:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #ffffff;
}

.sa-btn-sms {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.sa-btn-sms:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

.sa-btn-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.sa-btn-gold:hover {
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
    transform: translateY(-1px);
}

/* Inputs & Form Groups */
.sa-search-input {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.84rem;
    outline: none;
    transition: all 0.2s;
}

.sa-search-input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.sa-form-group {
    margin-bottom: 1.15rem;
}

.sa-form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 0.4rem;
}

.sa-form-control {
    width: 100%;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    color: #ffffff;
    font-size: 0.88rem;
    outline: none;
    transition: all 0.2s;
}

.sa-form-control:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Modal Popup */
.sa-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.sa-modal-card {
    background: #0f172a;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    padding: 1.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
}

.sa-modal-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.sa-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
}

/* New Classes for SuperAdmin */
.sa-dashboard-panels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.sa-header-actions-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.sa-sidebar-close-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.2s;
}

.sa-sidebar-close-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .sa-sidebar {
        transform: translateX(-100%);
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 280px;
        max-width: 85vw;
        z-index: 999;
        box-shadow: 10px 0 50px rgba(0, 0, 0, 0.7);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .sa-sidebar.mobile-open {
        transform: translateX(0);
    }

    .sa-sidebar-close-btn {
        display: flex;
    }

    .sa-main-content {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .sa-mobile-toggle {
        display: inline-flex !important;
        background: rgba(245, 158, 11, 0.15);
        border: 1px solid rgba(245, 158, 11, 0.35);
        color: #fbbf24;
        font-size: 1.1rem;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        cursor: pointer;
    }

    .sa-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(6px);
        z-index: 990;
        display: none;
    }

    .sa-backdrop.active {
        display: block;
    }

    .sa-kpi-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }
}

@media (max-width: 768px) {
    .sa-topbar {
        height: auto !important;
        min-height: 58px !important;
        padding: 0.6rem 0.85rem !important;
        gap: 0.5rem !important;
    }

    .sa-topbar-left {
        gap: 0.5rem !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .sa-page-title-box {
        min-width: 0 !important;
        flex: 1 !important;
    }

    .sa-page-title-box h2 {
        font-size: 1.05rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.25 !important;
        max-width: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.45rem !important;
    }

    .sa-topbar-subtitle {
        display: none !important;
    }

    .sa-topbar-right {
        gap: 0.4rem !important;
        flex-shrink: 0 !important;
    }

    .sa-desktop-only {
        display: none !important;
    }

    /* Body padding */
    .sa-content-body {
        padding: 0.85rem 0.65rem !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    /* 2 Columns KPI Grid on Mobile */
    .sa-kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
        margin-bottom: 1rem !important;
    }

    .sa-kpi-card {
        padding: 0.75rem 0.65rem !important;
        gap: 0.55rem !important;
        border-radius: 12px !important;
    }

    .sa-kpi-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.92rem !important;
        border-radius: 9px !important;
        flex-shrink: 0 !important;
    }

    .sa-kpi-value {
        font-size: 1.22rem !important;
        line-height: 1.1 !important;
    }

    .sa-kpi-title {
        font-size: 0.72rem !important;
        line-height: 1.2 !important;
    }

    .sa-kpi-sub {
        display: none !important;
    }

    /* Panels & Grids */
    .sa-dashboard-panels-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .sa-panel {
        padding: 1rem 0.75rem !important;
        border-radius: 12px !important;
        margin-bottom: 1rem !important;
    }

    .sa-panel-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
    }

    .sa-panel-header .sa-panel-title {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        font-size: 0.96rem !important;
        margin: 0 !important;
    }

    .sa-panel-header > .sa-btn-action {
        width: auto !important;
        height: auto !important;
        flex-shrink: 0 !important;
        padding: 0.45rem 0.85rem !important;
        font-size: 0.82rem !important;
    }

    .sa-header-actions-group {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.5rem !important;
    }

    .sa-header-actions-group select,
    .sa-header-actions-group input,
    .sa-header-actions-group button,
    .sa-header-actions-group .sa-btn-action,
    .sa-header-actions-group .sa-search-input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        height: 42px !important;
        justify-content: center !important;
    }

    /* Tables horizontal swipe container */
    .sa-table-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 8px !important;
        margin-top: 0.5rem !important;
    }

    .sa-table {
        min-width: 600px !important;
    }

    .sa-table th,
    .sa-table td {
        padding: 0.7rem 0.65rem !important;
        font-size: 0.78rem !important;
    }

    /* Modals */
    .sa-modal-card {
        width: 94% !important;
        max-width: 94% !important;
        padding: 1.25rem 1rem !important;
        max-height: 88vh !important;
        overflow-y: auto !important;
        border-radius: 14px !important;
        margin: 1rem !important;
    }

    .form-grid-2col {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

@media (max-width: 380px) {
    .sa-page-title-box h2 {
        font-size: 0.95rem !important;
        max-width: none !important;
    }

    .sa-kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    .sa-kpi-card {
        padding: 0.65rem 0.5rem !important;
    }

    .sa-kpi-value {
        font-size: 1.1rem !important;
    }
}

/* ========================================================== */
/* THEME TOGGLE SWITCH BUTTON                                  */
/* ========================================================== */
.sa-desktop-only {
    display: inline-flex;
}

/* Sub-cards and Typography (Dark Mode Defaults) */
.sa-sub-card {
    background: rgba(30, 41, 59, 0.4);
    padding: 1.1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s;
}

.sa-sub-title {
    color: #ffffff;
    font-size: 0.92rem;
}

.sa-sub-desc {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0 0 0.85rem 0;
}

.sa-table-strong {
    color: #ffffff;
}

.sa-table-sub {
    font-size: 0.75rem;
    color: #94a3b8;
}

.sa-table-text {
    color: #cbd5e1;
}

.sa-modal-hint-gold {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 0.65rem;
    margin-top: 0.5rem;
    font-size: 0.78rem;
    color: #cbd5e1;
}

.sa-modal-selected-info {
    background: rgba(30, 41, 59, 0.5);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.sa-modal-selected-name {
    color: #ffffff;
    font-weight: 600;
}

.sa-modal-selected-phone {
    color: #fbbf24;
}

.sa-theme-toggle-btn {
    background: transparent;
    border: none;
    padding: 3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border-radius: 9999px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.sa-theme-toggle-btn:hover {
    transform: scale(1.06);
}

.sa-theme-toggle-btn:active {
    transform: scale(0.94);
}

.sa-theme-toggle-track {
    width: 48px;
    height: 25px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    padding: 2px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Dark mode track */
.sa-theme-toggle-track.dark {
    background: #0f172a;
    border: 1.5px solid rgba(212, 175, 55, 0.55);
}

/* Light mode track */
.sa-theme-toggle-track.light {
    background: #fef3c7;
    border: 1.5px solid #d97706;
}

.sa-theme-toggle-thumb {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.sa-theme-toggle-track.dark .sa-theme-toggle-thumb {
    transform: translateX(1px);
    background: #1e293b;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sa-theme-toggle-track.light .sa-theme-toggle-thumb {
    transform: translateX(24px);
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(217, 119, 6, 0.35);
}

/* ========================================================== */
/* SUPERADMIN LIGHT THEME (SOVEREIGN EXECUTIVE LIGHT)        */
/* ========================================================== */
.sa-layout-wrapper.sa-theme-light {
    background: #f8fafc !important;
    color: #0f172a !important;
}

.sa-theme-light .sa-main-content {
    background: #f8fafc !important;
}

/* Light Sidebar */
.sa-theme-light .sa-sidebar {
    background: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.04) !important;
}

.sa-theme-light .sa-sidebar-header {
    border-bottom: 1px solid #f1f5f9 !important;
}

.sa-theme-light .sa-brand-header-link .sa-brand-eko {
    color: #0f172a !important;
    font-weight: 800 !important;
}

.sa-theme-light .sa-brand-header-link .sa-brand-emlak {
    color: #0f172a !important;
    font-weight: 800 !important;
}

.sa-theme-light .sa-brand-header-link .sa-brand-pro {
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
    color: #ffffff !important;
}

.sa-theme-light .sa-brand-info p,
.sa-theme-light .sa-brand-subtitle {
    color: #64748b !important;
}

.sa-theme-light .sa-sidebar-close-btn {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

.sa-theme-light .sa-sidebar-close-btn:hover {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    border-color: #fca5a5 !important;
}

.sa-theme-light .sa-menu-label {
    color: #94a3b8 !important;
}

.sa-theme-light .sa-menu-btn {
    color: #475569 !important;
}

.sa-theme-light .sa-menu-btn:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
}

.sa-theme-light .sa-menu-btn.active {
    background: #fffbeb !important;
    color: #b45309 !important;
    border-left: 3px solid #d97706 !important;
    font-weight: 700 !important;
}

.sa-theme-light .sa-menu-btn.active i {
    color: #d97706 !important;
}

.sa-theme-light .sa-sidebar-footer {
    border-top: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
}

.sa-theme-light .sa-footer-link {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
}

.sa-theme-light .sa-footer-link:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.sa-theme-light .sa-footer-link.consultant-switch {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1d4ed8 !important;
}

.sa-theme-light .sa-footer-link.consultant-switch:hover {
    background: #dbeafe !important;
}

.sa-theme-light .sa-footer-link.web-link {
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
    color: #047857 !important;
}

.sa-theme-light .sa-footer-link.web-link:hover {
    background: #d1fae5 !important;
}

.sa-theme-light .sa-footer-link.logout-link {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #b91c1c !important;
}

.sa-theme-light .sa-footer-link.logout-link:hover {
    background: #fee2e2 !important;
}

/* Light Topbar */
.sa-theme-light .sa-topbar {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05) !important;
}

.sa-theme-light .sa-mobile-toggle {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

.sa-theme-light .sa-page-title-box h2 {
    color: #0f172a !important;
}

.sa-theme-light .sa-page-title-box h2 i {
    color: #d97706 !important;
}

.sa-theme-light .sa-topbar-subtitle {
    color: #64748b !important;
}

.sa-theme-light .sa-user-capsule {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.sa-theme-light .sa-user-avatar-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
}

.sa-theme-light .sa-user-name {
    color: #0f172a !important;
}

.sa-theme-light .sa-user-role {
    color: #64748b !important;
}

.sa-theme-light .sa-btn-refresh {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
}

.sa-theme-light .sa-btn-refresh:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.sa-theme-light .sa-netgsm-status {
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    color: #047857 !important;
}

.sa-theme-light .sa-netgsm-status.inactive {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
}

/* Light KPI Cards */
.sa-theme-light .sa-kpi-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.sa-theme-light .sa-kpi-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

.sa-theme-light .sa-kpi-title {
    color: #64748b !important;
}

.sa-theme-light .sa-kpi-value {
    color: #0f172a !important;
}

.sa-theme-light .sa-kpi-sub {
    color: #94a3b8 !important;
}

/* Light Panels */
.sa-theme-light .sa-panel {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

.sa-theme-light .sa-panel-header {
    border-bottom: 1px solid #f1f5f9 !important;
}

.sa-theme-light .sa-panel-header h3 {
    color: #0f172a !important;
}

.sa-theme-light .sa-panel-header h3 i {
    color: #d97706 !important;
}

.sa-theme-light .sa-panel-header p {
    color: #64748b !important;
}

/* Light Table */
.sa-theme-light .sa-table th {
    background: #f8fafc !important;
    color: #475569 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.sa-theme-light .sa-table td {
    color: #334155 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.sa-theme-light .sa-table tr:hover td {
    background: #f8fafc !important;
}

.sa-theme-light .sa-table td strong {
    color: #0f172a !important;
}

.sa-theme-light .sa-table-empty {
    color: #64748b !important;
}

.sa-theme-light .sa-table-empty i {
    color: #cbd5e1 !important;
}

/* Light Search & Filters */
.sa-theme-light .sa-input-search,
.sa-theme-light .sa-filter-select,
.sa-theme-light .sa-input-field,
.sa-theme-light .sa-select-field,
.sa-theme-light .sa-textarea-field {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

.sa-theme-light .sa-input-search:focus,
.sa-theme-light .sa-filter-select:focus,
.sa-theme-light .sa-input-field:focus,
.sa-theme-light .sa-select-field:focus,
.sa-theme-light .sa-textarea-field:focus {
    border-color: #d97706 !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

.sa-theme-light .sa-form-group label {
    color: #334155 !important;
}

.sa-theme-light .sa-form-hint {
    color: #64748b !important;
}

/* Light Modal */
.sa-theme-light .sa-modal-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2) !important;
}

.sa-theme-light .sa-modal-header {
    border-bottom: 1px solid #f1f5f9 !important;
}

.sa-theme-light .sa-modal-header h3 {
    color: #0f172a !important;
}

.sa-theme-light .sa-modal-header p {
    color: #64748b !important;
}

.sa-theme-light .sa-modal-close {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

.sa-theme-light .sa-modal-close:hover {
    background: #fee2e2 !important;
    color: #ef4444 !important;
}

.sa-theme-light .sa-modal-footer {
    border-top: 1px solid #f1f5f9 !important;
}

/* Light Logs & Cards */
.sa-theme-light .sa-log-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

.sa-theme-light .sa-log-title {
    color: #0f172a !important;
}

.sa-theme-light .sa-log-date {
    color: #64748b !important;
}

.sa-theme-light .sa-log-msg {
    color: #334155 !important;
}

.sa-theme-light .sa-log-res {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

/* Light Theme Sub-cards & Typography */
.sa-theme-light .sa-sub-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
}

.sa-theme-light .sa-sub-title {
    color: #0f172a !important;
}

.sa-theme-light .sa-sub-desc {
    color: #475569 !important;
}

.sa-theme-light .sa-table-strong,
.sa-theme-light .sa-table td strong,
.sa-theme-light .sa-table th strong {
    color: #0f172a !important;
}

.sa-theme-light .sa-table-sub {
    color: #64748b !important;
}

.sa-theme-light .sa-table-text {
    color: #334155 !important;
}

.sa-theme-light .sa-modal-hint-gold {
    background: #fefce8 !important;
    border: 1px solid #fef08a !important;
    color: #854d0e !important;
}

.sa-theme-light .sa-modal-selected-info {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.sa-theme-light .sa-modal-selected-name {
    color: #0f172a !important;
}

.sa-theme-light .sa-modal-selected-phone {
    color: #d97706 !important;
}

/* Light Theme Buttons */
.sa-theme-light .sa-btn-gold {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25) !important;
}

.sa-theme-light .sa-btn-gold:hover {
    background: linear-gradient(135deg, #b45309, #92400e) !important;
    color: #ffffff !important;
}

.sa-theme-light .sa-btn-sms {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: #ffffff !important;
}

/* Light Theme Status Pills */
.sa-theme-light .sa-status-pill.sa-status-active,
.sa-theme-light .sa-status-active {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}

.sa-theme-light .sa-status-pill.sa-status-pending,
.sa-theme-light .sa-status-pending {
    background: #fef3c7 !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
}

.sa-theme-light .sa-status-pill.sa-status-rejected,
.sa-theme-light .sa-status-rejected {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
}

/* Light Theme Universal Contrast Overrides */
.sa-theme-light [style*="color: #ffffff"],
.sa-theme-light [style*="color: #f8fafc"],
.sa-theme-light [style*="color: #f1f5f9"],
.sa-theme-light [style*="color:#ffffff"],
.sa-theme-light [style*="color:#f8fafc"],
.sa-theme-light [style*="color:#f1f5f9"] {
    color: #0f172a !important;
}

.sa-theme-light [style*="color: #cbd5e1"],
.sa-theme-light [style*="color: #e2e8f0"],
.sa-theme-light [style*="color:#cbd5e1"],
.sa-theme-light [style*="color:#e2e8f0"] {
    color: #334155 !important;
}

.sa-theme-light [style*="color: #94a3b8"],
.sa-theme-light [style*="color:#94a3b8"] {
    color: #64748b !important;
}

.sa-theme-light [style*="background: rgba(30, 41, 59"],
.sa-theme-light [style*="background:rgba(30, 41, 59"] {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

/* ==========================================================================
   CONSULTANT SIDEBAR LUXURY OVERHAUL
   ========================================================================== */
.sidebar {
    width: 270px !important;
    background: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1000 !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (min-width: 1025px) {
    .main-wrapper {
        margin-left: 270px !important;
    }
}

.sidebar-header {
    padding: 1.25rem 1rem !important;
    height: auto !important;
    min-height: 72px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
}

.consultant-brand-header-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    text-decoration: none !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.consultant-brand-logo-img {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
    border-radius: 9px !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.consultant-brand-header-link:hover .consultant-brand-logo-img {
    transform: scale(1.08) rotate(3deg) !important;
}

.consultant-brand-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.consultant-brand-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

.consultant-brand-subtitle {
    margin: 0.25rem 0 0 0 !important;
    font-size: 0.66rem !important;
    line-height: 1.25 !important;
    color: #64748b !important;
    font-weight: 500 !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-decoration: none !important;
}

.sidebar-menu {
    padding: 0.75rem 0.65rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    overflow-y: auto !important;
    flex: 1 !important;
}

.menu-category-label {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #94a3b8 !important;
    padding: 0.75rem 0.85rem 0.35rem 0.85rem !important;
    margin-top: 0.4rem !important;
}

.menu-category-label:first-of-type {
    margin-top: 0 !important;
    padding-top: 0.25rem !important;
}

.sidebar-menu .menu-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 12px !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid transparent !important;
    position: relative !important;
}

.sidebar-menu .menu-item:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    transform: translateX(3px) !important;
    border-color: #f1f5f9 !important;
}

.sidebar-menu .menu-item.active {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    font-weight: 700 !important;
    border-color: #dbeafe !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08) !important;
}

.sidebar-menu .menu-item .menu-item-text {
    flex: 1 !important;
}

.menu-icon-box {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.menu-icon-box.icon-panel {
    background: #eff6ff !important;
    color: #2563eb !important;
}

.menu-icon-box.icon-properties {
    background: #eef2ff !important;
    color: #4f46e5 !important;
}

.menu-icon-box.icon-customers {
    background: #ecfdf5 !important;
    color: #059669 !important;
}

.menu-icon-box.icon-requests {
    background: #fffbeb !important;
    color: #d97706 !important;
}

.menu-icon-box.icon-matches {
    background: #f5f3ff !important;
    color: #7c3aed !important;
}

.menu-icon-box.icon-tasks {
    background: #fff1f2 !important;
    color: #e11d48 !important;
}

.sidebar-menu .menu-item:hover .menu-icon-box {
    transform: scale(1.08) !important;
}

.sidebar-menu .menu-item.active .menu-icon-box {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.sidebar-menu .menu-badge {
    background: linear-gradient(135deg, #8b5cf6, #6366f1) !important;
    color: #ffffff !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    padding: 0.15rem 0.5rem !important;
    border-radius: 6px !important;
    letter-spacing: 0.04em !important;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3) !important;
}

.sidebar-footer-section {
    margin-top: auto !important;
    padding: 1rem 0.65rem 0.65rem 0.65rem !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
}

.sidebar-footer-btn {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.65rem 0.85rem !important;
    border-radius: 10px !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    width: 100% !important;
    text-align: left !important;
}

.sidebar-footer-btn i {
    font-size: 0.95rem !important;
    width: 20px !important;
    text-align: center !important;
}

.sidebar-footer-btn.btn-superadmin-mode {
    background: #fffbeb !important;
    color: #b45309 !important;
    border-color: #fde68a !important;
}
.sidebar-footer-btn.btn-superadmin-mode:hover {
    background: #fef3c7 !important;
    transform: translateX(3px) !important;
}

.sidebar-footer-btn.btn-web-showcase {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border-color: #bbf7d0 !important;
}
.sidebar-footer-btn.btn-web-showcase:hover {
    background: #dcfce7 !important;
    color: #166534 !important;
    transform: translateX(3px) !important;
}

.sidebar-footer-btn.btn-settings {
    background: #f8fafc !important;
    color: #334155 !important;
    border-color: #e2e8f0 !important;
}
.sidebar-footer-btn.btn-settings:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    transform: translateX(3px) !important;
}

.sidebar-footer-btn.btn-logout {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
}
.sidebar-footer-btn.btn-logout:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    transform: translateX(3px) !important;
}




