@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    /* Asiant.AI Elite Glassmorphism Theme (Dark - Default) */
    --primary: #2dd4bf;
    /* Mint/Cyan Glow */
    --primary-light: #5eead4;
    --primary-dark: #0f766e;
    --accent: #38bdf8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Deep Space Glass Dark Mode */
    --bg-main: #060b13;
    /* Very dark blue/black */
    --bg-card: rgba(15, 23, 42, 0.4);
    /* Frosty transparent blue */
    --bg-nav: rgba(6, 11, 19, 0.6);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    /* Neon Borders & Glass Shadows */
    --border: rgba(45, 212, 191, 0.15);
    --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body.light-mode {
    --bg-main: #f8fafc;
    --bg-card: rgba(226, 232, 240, 0.75);
    /* Daha koyu, grimsi cam (slate-200 tabanlı) */
    --bg-nav: rgba(248, 250, 252, 0.7);
    --text-main: #0f172a;
    --text-muted: #475569;

    --border: rgba(15, 118, 110, 0.2);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.3);
    --glass-border: rgba(255, 255, 255, 0.5);

    /* Slightly darken primary colors for better readability in light mode */
    --primary: #0d9488;
    --primary-light: #14b8a6;
    --accent: #0284c7;
}

body.light-mode {
    background-image: linear-gradient(rgba(248, 250, 252, 0.8), rgba(248, 250, 252, 0.95)), url('cortex_bg.jpg');
}

body.light-mode .hero-section h2 {
    background: linear-gradient(180deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .analysis-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(56, 189, 248, 0.1));
    border: 1px solid rgba(2, 132, 199, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .analysis-card h4 {
    color: #0f172a !important;
}

body.light-mode .analysis-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(56, 189, 248, 0.2));
    border-color: #0284c7;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15);
}

body.light-mode .analysis-card .stat-icon-wrapper {
    background: rgba(2, 132, 199, 0.15);
    color: #0284c7;
}

body.light-mode .analysis-card .stat-value {
    color: #0284c7;
}

body.light-mode .stat-card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

body.light-mode .filters-bar {
    background: rgba(226, 232, 240, 0.7);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .custom-select,
body.light-mode .custom-input {
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-main);
    border-color: rgba(148, 163, 184, 0.4);
}

body.light-mode .custom-select:focus,
body.light-mode .custom-input:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
}

body.light-mode .btn-group-right {
    background: rgba(241, 245, 249, 0.5);
    border-color: rgba(148, 163, 184, 0.3);
}

body.light-mode .toggle-btn {
    color: var(--text-main);
    border-color: rgba(148, 163, 184, 0.3);
}

body.light-mode .toggle-btn:hover {
    background: rgba(255, 255, 255, 0.8);
}

