@import url('https://fonts.googleapis.com/css2?family=Doto:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Codystar:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@200;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@200;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Iceland&display=swap');

/* Dark Mode Overrides - Must come before other styles */
body {
    background-color: #000 !important;
    color: #00FF00 !important;
}

/* Bootstrap Overrides for Dark Mode */
.container, .container-fluid {
    background-color: transparent !important;
}

.row {
    background-color: transparent !important;
}

.col, .col-12, .col-md-4, .col-md-6, .col-md-8 {
    background-color: transparent !important;
}

/* Text and Typography */
h1, h2, h3, h4, h5, h6 {
    color: #00FF00 !important;
}

p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-light {
    color: #00FF00 !important;
}

.text-dark {
    color: #00FF00 !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Bootstrap Components */
.card {
    background-color: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(0, 255, 0, 0.2) !important;
    color: #00FF00 !important;
}

.card-body {
    background-color: transparent !important;
    color: #00FF00 !important;
}

.card-header {
    background-color: rgba(0, 255, 0, 0.1) !important;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2) !important;
    color: #00FF00 !important;
}

/* Tables */
.table {
    background-color: transparent !important;
    color: #00FF00 !important;
}

.table th {
    background-color: rgba(0, 255, 0, 0.1) !important;
    border-color: rgba(0, 255, 0, 0.2) !important;
    color: #00FF00 !important;
}

.table td {
    border-color: rgba(0, 255, 0, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 255, 0, 0.1) !important;
}

/* Buttons */
.btn {
    background-color: rgba(0, 255, 0, 0.15) !important;
    border: 1px solid rgba(0, 255, 0, 0.3) !important;
    color: #00FF00 !important;
}

.btn:hover {
    background-color: rgba(0, 255, 0, 0.25) !important;
    border-color: rgba(0, 255, 0, 0.5) !important;
    color: #00FF00 !important;
}

.btn-outline-success {
    background-color: transparent !important;
    border: 1px solid rgba(0, 255, 0, 0.3) !important;
    color: #00FF00 !important;
}

.btn-outline-success:hover {
    background-color: rgba(0, 255, 0, 0.15) !important;
    color: #00FF00 !important;
}

.btn-success {
    background-color: rgba(0, 255, 0, 0.2) !important;
    border: 1px solid rgba(0, 255, 0, 0.4) !important;
    color: #00FF00 !important;
}

.btn-success:hover {
    background-color: rgba(0, 255, 0, 0.3) !important;
    color: #00FF00 !important;
}

/* Form Elements */
.form-control {
    background-color: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(0, 255, 0, 0.3) !important;
    color: #00FF00 !important;
}

.form-control:focus {
    background-color: rgba(0, 0, 0, 0.9) !important;
    border-color: rgba(0, 255, 0, 0.6) !important;
    color: #00FF00 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 255, 0, 0.25) !important;
}

.form-control::placeholder {
    color: rgba(0, 255, 0, 0.5) !important;
}

.form-label {
    color: #00FF00 !important;
}

/* Alerts */
.alert {
    background-color: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(0, 255, 0, 0.2) !important;
    color: #00FF00 !important;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
    color: #ffc107 !important;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1) !important;
    border-color: rgba(220, 53, 69, 0.3) !important;
    color: #dc3545 !important;
}

.alert-success {
    background-color: rgba(0, 255, 0, 0.1) !important;
    border-color: rgba(0, 255, 0, 0.3) !important;
    color: #00FF00 !important;
}

/* Badges */
.badge {
    background-color: rgba(0, 255, 0, 0.2) !important;
    color: #00FF00 !important;
}

.badge.bg-danger {
    background-color: rgba(220, 53, 69, 0.8) !important;
    color: #fff !important;
}

.badge.bg-success {
    background-color: rgba(0, 255, 0, 0.8) !important;
    color: #000 !important;
}

