/* EQUARE Custom Styles - Matching Wireframe Design */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&family=Train+One&display=swap');

/* Root Variables */
:root {
    --coral-600: #ea580c;
    --coral-700: #c2410c;
    --coral-500: #f97316;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-300: #cbd5e1;
}

/* Body and Typography */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--slate-50);
}

.font-logo {
    font-family: 'Train One', cursive;
}

/* Hero Section - Dark Background (no min-height; use section padding in .cshtml to control strip height) */
.hero-section {
    background: var(--slate-900);
    color: white;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Coral Color Classes */
.text-coral-600 {
    color: var(--coral-600);
}

.bg-coral-600 {
    background-color: var(--coral-600);
}

.hover-bg-coral-700:hover {
    background-color: var(--coral-700);
}

.border-coral-500 {
    border-color: var(--coral-500);
}

/* Property Cards */
.property-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.property-card .card-img-top {
    transition: transform 0.3s ease;
}

.property-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Agent Cards */
.agent-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
}

.agent-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Search Form - Wireframe Style */
.search-form {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 1500px;
    margin: 0 auto;
}

.search-form .form-control {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: var(--slate-900);
}

/* Make ONLY the address field wider and allow more placeholder text */
.search-form .search-address {
    /* Keep this aligned with Bootstrap md grid (col-md-4 = 4/12 = 33.333%) */
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}

/* Compact columns (homepage has 4): keep enough width so select text doesn't get cut */
.search-form .col-fixed {
    flex: 0 0 16.5%;
    max-width: 16.5%;
}