body.light-mode .property-card {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

body.light-mode .property-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body.light-mode .pdf-btn {
    background: rgba(255, 255, 255, 0.7);
    color: #334155;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

body.light-mode .pdf-btn:hover {
    background: rgba(254, 226, 226, 0.8);
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.5);
}

body.light-mode .profile-toggle {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(148, 163, 184, 0.3);
    color: var(--text-main);
}

body.light-mode .profile-dropdown {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(148, 163, 184, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .dropdown-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

body.light-mode .dropdown-item {
    color: var(--text-main);
}

body.light-mode .dropdown-item:hover {
    background: rgba(241, 245, 249, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    background-image: linear-gradient(rgba(6, 11, 19, 0.7), rgba(6, 11, 19, 0.85)), url('cortex_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
.outfit {
    font-family: 'Outfit', sans-serif;
}

/* Layout */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Nav Bar */
.glass-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    height: 80px;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
}

.logo i {
    font-size: 2.2rem;
    color: var(--primary);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo span.blue {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.map-link {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 1.05rem;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.map-link:hover {
    color: var(--primary-light);
    text-shadow: 0 0 8px var(--primary), 0 0 15px var(--primary);
    transform: scale(1.05);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
}

.theme-toggle:hover {
    background: var(--border);
}

.nav-login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 2rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-login-btn:hover {
    background: rgba(45, 212, 191, 0.2);
    border-color: var(--primary);
    color: var(--primary-light);
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.3);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 4rem 0;
    text-align: left;
    position: relative;
    max-width: 100%;
    /* Tam genislik, sag uca gitmesi icin */
}

.hero-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-action {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex: 0 0 250px;
    margin-top: -20px;
    /* Biraz daha yukari itildi */
}

.hero-subtitle-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-section h2 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
}

.hero-highlight {
    background: linear-gradient(90deg, #2dd4bf, #38bdf8);
    height: 12px;
    width: 100%;
    border-radius: 6px;
    margin-top: -10px;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-section p {
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 100%;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border-color: rgba(45, 212, 191, 0.3);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stat-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-icon-wrapper {
    background: rgba(45, 212, 191, 0.1);
    color: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.stat-trend {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Filters */
.filters-bar {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    /* Gerekirse alt satira duser ama min-width ile onlendi */
    align-items: center;
    box-shadow: var(--shadow);
    justify-content: space-between;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin-left: auto;
    /* Itiner sağa */
}

.btn-group-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.3rem;
    border-radius: 1.25rem;
    border: 1px solid var(--glass-border);
}

.custom-select,
.custom-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s;
    max-width: 125px;
    /* Daha da Daraltıldı */
}

.custom-select:focus,
.custom-input:focus {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1);
}

.toggle-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.toggle-btn.active {
    background: rgba(45, 212, 191, 0.15);
    color: var(--primary-light);
    border-color: var(--primary);
    box-shadow: inset 0 0 10px rgba(45, 212, 191, 0.1);
}

.analysis-card {
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(56, 189, 248, 0.1));
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
    width: 100%;
    border-radius: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.analysis-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(56, 189, 248, 0.2));
    border-color: #38bdf8;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.2);
}

.analysis-card .stat-icon-wrapper {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    margin-bottom: 0.5rem;
}

.analysis-card .stat-value {
    font-size: 1.5rem;
    color: #38bdf8;
}

/* Property Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Property Card Redesign */
.property-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border-color: rgba(45, 212, 191, 0.3);
}

.image-container {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.prop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .prop-img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
}

.floating-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.score-badge {
    background: rgba(37, 99, 235, 0.85);
}

.sea-view-badge {
    background: rgba(8, 145, 178, 0.85);
}

.card-content {
    padding: 1.25rem;
}

.card-badges-inline {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.building-chip {
    display: inline-block;
    background: var(--glass-bg);
    color: var(--primary);
    border: 1px solid var(--glass-border);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 0.4rem;
    margin-bottom: 0.6rem;
}

.prop-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prop-loc {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.feature i {
    color: var(--primary);
}

/* V2.0 Pro Badges Styling */
.pro-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.3rem 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.urgency-badge {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.neg-badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.conv-badge {
    background: rgba(8, 145, 178, 0.1);
    color: #0891b2;
    border: 1px solid rgba(8, 145, 178, 0.2);
}

.prop-financials {
    border-top: 1px solid var(--border);
    padding-top: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-box h5 {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-main {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
}

.roi-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 0.4rem 0.8rem;
    border-radius: 0.6rem;
    font-weight: 700;
    text-align: right;
}

.roi-badge span {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.card-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.primary-btn {
    flex: 2;
    background: linear-gradient(135deg, #2dd4bf, #0ea5e9);
    color: #0f172a;
    text-align: center;
    padding: 0.8rem;
    border-radius: 0.8rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(45, 212, 191, 0.39);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 212, 191, 0.5);
    background: linear-gradient(135deg, #14b8a6, #0284c7);
}

.pdf-btn {
    flex: 1;
    background: rgba(15, 23, 42, 0.7);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 0.8rem;
    border-radius: 0.8rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pdf-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

/* ==================================
   LOGIN / AUTHENTICATION PAGE
================================== */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background-color: #060b13;
}

.cortex-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('cortex_bg.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.6);
    z-index: -2;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    z-index: 10;
    text-align: center;
    animation: fadeIn 0.8s ease-out forwards;
}

.login-header {
    margin-bottom: 2rem;
}

.login-header .logo {
    font-size: 2.2rem;
    margin: 0;
}

.login-header .subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.login-card {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.8;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.auth-title span {
    color: var(--primary);
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    transition: color 0.3s;
}

.glass-input {
    width: 100%;
    padding: 1rem 1rem 1rem 2.8rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.glass-input:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.glass-input:focus+i,
.input-group:focus-within i {
    color: var(--primary);
}

.auth-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 212, 191, 0.4);
    filter: brightness(1.1);
}

.auth-btn.success-glow {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.auth-divider {
    margin: 2rem 0;
    position: relative;
    text-align: center;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.auth-divider span {
    background: rgba(15, 23, 42, 1);
    /* match login card kinda */
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.social-login-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.auth-footer {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--text-main);
}

.auth-error-message {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-error-message.hidden {
    display: none;
}

@keyframes shakeError {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake-error {
    animation: shakeError 0.5s ease-in-out;
}

/* Skeleton Loading */
.skeleton {
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Language Selector */
.lang-selector {
    margin-right: 0.5rem;
}

.lang-dropdown {
    background: var(--bg-main);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.4rem 0.6rem;
    border-radius: 0.6rem;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.lang-dropdown:hover {
    border-color: var(--primary);
}

@media (max-width: 640px) {
    .dashboard-container {
        padding: 1rem;
    }

    .hero-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .hero-action {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-section h2 {
        font-size: 2.5rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .nav-actions span {
        display: none;
    }

    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-actions {
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

/* User Profile Navigation */
.user-profile-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}

.profile-toggle {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.profile-toggle:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

.profile-email-text {
    font-weight: 500;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 200px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0.5rem;
}

.badge {
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-item i {
    font-size: 1rem;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0.5rem 0;
}

.text-danger {
    color: #ef4444 !important;
}

.text-danger i {
    color: #ef4444 !important;
}

.text-danger:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}