/* RENTDIRECT - Main Stylesheet */

/* CSS Variables */
:root {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #d1fae5;
    --secondary: #0f766e;
    --accent: #14b8a6;
    --text-dark: #111827;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --danger: #dc2626;
    --warning: #f59e0b;
    --success: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-medium);
}

.btn-ghost:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-input-icon {
    position: relative;
}

.form-input-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.form-input-icon .form-input {
    padding-left: 2.75rem;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Checkbox & Radio */
.checkbox-group,
.radio-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-group input,
.radio-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Navigation */
.navbar {
    background-color: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text .highlight {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

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

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

.nav-link {
    color: var(--text-medium);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background-color 0.2s;
}

.user-btn:hover {
    background-color: var(--bg-light);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    display: none;
    overflow: hidden;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.dropdown-name {
    font-weight: 600;
    color: var(--text-dark);
}

.dropdown-email {
    font-size: 0.875rem;
    color: var(--text-light);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-medium);
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
}

.dropdown-item.text-danger {
    color: var(--danger);
}

/* Flash Messages */
.flash-message {
    position: fixed;
    top: 80px;
    right: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    max-width: 400px;
}

.flash-success {
    background-color: var(--success);
}

.flash-error {
    background-color: var(--danger);
}

.flash-warning {
    background-color: var(--warning);
}

.flash-close {
    margin-left: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #064e3b 0%, #059669 50%, #0d9488 100%);
    color: white;
    padding: 4rem 0 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: #6ee7b7;
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Search Box */
.search-box {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 2.75rem;
    border: none;
    font-size: 1rem;
    background: transparent;
}

.search-input-wrapper input:focus {
    outline: none;
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #6ee7b7;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.bg-white {
    background-color: white;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

.category-card {
    display: block;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.2s;
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.category-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--primary);
    font-size: 1.25rem;
    transition: all 0.2s;
}

.category-card:hover .category-icon {
    background-color: var(--primary);
    color: white;
}

.category-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.property-card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.property-card:hover {
    box-shadow: var(--shadow-lg);
}

.property-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.property-price {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    font-weight: 700;
    color: var(--primary);
}

.property-price span {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-light);
}

.property-content {
    padding: 1rem;
}

.property-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.property-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.property-type {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-medium);
}

.property-amenities {
    display: flex;
    gap: 0.25rem;
}

.amenity-icon {
    width: 24px;
    height: 24px;
    background-color: var(--bg-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step {
    text-align: center;
}

.step-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-medium);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
}

.cta-box {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .cta-box {
        grid-template-columns: 1fr 1fr;
    }
}

.cta-content {
    padding: 3rem;
    color: white;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.cta-features {
    margin-bottom: 1.5rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.cta-feature i {
    color: #6ee7b7;
}

.cta-image {
    display: none;
}

@media (min-width: 768px) {
    .cta-image {
        display: block;
    }
    
    .cta-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-card i {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.stat-card .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-card .label {
    color: var(--text-medium);
    font-size: 0.875rem;
}

/* Trust Cards */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.trust-card i {
    width: 56px;
    height: 56px;
    background-color: #dbeafe;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #2563eb;
    font-size: 1.5rem;
}

.trust-card h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.trust-card p {
    color: var(--text-medium);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: #111827;
    color: white;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-desc {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.2s;
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
}

.footer-links h3,
.footer-contact h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.footer-contact ul li i {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-legal a {
    color: #6b7280;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-light);
}

.auth-header {
    background-color: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.auth-card h1 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* Role Selection */
.role-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.role-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s;
}

.role-option:hover {
    border-color: var(--primary);
}

.role-option.active {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.role-option input {
    display: none;
}

.role-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-size: 1.25rem;
}

.role-option.active .role-icon {
    background-color: var(--primary);
    color: white;
}

.role-info h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.role-info p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
}

.step-dot.active {
    background-color: var(--primary);
    color: white;
}

.step-line {
    width: 32px;
    height: 2px;
    background-color: var(--border);
    margin-top: 15px;
}

.step-line.active {
    background-color: var(--primary);
}

/* Search Page */
.search-header {
    background-color: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 64px;
    z-index: 50;
}

.search-bar {
    display: flex;
    gap: 0.75rem;
}

.search-filters {
    display: flex;
    gap: 0.5rem;
}

.view-toggle {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.view-btn {
    padding: 0.5rem 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-medium);
}

.view-btn.active {
    background-color: var(--primary);
    color: white;
}

/* Filter Sidebar */
.search-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
}

@media (min-width: 1024px) {
    .search-layout {
        grid-template-columns: 280px 1fr;
    }
}

.filter-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .filter-sidebar {
        display: block;
    }
    
    .filter-sidebar.sticky {
        position: sticky;
        top: 140px;
    }
}

.filter-card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section h4 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background-color: var(--bg-light);
    border-radius: 50px;
    font-size: 0.875rem;
}

.filter-tag button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
}

/* Property Detail */
.property-detail {
    padding: 1.5rem 0;
}

.property-gallery {
    margin-bottom: 1.5rem;
}

.main-image {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.gallery-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.2s;
}

.gallery-btn:hover {
    background-color: white;
}

.gallery-btn.active {
    color: var(--danger);
}

.thumbnail-strip {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Property Info */
.property-info {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.property-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .property-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.property-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-medium);
}

.property-price-large {
    text-align: left;
}

@media (min-width: 640px) {
    .property-price-large {
        text-align: right;
    }
}

.property-price-large .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.property-price-large .period {
    color: var(--text-light);
}

/* Property Meta */
.property-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.meta-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.meta-value {
    font-weight: 600;
}

/* Tabs */
.tabs {
    margin-top: 1rem;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-medium);
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: var(--radius);
}

.amenity-item i {
    color: var(--primary);
}

/* Sidebar Cards */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .detail-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.sidebar-card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.sidebar-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Landlord Card */
.landlord-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.landlord-avatar {
    width: 56px;
    height: 56px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.landlord-name {
    font-weight: 600;
}

.landlord-verified {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--success);
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all 0.2s;
}

.contact-btn-primary {
    background-color: var(--primary);
    color: white;
}

.contact-btn-primary:hover {
    background-color: var(--primary-dark);
}

.contact-btn-whatsapp {
    border: 2px solid #22c55e;
    color: #22c55e;
    background-color: transparent;
}

.contact-btn-whatsapp:hover {
    background-color: #f0fdf4;
}

/* Safety Tips */
.safety-tips {
    background-color: #eff6ff;
    border-radius: var(--radius);
    padding: 1rem;
}

.safety-tips h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.safety-tips ul {
    font-size: 0.875rem;
}

.safety-tips li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #1e3a8a;
}

.safety-tips li i {
    color: #3b82f6;
    margin-top: 0.125rem;
}

/* Report Button */
.report-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    color: var(--danger);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.report-btn:hover {
    text-decoration: underline;
}

/* Dashboard */
.dashboard-header {
    background-color: white;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.dashboard-header-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .dashboard-header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.dashboard-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.dashboard-header p {
    color: var(--text-medium);
}

/* Stats Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .dashboard-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-box {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-box-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.stat-box-info .number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-box-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-box-icon.blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.stat-box-icon.green {
    background-color: #d1fae5;
    color: #059669;
}

.stat-box-icon.purple {
    background-color: #e9d5ff;
    color: #9333ea;
}

.stat-box-icon.yellow {
    background-color: #fef3c7;
    color: #d97706;
}

/* Tabs */
.dashboard-tabs {
    margin-bottom: 1.5rem;
}

.tab-list {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.tab-item {
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-medium);
    transition: all 0.2s;
}

.tab-item:hover {
    color: var(--primary);
}

.tab-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background-color: white;
    border: 2px dashed var(--border);
    border-radius: var(--radius-xl);
}

.empty-state i {
    width: 64px;
    height: 64px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-light);
    font-size: 1.5rem;
}