/* Modal Overrides */
.modal-content {
    background-color: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid rgba(0, 255, 0, 0.3) !important;
    color: #00FF00 !important;
}

.modal-header {
    background-color: rgba(0, 255, 0, 0.1) !important;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2) !important;
}

.modal-title {
    color: #00FF00 !important;
}

.modal-body {
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.btn-close {
    filter: invert(1) brightness(0) saturate(100%) hue-rotate(120deg) !important;
}

/* Dropdown */
.dropdown-menu {
    background-color: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid rgba(0, 255, 0, 0.3) !important;
}

.dropdown-item {
    color: #00FF00 !important;
}

.dropdown-item:hover {
    background-color: rgba(0, 255, 0, 0.1) !important;
    color: #00FF00 !important;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

.navbar-brand {
    color: #00FF00 !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.nav-link:hover {
    color: #00FF00 !important;
}

/* List Groups */
.list-group {
    background-color: transparent !important;
}

.list-group-item {
    background-color: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(0, 255, 0, 0.2) !important;
    color: #00FF00 !important;
}

/* Progress Bars */
.progress {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.progress-bar {
    background-color: rgba(0, 255, 0, 0.6) !important;
}

/* Spinners */
.spinner-border {
    color: #00FF00 !important;
}

/* Links */
a {
    color: #00FF00 !important;
}

a:hover {
    color: #00CC00 !important;
}

/* General Styles */
:root {
    --primary-color: #00FF00;
    --secondary-color: #00CC00;
    --accent-color: #FF4444;
    --background-color: #000000;
    --text-color: #00FF00;
    --border-color: rgba(0, 255, 0, 0.3);
    --card-shadow: 0 2px 4px rgba(0, 255, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.card, .card-body {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

.input-group {
    border: 1px solid rgba(0, 255, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.1);
    padding: 10px;
}

.input-group.focused {
    border-color: rgba(0, 255, 0, 0.8);
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.2), 0 15px 50px rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

.form-control {
    background: none;
    border: none;
    color: #00FF00;
    font-size: 1.4rem;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.5px;
}

.form-control::placeholder {
    color: rgba(0, 255, 0, 0.3);
    font-size: 1.2rem;
}

.form-control:focus {
    background-color: #000;
    color: #00FF00;
    box-shadow: none;
    border-color: #00FF00;
}

.btn-primary {
    background: rgba(0, 255, 0, 0.15);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00FF00;
    font-weight: 600;
    padding: 0 3rem;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: rgba(0, 255, 0, 0.25);
    border-color: rgba(0, 255, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.15);
}

.results-content {
    background-color: #1C1C1C;
    border: 1px solid #000000;
    font-size: 0.9rem;
}

.data-row {
    border-bottom: 1px solid #333;
    padding: 8px 0;
}

.data-label {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.data-value {
    color: #00FF00;
    font-weight: bold;
}

.data-value.negative {
    color: #FF4444;
}

.status-bar {
    background-color: #333;
    color: #00FF00;
    padding: 5px 10px;
    font-size: 0.8rem;
    margin-top: 20px;
}

#map {
    border: 1px solid #333;
    filter: grayscale(100%) invert(92%);
}

.error-message {
    color: #FF4444;
    border-left: 3px solid #FF4444;
    padding-left: 10px;
}

/* Tagline Styles */
.tagline-container {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
    border-bottom: none;  /* Remove the bottom border */
    margin-bottom: 2rem;
}

.tagline-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 2px;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    animation: typewriter 3s steps(25, end);
    animation-fill-mode: forwards;
    width: 0;
    margin: 0 auto;
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Ensure all data displays use IBM Plex Mono */
.results-content,
.property-details-container,
.property-stat-value,
.property-stat-label,
.data-value,
.data-label,
.ticker-address,
.ticker-meta,
.ticker-price,
.ticker-change,
.chat-message,
.form-control,
.btn {
    font-family: 'IBM Plex Mono', monospace !important;
}

/* Update ticker styles for new position below search bar */
.ticker-container {
    background-color: #000;
    border: none;  /* Remove the border */

    overflow: hidden;
    width: 100vw;  /* Full viewport width */
    margin: 2rem calc(-50vw + 50%) 0;  /* Break out of container and center */
    position: sticky;
    top: 60px; /* Stick below fixed navbar */
    z-index: 1000;
    padding: 24px 0 32px;
    border-radius: 0;  /* Remove border radius for full width */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Add shadow when sticky */
}

.ticker-header {
    display: flex;
    justify-content: flex-start;
    padding: 0 24px 20px;
    flex-shrink: 0;
}

/* Custom Glitchy Dropdown */
.custom-dropdown {
    position: relative;
    user-select: none;
}

.dropdown-trigger {
    font-family: 'Doto', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.dropdown-trigger.is-selected {
    color: #00FF00 !important;
}

.dropdown-trigger:hover {
    animation: text-flicker 0.15s infinite;
}

.dropdown-menu-custom {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10005;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 10px;
    height: 100%;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 0, 0.1);
    opacity: 0;
    pointer-events: none;
}

.dropdown-menu-custom.is-open {
    display: flex;
    width: auto;
    min-width: 800px;
    opacity: 1;
    pointer-events: auto;
    animation: menu-slide-glitch 0.4s cubic-bezier(0.16, 1, 0.3, 1) both, persistent-flicker 3s infinite;
}

@keyframes persistent-flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 1;
        border-color: rgba(0, 255, 0, 0.3);
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.8;
        border-color: rgba(0, 255, 0, 0.1);
    }
}

.dropdown-option {
    font-family: 'Doto', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-option.disabled {
    color: #ff4444 !important;
    text-decoration: line-through;
    text-decoration-color: #ff4444;
    text-decoration-thickness: 3px;
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.dropdown-option:not(.disabled):hover {
    background: rgba(0, 255, 0, 0.15);
    color: #00FF00;
    transform: skewX(-10deg);
}

.dropdown-option.active {
    color: #00FF00;
    border-bottom: 4px solid #00FF00;
}

/* Slide Glitch Animation */
@keyframes menu-slide-glitch {
    0% {
        width: 0;
        opacity: 0;
        transform: translateX(-20px) skewX(20deg);
    }
    30% {
        opacity: 1;
        transform: translateX(10px) skewX(-10deg);
    }
    100% {
        width: auto;
        opacity: 1;
        transform: translateX(0) skewX(0);
    }
}

@keyframes text-flicker {
    0% { opacity: 0.8; text-shadow: 2px 0 #ff00ff, -2px 0 #00ffff; }
    50% { opacity: 1; text-shadow: -2px 0 #ff00ff, 2px 0 #00ffff; }
    100% { opacity: 0.8; text-shadow: 2px 0 #ff00ff, -2px 0 #00ffff; }
}

.dropdown-option:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 255, 0, 0.5);
    animation: scanline 1.5s linear infinite;
    pointer-events: none;
}

@keyframes scanline {
    0% { top: 0; }
    100% { top: 100%; }
}

.ticker-filter {
    display: flex;
    align-items: center;
    margin: 0;
}

.investor-section {
    margin-top: 24px;
    padding: 24px 32px; /* Increased padding */
    background: rgba(5, 6, 8, 0.85);
    border: 1px solid rgba(0, 255, 0, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.investor-section.is-empty {
    opacity: 0.85;
}

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

.investor-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.investor-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9bd79b;
    margin: 0;
}

.investor-hint {
    font-size: 0.75rem;
    color: rgba(155, 215, 155, 0.7);
}

.investor-sort-toggle {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 0, 0.35);
    background: rgba(0, 0, 0, 0.6);
    color: #cffff1;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border 0.2s ease;
}

.investor-sort-toggle:hover,
.investor-sort-toggle:focus {
    background: rgba(0, 255, 157, 0.15);
    border-color: rgba(0, 255, 0, 0.6);
    transform: translateY(-1px);
    outline: none;
}

.investor-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.investor-month-filter {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 0, 0.35);
    background: rgba(0, 0, 0, 0.6);
    color: #cffff1;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border 0.2s ease;
}

.investor-month-filter:hover,
.investor-month-filter:focus {
    background: rgba(0, 255, 157, 0.15);
    border-color: rgba(0, 255, 0, 0.6);
    transform: translateY(-1px);
    outline: none;
}

.investor-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.investor-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 255, 0, 0.1);
    display: flex;
    justify-content: center;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-pagination {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: #00FF00;
    padding: 6px 16px;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-pagination:hover:not(:disabled) {
    background: rgba(0, 255, 0, 0.15);
    border-color: rgba(0, 255, 0, 0.4);
    transform: translateY(-1px);
}

.btn-pagination:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
}

.page-info {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: rgba(0, 255, 0, 0.6);
    min-width: 100px;
    text-align: center;
}

.investor-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid rgba(0, 255, 0, 0.1);
    align-items: center;
    transition: transform 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.investor-item:first-child {
    border-top: none;
    padding-top: 0;
}

.investor-rank {
    width: 38px;
    text-align: center;
    font-weight: 700;
    font-size: 1.15rem;
    color: #ffffff;
}

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

.investor-buyer {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.025em;
}

.investor-address {
    color: #ff8c42;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.investor-meta {
    font-size: 0.78rem;
    color: rgba(232, 255, 232, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.investor-data {
    min-width: 150px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
}

.investor-price {
    color: #00ff9d;
    font-weight: 700;
    font-size: 1.18rem;
    text-shadow: 0 0 14px rgba(0, 255, 157, 0.4);
    letter-spacing: 0.02em;
}

.investor-date {
    font-size: 0.75rem;
    color: rgba(232, 255, 232, 0.6);
}

.investor-item:hover {
    background: rgba(0, 255, 157, 0.06);
    border-radius: 12px;
    transform: translateY(-1px);
}

.investor-item.selected {
    background: rgba(0, 255, 157, 0.12);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.15);
}

.borough-pills {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
}

.borough-pill {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 0, 0.2);
    background: transparent;
    color: rgba(232, 255, 232, 0.7);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.borough-pill:hover {
    background: rgba(0, 255, 0, 0.1);
    color: #fff;
}

.borough-pill.active {
    background: rgba(0, 255, 0, 0.2);
    color: #fff;
    font-weight: 600;
    border-color: rgba(0, 255, 0, 0.4);
}

@media (max-width: 768px) {
    .investor-section {
        padding: 16px;
    }

    .investor-item {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .investor-rank {
        grid-row: 1 / span 2;
        width: 32px;
    }

    .investor-data {
        align-items: flex-start;
        text-align: left;
        margin-top: 4px;
    }
}

.ticker-wrap {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 16px 24px;
    max-width: 100vw;  /* Ensure it doesn't exceed viewport width */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Adjust ticker items for horizontal layout */
.ticker-item {
    width: 400px; /* Increased width to accommodate longer names */
    padding: 20px 16px;
    margin-right: 0;
    background-color: rgba(10, 42, 10, 0.3);
    border: 1px solid rgba(0, 255, 0, 0.1);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ticker-item.ticker-empty {
    justify-content: flex-start;
    gap: 12px;
    opacity: 0.85;
}

.ticker-item:hover {
    background-color: rgba(10, 42, 10, 0.5);
    border-color: rgba(0, 255, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ticker-item:hover .ticker-address {
    color: #ffffff;
}

.ticker-item.investor-highlight {
    background-color: rgba(255, 140, 0, 0.1);
    border-color: rgba(255, 140, 0, 0.2);
}

.ticker-item.investor-highlight:hover {
    background-color: rgba(255, 140, 0, 0.25);
    border-color: rgba(255, 140, 0, 0.5);
}

.ticker-info {
    flex: 1;
    min-width: 0;
    margin-bottom: 8px; /* Changed from margin-right */
}

.ticker-address {
    color: #00FF00;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.ticker-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.ticker-borough {
    color: #FFFFFF;
    font-weight: 600;
}

.ticker-neighborhood {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
}

.ticker-dot {
    color: rgba(255, 255, 255, 0.3);
}

.ticker-meta {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-details {
    width: 100%; /* Ensure it takes full width for alignment */
}

.ticker-price {
    color: #00FF00;
    font-weight: bold;
    font-size: 1.2rem; /* Increased from 0.9rem */
    margin-bottom: 2px;
    white-space: nowrap;
}

.ticker-change {
    font-size: 0.75rem;
    white-space: nowrap;
}

.ticker-change.positive {
    color: #00FF00;
}

.ticker-change.negative {
    color: #FF4444;
}

.ticker-parties {
    font-size: 0.65rem; /* Very small font size */
    color: rgba(255, 255, 255, 0.4); /* Faded color */
    margin-top: 4px; /* Small margin to separate from price */
    line-height: 1.2;
}

.ticker-parties span {
    display: block; /* Each name on a new line */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.ticker-parties {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    line-height: 1.3;
}

.ticker-parties span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-buyer, .ticker-seller {
    display: block;
}

.ticker-arrow {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
}

.ticker-move {
    display: flex;
    gap: 24px;
    height: 100%;
    align-items: stretch;
}


.ticker-move.auto-scroll {
    /* animation: ticker-scroll var(--ticker-speed, 40s) linear infinite; */
}

.ticker-move.auto-scroll.paused,
.ticker-wrap:hover .ticker-move.auto-scroll {
    /* animation-play-state: paused; */
}

.ticker-wrap::-webkit-scrollbar {
    height: 6px;
}

.ticker-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.ticker-wrap::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 999px;
    transition: background 0.2s ease-in-out;
}

.ticker-wrap:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 0, 0.25);
}



/* Adjust spacing for the rest of the content */
.row.mt-4 {
    margin-top: 2.5rem !important;  /* Increased margin */
}

/* Update content area animation */
.content-area {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 2rem;
}

.content-area.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* When search is active, adjust content area positioning */
body.search-active .content-area {
    margin-top: 1rem;
}

/* Smooth fade for ticker items */
.ticker-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.content-area.visible .ticker-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the ticker items animation */
.content-area.visible .ticker-item:nth-child(1) { transition-delay: 0.3s; }
.content-area.visible .ticker-item:nth-child(2) { transition-delay: 0.4s; }
.content-area.visible .ticker-item:nth-child(3) { transition-delay: 0.5s; }
.content-area.visible .ticker-item:nth-child(4) { transition-delay: 0.6s; }
.content-area.visible .ticker-item:nth-child(5) { transition-delay: 0.7s; }
/* Add more if needed */

.lead-flow-banner {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lead-flow-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(0, 255, 0, 0) 0%,
        rgba(0, 255, 0, 0.2) 50%,
        rgba(0, 255, 0, 0) 100%
    );
}

.lead-flow-banner h2 {
    color: #00FF00;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.lead-flow-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.beta-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00FF00;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.btn-outline-success {
    color: #00FF00;
    border-color: rgba(0, 255, 0, 0.3);
    background: transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.5px;
}

.btn-outline-success:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.5);
    color: #00FF00;
    transform: translateY(-1px);
}

/* Modal styles for Lead Flow signup */
#leadFlowSignup .modal-content {
    background-color: #000;
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 8px;
}

#leadFlowSignup .modal-header {
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    padding: 1.5rem;
}

#leadFlowSignup .modal-title {
    color: #00FF00;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

#leadFlowSignup .modal-body {
    padding: 1.5rem;
}

#leadFlowSignup .lead-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

#leadFlowSignup .form-label {
    color: rgba(0, 255, 0, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

#leadFlowSignup .form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: #00FF00;
    padding: 0.8rem;
    font-family: 'IBM Plex Mono', monospace;
}

#leadFlowSignup .form-control:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 255, 0, 0.4);
    box-shadow: 0 0 0 2px rgba(0, 255, 0, 0.1);
}

#leadFlowSignup .form-control::placeholder {
    color: rgba(0, 255, 0, 0.3);
}

#leadFlowSignup .btn-success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00FF00;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    padding: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#leadFlowSignup .btn-success:hover {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.5);
    transform: translateY(-1px);
}

/* Add a subtle animation for modal appearance */
.modal.fade .modal-dialog {
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Remove ticker from content-area animations */
.content-area .ticker-container {
    display: none;  /* Hide duplicate ticker */
}

/* Remove any animations that might interfere with ticker visibility */
.content-area .ticker-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Adjust container for larger search bar */
.search-container {
    max-width: 900px;  /* Wider container */
    margin: 0 auto;
    padding: 0 20px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1000;
}

/* Center the search container in the window */
.search-container.centered {
    width: 100%;
    max-width: 900px;
    padding: 80px 20px;
}

/* Make search section take full viewport height */
.search-section {
    position: relative;
    min-height: calc(100vh - 80px); /* Subtract tagline height */
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Add these styles for logo spacing */
.row.mb-6 {
    margin-bottom: 4rem !important;  /* Add space below logo */
    padding-top: 2rem;  /* Add space above logo */
}

.logo-text {
    font-family: 'Iceland', cursive;
    font-size: 4rem;  /* Made slightly larger for Iceland font */
    margin-bottom: 1rem;
    letter-spacing: 3px;  /* Increased letter spacing */
}

.logo-text .thin {
    font-weight: 400;  /* Iceland only comes in regular weight */
}

.logo-text .highlight {
    color: #00FF00;
    font-weight: 400;  /* Iceland only comes in regular weight */
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);  /* Added glow effect */
}

.subheading {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.launch-banner {
    display: inline-block;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
    padding: 8px 24px;  /* Slightly wider padding */
    border-radius: 4px;
    margin-top: 1rem;
}

.launch-text {
    color: #00FF00;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.1rem;  /* Slightly larger */
    font-weight: 700;   /* Bold */
    letter-spacing: 2px;  /* More spacing */
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.2);  /* Subtle glow */
}

/* Live Lead Flow page specific styles */
.beta-tag-large {
    display: inline-block;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00FF00;
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.live-flow-title {
    color: #00FF00;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.live-flow-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.live-flow-form {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

/* Dealflow page header styles */
header .logo-link {
    font-family: 'Iceland', cursive;
    font-size: 1.8rem;
    text-decoration: none;
    letter-spacing: 1px;
}

header .logo-link .thin {
    color: #fff;
    font-weight: 400;
}

header .logo-link .highlight {
    color: #00FF00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

header .logo-link:hover {
    text-decoration: none;
}

.beta-tag-small {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: #00FF00;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 4px;
    letter-spacing: 1px;
}

.beta-feature-link {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.beta-feature-link:hover {
    opacity: 1;
}

header.fixed-top {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
}

.navbar {
    padding: 0.5rem 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link:hover, .nav-link.active {
    color: #00FF00;
}

.property-chat {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 8px;
    max-height: 300px;
    min-height: 200px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 0, 0.2);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 0, 0.3);
}

.chat-message {
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 85%;
    font-size: 0.85rem;
    line-height: 1.4;
}

.chat-message.user {
    background: rgba(0, 255, 0, 0.1);
    margin-left: auto;
    color: #00FF00;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.chat-message.assistant {
    background: rgba(255, 255, 255, 0.05);
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input {
    margin-top: auto;
}

.chat-input .form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: #00FF00;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 6px;
}

.chat-input .form-control:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 0, 0.4);
    box-shadow: 0 0 0 2px rgba(0, 255, 0, 0.1);
}

.chat-input .form-control::placeholder {
    color: rgba(0, 255, 0, 0.4);
}

.chat-input .btn-primary {
    padding: 8px 12px;
    font-size: 0.85rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00FF00;
    border-radius: 6px;
}

.chat-input .btn-primary:hover {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.5);
}

/* Responsive adjustments for chat window */
@media (max-width: 768px) {
    .floating-chat-window {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .floating-chat-window {
        width: calc(100vw - 20px);
        right: 10px;
        left: 10px;
        height: 350px;
    }
    
    .chat-header {
        padding: 10px 12px;
    }
    
    .chat-body {
        padding: 12px;
    }
}

/* PropExchange Branding Styles */
.brand-container {
    text-decoration: none;
    display: block;
    width: fit-content;
    margin: 1.5rem auto 1rem;
    text-align: center;
}

/* Navbar Styles */
.navbar {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    padding: 0.5rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000; /* Ensure it's on top of everything */
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-brand {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.navbar-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.nav-link:hover, .nav-link.active {
    color: #00FF00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.main-content {
    padding-top: 60px; /* Adjust this value based on the navbar's height */
}

/* Specific styling for the About page content */
.content-container {
    font-family: 'IBM Plex Mono', monospace !important;
}

.brand-main-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.8rem; /* Larger than previous brand-text */
    font-weight: 700;
    color: #00FF00; /* Highlight color */
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.brand-subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem; /* Smaller, like a tagline */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* Floating Chat Window Styles */
.floating-chat-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    height: 500px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.floating-chat-window.minimized {
    height: 60px;
}

.floating-chat-window.minimized .chat-body {
    display: none;
}

.chat-header {
    background: rgba(0, 255, 0, 0.1);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

.chat-title {
    color: #00FF00;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-title i {
    font-size: 1rem;
}

.property-indicator {
    color: #00FF00;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

.market-indicator {
    color: #00FF00;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-controls {
    display: flex;
    gap: 4px;
}

.chat-controls .btn {
    padding: 4px 8px;
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: #00FF00;
}

.chat-controls .btn:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.4);
}

.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 8px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 0, 0.2);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 0, 0.3);
}

.chat-message {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    max-width: 85%;
    font-size: 0.85rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-message.user {
    background: rgba(0, 255, 0, 0.1);
    margin-left: auto;
    color: #00FF00;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.chat-message.assistant {
    background: rgba(255, 255, 255, 0.05);
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-message .message-text {
    margin: 0;
}

.chat-input {
    margin-top: auto;
}

.chat-input form {
    display: flex;
    gap: 8px;
}

.chat-input .form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: #00FF00;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 6px;
    flex: 1;
}

.chat-input .form-control:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 0, 0.4);
    box-shadow: 0 0 0 2px rgba(0, 255, 0, 0.1);
}

.chat-input .form-control::placeholder {
    color: rgba(0, 255, 0, 0.4);
}

.chat-input .btn-primary {
    padding: 8px 12px;
    font-size: 0.85rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00FF00;
    border-radius: 6px;
    min-width: 40px;
}

.chat-input .btn-primary:hover {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.5);
}