@media (max-width: 767.98px) {
    .search-form .search-address,
    .search-form .col-fixed {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .search-form .search-address {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

.search-form .form-control:focus {
    border-color: var(--coral-500);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.search-form .btn-primary {
    background-color: var(--coral-600);
    border-color: var(--coral-600);
    padding: 12px;
    border-radius: 6px;
}

.search-form .btn-primary:hover {
    background-color: var(--coral-700);
    border-color: var(--coral-700);
}

/* Navigation Bar - Dark Theme */
.navbar-dark {
    background-color: var(--slate-900) !important;
}

.navbar-dark .navbar-brand {
    color: white;
    font-family: 'Train One', cursive;
    font-size: 1.6rem;
}

.navbar-dark .nav-link {
    color: var(--slate-300);
}

.navbar-dark .nav-link:hover {
    color: white;
}

/* Logo Styling */
.equare-logo {
    font-family: 'Train One', cursive;
    font-size: 4rem;
    letter-spacing: 2px;
    color: var(--coral-600);
}

.equare-logo-alt {
    color: #ffffff;
}

/* Additional Coral Color Classes */
.btn-outline-coral-600 {
    color: var(--coral-600);
    border-color: var(--coral-600);
}

.btn-outline-coral-600:hover {
    background-color: var(--coral-600);
    border-color: var(--coral-600);
    color: white;
}

.bg-slate-100 {
    background-color: var(--slate-100);
}

.bg-slate-900 {
    background-color: var(--slate-900);
}

.text-slate-300 {
    color: var(--slate-300);
}

/* Hover Effects */
.hover-bg-coral-700:hover {
    background-color: var(--coral-700) !important;
}

.hover-bg-slate-600:hover {
    background-color: var(--slate-700) !important;
}

/* Statistics Section */
.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.font-bold {
    font-weight: 700;
}

.text-slate-600 {
    color: var(--slate-700);
}

.bg-slate-50 {
    background-color: var(--slate-50);
}

/* Search Form Input Styling */
.search-input {
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

.search-select {
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

/* Hover Effects for Navigation */
.hover-text-coral-400:hover {
    color: #fb923c !important;
}

/* Text Colors */
.text-slate-300 {
    color: #e5e7eb;
}

.search-form .form-control {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 16px;
  }

.search-form .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

/* Advanced Filters */
.advanced-filters {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

.advanced-filters .form-select {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
}

.btn-outline-primary:hover {
    background-color: #667eea;
    border-color: #667eea;
    transform: translateY(-2px);
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #667eea !important;
}

/* Footer */
footer {
    background-color: var(--slate-900);
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 2rem;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

/* Property Details */
.property-details .carousel-item img {
    border-radius: 12px;
}

.property-details .card {
    border-radius: 12px;
}

/* Search Results */
.search-results .card {
    transition: all 0.3s ease;
}

.search-results .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Pagination */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border: none;
    color: #667eea;
}

.pagination .page-item.active .page-link {
    background-color: #667eea;
    border-color: #667eea;
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    color: #667eea;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Badges */
.badge {
    border-radius: 6px;
    font-weight: 500;
}

/* Icons */
.fa-3x {
    color: #667eea;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-form {
        margin-top: 2rem;
    }
    
    .property-card {
        margin-bottom: 1.5rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .search-form .form-control {
        font-size: 14px;
        padding: 12px 16px;
    }
}

/* Custom Utilities */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Success/Error States */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}

/* Ensure search controls have uniform height */
.search-form .form-control,
.search-form .form-select,
.search-form .btn {
    height: 48px;
}

/* Green badge for buyer incentive */
.bg-green-600 {
    background-color: #16a34a;
}

.text-xs {
    font-size: 0.75rem;
}

/* Custom column width for search filters */
.col-lg-1-5 {
    flex: 0 0 auto;
    width: 12.5%; /* 8 columns per row (100% / 8 = 12.5%) */
}

@media (max-width: 991.98px) {
    .col-lg-1-5 {
        width: 50%; /* 2 columns per row on medium screens */
    }
}

/* Wireframe-style property cards */
.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.bg-white {
    background-color: white;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.p-4 {
    padding: 1rem;
}

@media (min-width: 768px) {
    .md\:p-6 {
        padding: 1.5rem;
    }
}

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

@media (min-width: 768px) {
    .flex-md-row {
        flex-direction: row;
    }
}

.flex-grow-1 {
    flex-grow: 1;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.object-cover {
    object-fit: cover;
}

.rounded {
    border-radius: 0.25rem;
}

.me-4 {
    margin-right: 1rem;
}

.me-md-4 {
    margin-right: 1rem;
}

@media (min-width: 768px) {
    .me-md-4 {
        margin-right: 1.5rem;
    }
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-md-0 {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .mb-md-0 {
        margin-bottom: 0;
    }
}

.text-slate-600 {
    color: #475569;
}

.text-slate-500 {
    color: #64748b;
}

.text-xs {
    font-size: 0.75rem;
}

.fw-bold {
    font-weight: 700;
}

.fw-semibold {
    font-weight: 600;
}

.rounded-pill {
    border-radius: 50rem;
}

.bg-black {
    background-color: #000;
}

.bg-opacity-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.rounded-circle {
    border-radius: 50%;
}

.border-0 {
    border: 0;
}

.p-2 {
    padding: 0.5rem;
}

.text-white {
    color: #fff;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.text-sm {
    font-size: 0.875rem;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* Wireframe About Page Styles */
.min-h-screen {
    min-height: 100vh;
}

.bg-gradient-to-b {
    background: linear-gradient(to bottom, var(--slate-900), var(--slate-800));
}

.from-slate-900 {
    --tw-gradient-from: #0f172a;
    --tw-gradient-to: rgba(15, 23, 42, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-slate-800 {
    --tw-gradient-to: #1e293b;
}

.max-w-6xl {
    max-width: 72rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .md\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

@media (min-width: 768px) {
    .md\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

.text-slate-300 {
    color: #cbd5e1;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.font-semibold {
    font-weight: 600;
}

.hover-bg-coral-700:hover {
    background-color: var(--coral-700);
}

.fa-4x {
    font-size: 4em;
}

.text-coral-500 {
    color: var(--coral-500);
}

.h4 {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.fw-bold {
    font-weight: 700;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* Wireframe Pricing Page Styles */
.bg-slate-50 {
    background-color: #f8fafc;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-slate-600 {
    color: #475569;
}

.mb-16 {
    margin-bottom: 4rem;
}

.bg-white {
    background-color: white;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.p-8 {
    padding: 2rem;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.h-100 {
    height: 100%;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.font-bold {
    font-weight: 700;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.flex-grow {
    flex-grow: 1;
}

.text-slate-400 {
    color: #94a3b8;
}

.w-100 {
    width: 100%;
}

.bg-slate-200 {
    background-color: #e2e8f0;
}

.text-slate-700 {
    color: #334155;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.border-2 {
    border-width: 2px;
}

.border-coral-500 {
    border-color: var(--coral-500);
}

.bg-coral-600 {
    background-color: var(--coral-600);
}

.text-white {
    color: white;
}

.hover-bg-coral-700:hover {
    background-color: var(--coral-700);
}

/* Search page inline filters spacing */
.card .form-label {
    font-weight: 600;
    color: var(--slate-700);
}

.text-slate-600 { color: var(--slate-700); }
.text-coral-600 { color: var(--coral-600); }

/* Wireframe Property Details Page Styles */
.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.font-semibold {
    font-weight: 600;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-4 {
    padding: 1rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-circle {
    border-radius: 50%;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.bg-slate-50 {
    background-color: #f8fafc;
}

.bg-slate-100 {
    background-color: #f1f5f9;
}

.bg-slate-200 {
    background-color: #e2e8f0;
}

.bg-black {
    background-color: #000;
}

.bg-opacity-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.bg-opacity-75 {
    background-color: rgba(0, 0, 0, 0.75);
}

.text-slate-600 {
    color: #475569;
}

.text-slate-500 {
    color: #64748b;
}

.text-slate-700 {
    color: #334155;
}

.text-coral-600 {
    color: var(--coral-600);
}

.text-coral-500 {
    color: var(--coral-500);
}

.text-white {
    color: white;
}

.border {
    border: 1px solid #e2e8f0;
}

.border-slate-300 {
    border-color: #cbd5e1;
}

.border-top {
    border-top: 1px solid #e2e8f0;
}

.overflow-hidden {
    overflow: hidden;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.left-4 {
    left: 1rem;
}

.right-4 {
    right: 1rem;
}

.top-1/2 {
    top: 50%;
}

.transform {
    transform: translateY(-50%);
}

.-translate-y-1/2 {
    transform: translateY(-50%);
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.h-64 {
    height: 16rem;
}

.h-256 {
    height: 64rem;
}

.object-cover {
    object-fit: cover;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.cursor-pointer {
    cursor: pointer;
}

.hover:bg-slate-200:hover {
    background-color: #e2e8f0;
}

.hover:bg-slate-300:hover {
    background-color: #cbd5e1;
}

.hover:bg-coral-100:hover {
    background-color: var(--coral-100);
}

.hover:bg-opacity-75:hover {
    background-color: rgba(0, 0, 0, 0.75);
}

.hover:underline:hover {
    text-decoration: underline;
}

.hover:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.transition-shadow {
    transition: box-shadow 0.15s ease-in-out;
}

.transition-colors {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

@media (min-width: 768px) {
    .md\:h-96 {
        height: 24rem;
    }
    
    .md\:mt-12 {
        margin-top: 3rem;
    }
}

/* Document Vault Styles */
.document-vault {
    background-color: #f8fafc;
    min-height: 100vh;
}

.property-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.property-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.property-header {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-content {
    padding: 24px;
    border-top: 1px solid #e2e8f0;
}

.document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 12px;
}

.document-info {
    display: flex;
    align-items: center;
}

.access-badge {
    padding: 4px 8px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}

.access-secure {
    background-color: #fef3c7;
    color: #92400e;
}

.access-public {
    background-color: #d1fae5;
    color: #065f46;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 12px;
}

.activity-icon {
    margin-right: 12px;
    margin-top: 4px;
    color: #64748b;
}

.upload-btn {
    background-color: #ea580c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.upload-btn:hover {
    background-color: #c2410c;
    color: white;
}

.share-btn {
    background-color: #ea580c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    transition: background-color 0.2s;
}

.share-btn:hover {
    background-color: #c2410c;
    color: white;
}

.chevron-icon {
    transition: transform 0.2s;
}

.chevron-expanded {
    transform: rotate(90deg);
}

.activity-scroll {
    max-height: 240px;
    overflow-y: auto;
}

.filter-section {
    background: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-muted {
    color: #6b7280;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-4 {
    padding: 1rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.bg-white {
    background-color: white;
}

.bg-slate-50 {
    background-color: #f8fafc;
}

.bg-slate-100 {
    background-color: #f1f5f9;
}

.text-slate-600 {
    color: #475569;
}

.text-slate-500 {
    color: #64748b;
}

.text-slate-700 {
    color: #334155;
}

.border-top {
    border-top: 1px solid #e2e8f0;
}

.border {
    border: 1px solid #e2e8f0;
}

.flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: flex-start;
}

.w-100 {
    width: 100%;
}

.me-2 {
    margin-right: 0.5rem;
}

.me-3 {
    margin-right: 0.75rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.d-none {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

.transition-transform {
    transition: transform 0.2s;
}

.transition-colors {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.hover\:bg-coral-700:hover {
    background-color: #c2410c;
}

.hover\:text-white:hover {
    color: white;
}

/* Saved Items Styles */
.saved-items {
    background-color: #f8fafc;
    min-height: 100vh;
}

.saved-section {
    margin-bottom: 2rem;
}

.saved-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: box-shadow 0.2s;
}

.saved-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.property-image {
    width: 100%;
    height: 8rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.property-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.property-price {
    color: #ea580c;
    font-weight: 700;
    font-size: 1.125rem;
}

.search-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.search-info h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.search-info p {
    font-size: 0.875rem;
    color: #64748b;
}

.search-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-view {
    background-color: #ea580c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.btn-view:hover {
    background-color: #c2410c;
    color: white;
}

.btn-remove {
    background-color: #e2e8f0;
    color: #475569;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.btn-remove:hover {
    background-color: #cbd5e1;
    color: #475569;
}

.property-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.action-btn {
    background: none;
    border: none;
    color: #64748b;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: color 0.2s;
}

.action-btn:hover {
    color: #ea580c;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    background: #f1f5f9;
    border-radius: 0.5rem;
    color: #64748b;
}

.section-header {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.search-filters {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.filter-row {
    display: flex;
    gap: 1rem;
    align-items: end;
}

.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #374151;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.btn-search {
    background-color: #ea580c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.btn-search:hover {
    background-color: #c2410c;
}

.grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .search-actions {
        justify-content: stretch;
    }
    
    .search-actions button {
        flex: 1;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Marketing Suite Styles */
.marketing-suite {
    background-color: #f8fafc;
    min-height: 100vh;
}

.marketing-tabs {
    border-bottom: 1px solid #e2e8f0;
}

.marketing-tab {
    display: inline-flex;
    align-items: center;
    padding: 1rem 0.5rem;
    margin-right: 1.5rem;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    font-size: 0.875rem;
    color: #64748b;
    transition: all 0.2s;
    cursor: pointer;
    background: none;
    border: none;
}

.marketing-tab:hover {
    color: #374151;
    border-bottom-color: #cbd5e1;
}

.marketing-tab.active {
    color: #ea580c;
    border-bottom-color: #ea580c;
}

.marketing-tab i {
    margin-right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
}

.marketing-content {
    margin-top: 2rem;
}

.marketing-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.marketing-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.btn-primary {
    background-color: #ea580c;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.2s;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #c2410c;
}

.btn-primary:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.style-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.style-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.style-btn.active {
    background-color: #ea580c;
    color: white;
}

.style-btn:not(.active) {
    background-color: #e5e7eb;
    color: #374151;
}

.style-btn:not(.active):hover {
    background-color: #d1d5db;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 500;
}

.flyer-preview {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.flyer-preview-placeholder {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f8fafc;
    border-radius: 0.375rem;
    padding: 2rem;
}

.flyer-preview-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.flyer-image {
    height: 10rem;
    background-size: cover;
    background-position: center;
    border-radius: 0.375rem 0.375rem 0 0;
}

.flyer-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.flyer-headline {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.flyer-body {
    color: #64748b;
    font-size: 0.875rem;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.flyer-property-info {
    text-align: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.flyer-address {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.flyer-details {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.flyer-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ea580c;
}

.flyer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.flyer-agent {
    display: flex;
    align-items: center;
}

.flyer-agent img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin-right: 0.75rem;
    object-fit: cover;
}

.flyer-agent-info h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.125rem;
}

.flyer-agent-info p {
    font-size: 0.75rem;
    color: #64748b;
}

.targeting-options {
    display: grid;
    gap: 0.75rem;
}

.targeting-option {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.targeting-option:hover {
    border-color: #ea580c;
}

.targeting-option.active {
    border-color: #ea580c;
    background-color: #fef3f2;
}

.targeting-option i {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
    color: #ea580c;
}

.targeting-option-content h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.targeting-option-content p {
    font-size: 0.875rem;
    color: #64748b;
}

.campaign-preview {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.campaign-subject {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.campaign-body {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.campaign-attachment {
    flex-grow: 1;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    padding: 1rem;
    background: #f8fafc;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.campaign-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
}

.campaign-footer h4 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.125rem;
}

.website-url {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    margin: 1rem 0;
}

.website-url p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.website-url .url {
    font-family: monospace;
    color: #ea580c;
    word-break: break-all;
    font-weight: 600;
}

.grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .marketing-tab {
        margin-right: 1rem;
        padding: 0.75rem 0.25rem;
    }
    
    .style-buttons {
        flex-direction: column;
    }
    
    .targeting-options {
        grid-template-columns: 1fr;
    }
}

/* Dashboard Sidebar Styles */
.dashboard-sidebar {
    width: 260px !important;
    min-width: 260px;
    max-width: 260px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        width: 100% !important;
        min-width: 100%;
        max-width: 100%;
    }
}

/* Analytics Styles */
.analytics-page {
    background-color: #f8fafc;
    min-height: 100vh;
}

.analytics-header {
    margin-bottom: 2rem;
}

.analytics-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.analytics-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.chart-container {
    height: 300px;
    width: 100%;
    position: relative;
}

.chart-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 0.5rem;
    color: #64748b;
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ea580c;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.metro-list {
    display: grid;
    gap: 1rem;
}

.metro-item {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metro-info h3 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.metro-info p {
    color: #64748b;
    font-size: 0.875rem;
}

.metro-stats {
    text-align: right;
}

.metro-incentive {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ea580c;
    margin-bottom: 0.25rem;
}

.metro-days {
    color: #64748b;
    font-size: 0.875rem;
}

.filter-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-group label {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.filter-group select {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.filter-group select:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.chart-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 1rem;
    height: 1rem;
    background-color: #ea580c;
    border-radius: 0.25rem;
}

.legend-text {
    color: #64748b;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .metro-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .metro-stats {
        text-align: center;
    }
}