.empty-state h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    color: white;
}

.cta-card-content {
    display: flex;
    gap: 1rem;
}

.cta-card-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cta-card h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Admin Table */
.table-container {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    min-width: 800px;
}

.data-table th,
.data-table td {
    padding: 1rem 1.5rem;
    text-align: left;
}

.data-table thead {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.data-table th {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.data-table tbody tr {
    border-bottom: 1px solid var(--border);
}

.data-table tbody tr:hover {
    background-color: var(--bg-light);
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

/* Table Cell Content */
.cell-property {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cell-property img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    object-fit: cover;
}

.cell-property-info p {
    font-weight: 500;
}

.cell-property-info span {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: capitalize;
}

.cell-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cell-user-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.cell-user-info p {
    font-weight: 500;
}

.cell-user-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-approved {
    background-color: #d1fae5;
    color: #059669;
}

.status-pending {
    background-color: #fef3c7;
    color: #d97706;
}

.status-verified {
    background-color: #d1fae5;
    color: #059669;
}

.status-unverified {
    background-color: #f3f4f6;
    color: #6b7280;
}

/* Role Badges */
.role-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.role-admin {
    background-color: #e9d5ff;
    color: #9333ea;
}

.role-landlord {
    background-color: #dbeafe;
    color: #2563eb;
}

.role-tenant {
    background-color: #f3f4f6;
    color: #4b5563;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
}

.dropdown-toggle:hover {
    background-color: var(--bg-light);
}

.dropdown-menu-right {
    right: 0;
    left: auto;
}

/* Responsive */
@media (max-width: 1023px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background-color: white;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        display: none;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-auth {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-auth .btn {
        width: 100%;
    }
    
    .user-dropdown {
        width: 100%;
    }
    
    .user-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        display: none;
    }
    
    .dropdown-menu.show {
        display: block;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-danger {
    color: var(--danger);
}

.text-success {
    color: var(--success);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.hidden {
    display: none;
}

/* Loading Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Image Upload */
.image-upload {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.image-upload:hover {
    border-color: var(--primary);
}

.image-upload i {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.image-upload p {
    color: var(--text-medium);
    margin-bottom: 0.25rem;
}

.image-upload .hint {
    font-size: 0.75rem;
    color: var(--text-light);
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.image-preview {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview .remove {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 24px;
    height: 24px;
    background-color: var(--danger);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .checkbox-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-item:hover {
    border-color: var(--primary);
}

.checkbox-item.checked {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.checkbox-item input {
    display: none;
}

/* Preview Box */
.preview-box {
    background-color: #eff6ff;
    border-radius: var(--radius);
    padding: 1rem;
}

.preview-box h4 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.preview-box p {
    font-size: 0.875rem;
    color: #1e40af;
    margin-bottom: 0.25rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.pagination a {
    color: var(--text-medium);
    transition: all 0.2s;
}

.pagination a:hover {
    background-color: var(--bg-light);
}

.pagination .active {
    background-color: var(--primary);
    color: white;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal {
    background-color: white;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    justify-content: flex-end;
}

/* Report Options */
.report-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.report-option {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: left;
    background: none;
    cursor: pointer;
    transition: all 0.2s;
}

.report-option:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}