/* Market Chat Specific Styles */
.market-chat-window {
    border-color: rgba(0, 150, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 150, 255, 0.2);
}

.market-chat-header {
    background: rgba(0, 150, 255, 0.1);
    border-bottom-color: rgba(0, 150, 255, 0.2);
}

.market-chat-window .chat-title {
    color: #0096FF;
}

.market-chat-window .chat-controls .btn {
    border-color: rgba(0, 150, 255, 0.2);
    color: #0096FF;
}

.market-chat-window .chat-controls .btn:hover {
    background: rgba(0, 150, 255, 0.1);
    border-color: rgba(0, 150, 255, 0.4);
}

.market-chat-window .chat-message.user {
    background: rgba(0, 150, 255, 0.1);
    border-color: rgba(0, 150, 255, 0.2);
    color: #0096FF;
}

.market-chat-window .chat-input .form-control {
    border-color: rgba(0, 150, 255, 0.2);
    color: #0096FF;
}

.market-chat-window .chat-input .form-control:focus {
    border-color: rgba(0, 150, 255, 0.4);
    box-shadow: 0 0 0 2px rgba(0, 150, 255, 0.1);
}

.market-chat-window .chat-input .form-control::placeholder {
    color: rgba(0, 150, 255, 0.4);
}

.market-chat-window .chat-input .btn-primary {
    background: rgba(0, 150, 255, 0.1);
    border-color: rgba(0, 150, 255, 0.3);
    color: #0096FF;
}

.market-chat-window .chat-input .btn-primary:hover {
    background: rgba(0, 150, 255, 0.2);
    border-color: rgba(0, 150, 255, 0.5);
}

.property-context {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.1);
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: rgba(0, 255, 0, 0.8);
}

.market-chat-window .property-context {
    background: rgba(0, 150, 255, 0.05);
    border-color: rgba(0, 150, 255, 0.1);
    color: rgba(0, 150, 255, 0.8);
}

/* Keyboard Hints Styles */
.keyboard-hints {
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.keyboard-hints:hover {
    opacity: 1;
}

.keyboard-hints kbd {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-family: 'IBM Plex Mono', monospace;
    color: #00FF00;
    margin: 0 2px;
}

.keyboard-hints small {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Typing Indicator Animation */
.typing-indicator {
    display: inline-block;
    animation: blink 1s infinite;
    color: #00FF00;
    font-weight: bold;
}

.market-chat-window .typing-indicator {
    color: #0096FF;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Property Details Modal */
#property-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000; /* Ensure it's on top */
}

#property-modal-overlay #results {
    position: relative;
    background: #111;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 0, 0.2);
    max-width: 1000px; /* Increased from 900px */
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.investor-transaction-label {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: inline-block;
}

.investor-transaction-label.acquisition {
    background-color: rgba(0, 255, 0, 0.2);
    color: #00FF00;
}

.investor-transaction-label.exit {
    background-color: rgba(255, 68, 68, 0.2);
    color: #FF4444;
}

.investor-notes {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin-top: 5px;
    white-space: pre-wrap; /* Preserve whitespace and line breaks */
}

/* Ad Banners */
.ad-banner {
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 255, 0, 0.02);
    border: 1px dashed rgba(0, 255, 0, 0.1);
    margin: 1.5rem 0;
    overflow: hidden;
    color: rgba(0, 255, 0, 0.3);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-banner-top {
    min-height: 90px;
    width: 100%;
    margin-top: 0;
    margin-bottom: 2rem;
}

.ad-banner-middle {
    min-height: 250px;
    width: 100%;
    max-width: 728px;
    margin-left: auto;
    margin-right: auto;
}

.ad-banner-placeholder::after {
    content: 'ADVERTISEMENT';
}

/* Pulse Loader Overlay */
.pulse-loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    z-index: 10001;
    user-select: none;
    transition: opacity 0.4s ease-out;
}

.pulse-hero-small {
    font-family: 'Doto', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    animation: pulse-clean 1.8s ease-in-out infinite;
}

/* Initially hide content while loading */
.content-hidden {
    opacity: 0;
    pointer-events: none;
}

.content-visible {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.8s ease-in;
}

body.loading {
    overflow: hidden;
}

@keyframes pulse-clean {
    0% { transform: scale(1); opacity: 0.8; }
    10% { transform: scale(1.05); opacity: 1; }
    20% { transform: scale(1); opacity: 0.8; }
    30% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

