:root {
    --primary: #ec4899;
    --primary-dark: #db2777;
    --primary-light: #fce7f3;
    --secondary: #fff7fb;
    --secondary-dark: #fbcfe8;
    --accent: #f59e0b;
    --success: #22c55e;
    --danger: #ef4444;
    --text: #111827;
    --muted: #6b7280;
    --light: #ffffff;
    --card-radius: 18px;
    --pill-radius: 30px;
    --shadow-sm: 0 20px 45px rgba(236, 72, 153, 0.08);
    --shadow-lg: 0 32px 70px rgba(190, 24, 93, 0.18);
    --input-border: rgba(236, 72, 153, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(120% 120% at 0% 0%, #fce7f3 0%, #fbcfe8 45%, #f8fafc 100%);
    color: var(--text);
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(120deg, rgba(236, 72, 153, 0.05), rgba(244, 114, 182, 0.05));
    z-index: -2;
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(236, 72, 153, 0.08);
    box-shadow: 0 6px 30px rgba(15, 23, 42, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: '';
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 25px rgba(236, 72, 153, 0.38);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-nav a {
    position: relative;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: var(--pill-radius);
    transition: all 0.2s ease;
}

.top-nav a:hover,
.top-nav a:focus {
    color: var(--primary);
    background: rgba(236, 72, 153, 0.08);
}

.top-nav .admin-link {
    border: 1px solid rgba(236, 72, 153, 0.28);
    color: var(--primary);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(236, 72, 153, 0.1);
}

main.container {
    padding: 48px 0 80px;
    min-height: 70vh;
}

.hero {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 48px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.95), rgba(244, 114, 182, 0.88));
    color: var(--light);
    border-radius: calc(var(--card-radius) + 6px);
    margin-bottom: 38px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 80% at 80% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    line-height: 1.15;
    max-width: 520px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.85);
}

.hero .btn {
    background: var(--light);
    color: var(--primary);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}

.herform {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.95), rgba(244, 114, 182, 0.88));
    color: var(--light);
    padding: 48px;
    border-radius: calc(var(--card-radius) + 6px);
    margin-bottom: 38px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.herform::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 80% at 80% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.herform h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    line-height: 1.15;
    max-width: 520px;
}

.herform p {
    font-size: 1.1rem;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.85);
}

.herform .btn {
    background: var(--light);
    color: var(--primary);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 18px;
    color: var(--primary-dark);
}

.filters-card,
.highlight-card {
    background: linear-gradient(145deg, #ffe4f1, #ffd5ea);
    padding: 1.8rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 1px solid rgba(236, 72, 153, 0.15);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), #f472b6);
}

.highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.12);
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
    border: 1px solid rgba(236, 72, 153, 0.05);
    position: relative;
    overflow: hidden;
}

.filters-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

label {
    font-size: 0.92rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
    padding-left: 8px;
    border-left: 3px solid var(--primary);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    background-color: var(--light);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    background-color: var(--light);
    transition: all 0.3s ease;
    appearance: none;
    font-size: 0.97rem;
    background: rgba(255, 255, 255, 0.94);
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(236, 72, 153, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: var(--text);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 12px;
    padding-right: 40px;
}

input[data-location-autocomplete] {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(236, 72, 153, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: var(--text);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 12px;
    padding-right: 40px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
    transform: translateY(-1px);
    background: var(--light);
}

input[data-location-autocomplete]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.9);
}

.autocomplete-wrapper {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.autocomplete-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(236, 72, 153, 0.12);
    padding: 6px 0;
    z-index: 99999 !important;
    overflow: hidden;
    max-height: 400px;
    overflow-y: auto;
    pointer-events: auto;
    width: 100%;
    min-width: 100%;
}

.autocomplete-list.hidden {
    display: none !important;
}

.autocomplete-item {
    padding: 8px 16px;
    margin: 4px 8px;
    cursor: pointer;
    color: #4b5563;
    font-weight: 400;
    font-size: 0.9rem;
    background: transparent;
    border: none;
    border-radius: 20px;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.autocomplete-item:hover {
    color: var(--primary);
    background-color: #f8fafc;
    padding-left: 12px;
}

.autocomplete-item:hover::before {
    transform: scale(1.3);
    opacity: 1;
    background-color: var(--primary-dark);
}

.autocomplete-item:active {
    transform: scale(0.98);
    transition-duration: 0.1s;
}

.autocomplete-more {
    pointer-events: none;
    cursor: default !important;
}

.autocomplete-more:hover {
    background: transparent !important;
}

.autocomplete-header {
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(236, 72, 153, 0.05));
    border-bottom: 1px solid rgba(236, 72, 153, 0.15);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
    z-index: 1;
}

textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
    font-family: inherit;
    padding: 16px;
    border-radius: 12px;
}

input[type="file"] {
    border: 1px dashed rgba(236, 72, 153, 0.25);
    padding: 14px;
    cursor: pointer;
    background: rgba(236, 72, 153, 0.03);
    transition: all 0.3s ease;
}

input[type="file"]:hover {
    background: rgba(236, 72, 153, 0.08);
    border-color: rgba(236, 72, 153, 0.4);
}

#image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

#image-preview > div {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#image-preview img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

#image-preview > div:first-child img {
    border: 3px solid var(--primary);
}

.form-section {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.form-actions {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.form-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.2), transparent);
    margin: 26px 0;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--light);
    padding: 0 1rem;
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.muted {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.site-footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.8);
    padding: 28px 0;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--light);
    border-radius: calc(var(--card-radius) - 6px);
    overflow: hidden;
}

.table th,
.table td {
    padding: 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    text-align: left;
    font-size: 0.95rem;
}

.table th {
    background: rgba(236, 72, 153, 0.08);
    color: var(--primary-dark);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.table-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.table-responsive {
    overflow-x: auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 6px 12px;
    border-radius: var(--pill-radius);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge.pending {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.badge.approved {
    background: rgba(34, 197, 94, 0.16);
    color: #15803d;
}

.badge.rejected {
    background: rgba(239, 68, 68, 0.16);
    color: #b91c1c;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal.open {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--light);
    padding: 32px;
    border-radius: calc(var(--card-radius) - 6px);
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.modal-content h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

.empty-state {
    border: 1px dashed rgba(236, 72, 153, 0.24);
    padding: 28px;
    border-radius: calc(var(--card-radius) - 6px);
    text-align: center;
    color: var(--muted);
    background: rgba(236, 72, 153, 0.04);
}

.hidden {
    display: none !important;
}

.property-detail {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: start;
}

.property-detail-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: calc(var(--card-radius) - 6px);
}

.property-image-gallery {
    width: 100%;
}

.main-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
    border-radius: calc(var(--card-radius) - 6px);
    overflow: hidden;
}

.image-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: calc(var(--card-radius) - 6px);
}

.image-carousel {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: calc(var(--card-radius) - 6px);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: var(--primary);
}

.carousel-nav:hover {
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
}

.carousel-prev {
    left: 16px;
}

.carousel-next {
    right: 16px;
}

.carousel-indicator {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

.property-image-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.thumbnail-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #f3f4f6;
}

.thumbnail-item:hover {
    border-color: rgba(236, 72, 153, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

.thumbnail-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2);
}

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

.property-detail-media img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: calc(var(--card-radius) - 6px);
}

.property-detail .placeholder-image.large {
    width: 100%;
    min-height: 420px;
    border-radius: calc(var(--card-radius) - 6px);
}

.status-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    border-radius: var(--pill-radius);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-badge {
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: var(--light);
}

.property-detail-body h1 {
    margin: 10px 0;
    font-size: clamp(1.9rem, 3.5vw, 2.4rem);
}

.property-detail-body .price {
    margin-top: 10px;
}

.property-description {
    margin-top: 24px;
}

.property-description h2 {
    margin: 0 0 12px;
}

.property-description p {
    line-height: 1.7;
    color: var(--text);
    white-space: pre-wrap;
}

        .contact-card {
            position: relative;
        }

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
    margin-top: 1.5rem;
}

.property-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.15);
}

.property-media {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: #f3f4f6;
}

.property-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbcfe8 0%, #fce7f3 100%);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.placeholder-image.large {
    min-height: 420px;
}

.property-card .content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-card .content .category,
.property-detail-body .category {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.property-meta {
    display: flex;
    gap: 16px;
    margin: 12px 0;
    flex-wrap: nowrap;
    align-items: center;
}

.property-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 500;
    white-space: nowrap;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    transition: all 0.2s ease;
}

.property-meta span:hover {
    background: rgba(236, 72, 153, 0.05);
    color: var(--primary);
}

.property-meta svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.property-meta.detail span {
    font-size: 1rem;
    color: var(--text);
}

.property-title-boxed {
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 12px 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05), rgba(236, 72, 153, 0.02));
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.1);
    transition: all 0.3s ease;
}

.property-card:hover .property-title-boxed {
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.15);
    transform: translateY(-2px);
}

.property-location {
    margin-top: auto;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(236, 72, 153, 0.08);
    border-radius: 10px;
    border-left: 1px solid var(--primary);
    font-weight: 500;
    color: var(--text);
}

.location-icon {
    width: 18px;
    height: 18px;
    fill: var(--primary);
    flex-shrink: 0;
}

.contact-icon {
    width: 20px;
    height: 20px;
    fill: var(--primary);
    margin-right: 8px;
    vertical-align: middle;
}

.btn-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    margin-right: 8px;
    vertical-align: middle;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.contact-details > div {
    padding: 16px;
    background: rgba(236, 72, 153, 0.04);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.contact-details strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.contact-details p {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-details p a {
    margin-top: 4px;
    display: inline-block;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(236, 72, 153, 0.08);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-details a:hover {
    color: var(--primary-dark);
    background: rgba(236, 72, 153, 0.15);
    transform: translateX(4px);
}

.contact-details a[href^="tel:"] {
    position: relative;
    padding-left: 40px;
}

.contact-details a[href^="tel:"]::before {
    content: '📞';
    position: absolute;
    left: 12px;
    font-size: 1.2rem;
}

.contact-details a[href^="mailto:"] {
    position: relative;
    padding-left: 40px;
}

.contact-details a[href^="mailto:"]::before {
    content: '✉️';
    position: absolute;
    left: 12px;
    font-size: 1.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: var(--pill-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.35);
}

.btn:active {
    transform: translateY(0);
}

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

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

.btn-secondary {
    background: var(--muted);
    color: var(--light);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.25);
}

.btn-secondary:hover {
    background: #4b5563;
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.35);
}

.contact-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.call-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 24px;
}

.call-button .phone-number {
    display: block;
    font-size: 0.85rem;
    margin-top: 6px;
    opacity: 0.9;
    font-weight: 500;
}

.property-detail .status-badge {
    left: auto;
    right: 24px;
    top: 24px;
}

/* Form Section Styling */
.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #f472b6);
    border-radius: 3px;
}

/* Form Container */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 50px rgba(236, 72, 153, 0.08);
    border: 1px solid rgba(236, 72, 153, 0.1);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(236, 72, 153, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: var(--text);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
    transform: translateY(-1px);
}

/* Form Labels */
label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    position: relative;
    padding-left: 10px;
    border-left: 3px solid var(--primary);
}

/* Form Sections */
.form-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(249, 250, 252, 0.6);
    padding: 1.8rem;
    border-radius: 14px;
    border: 1px solid rgba(236, 72, 153, 0.08);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(236, 72, 153, 0.15);
}

/* Form Dividers */
.form-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.2), transparent);
    margin: 2.5rem 0;
    border: none;
}

.form-divider::before {
    content: 'Additional Information';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 0 1.5rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* File Input Styling */
input[type="file"] {
    width: 100%;
    padding: 16px;
    border: 2px dashed rgba(236, 72, 153, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-align: center;
}

input[type="file"]:hover {
    background: rgba(236, 72, 153, 0.03);
    border-color: var(--primary);
}

input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 16px;
    background: var(--primary-light);
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

input[type="file"]::file-selector-button:hover {
    background: var(--primary);
    color: white;
}

/* Checkbox Styling */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Highlight Card (Featured Listing) */
.highlight-card {
    background: linear-gradient(145deg, #f5f7ff, #fce7f3);
    padding: 1.8rem;
    border-radius: 14px;
    margin: 2rem 0;
    border: 1px solid rgba(236, 72, 153, 0.15);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), #f472b6);
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.15);
}

.highlight-card label {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 1.2rem;
    cursor: pointer;
}

/* Featured Info Section */
#featured-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(236, 72, 153, 0.2);
    animation: fadeIn 0.4s ease-out;
}

#featured-info p {
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

#featured-info ul {
    margin: 1.2rem 0;
    padding-left: 1.8rem;
}

#featured-info li {
    margin-bottom: 0.6rem;
    color: var(--text);
    position: relative;
    padding-left: 1.8rem;
}

#featured-info li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0.5rem;
    font-size: 1.4em;
    line-height: 1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card {
        padding: 1.8rem 1.5rem;
    }
    
    .form-section {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .form-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .highlight-card {
        padding: 1.5rem;
    }
    
    .form-divider::before {
        font-size: 0.75rem;
        padding: 0 1rem;
    }
}

/* Form Element Animations */
form > * {
    animation: fadeIn 0.4s ease-out forwards;
    opacity: 0;
}

/* Staggered Animation Delays */
form > *:nth-child(1) { animation-delay: 0.1s; }
form > *:nth-child(2) { animation-delay: 0.2s; }
form > *:nth-child(3) { animation-delay: 0.3s; }
form > *:nth-child(4) { animation-delay: 0.4s; }
form > *:nth-child(5) { animation-delay: 0.5s; }
form > *:nth-child(6) { animation-delay: 0.6s; }
form > *:nth-child(7) { animation-delay: 0.7s; }
form > *:nth-child(8) { animation-delay: 0.8s; }
form > *:nth-child(9) { animation-delay: 0.9s; }
form > *:nth-child(10) { animation-delay: 1s; }

@media (max-width: 900px) {
    .top-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

/* Property Grid & Cards */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.property-card {
    border-radius: 14px !important;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.property-media {
    position: relative;
    padding-top: 60%; /* Slightly shorter aspect ratio */
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: #f8f9fa;
}

.property-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-media img {
    transform: scale(1.03);
}

.property-card .content {
    padding: 12px 16px 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Property Badges Container */
.property-badges {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    position: relative;
}

/* Base Badge Style */
.property-card .category,
.property-type-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    line-height: 1.1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    white-space: nowrap;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Category Badge - Match Sale Style with Black Border */
.property-card .category {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    border: 1px solid #000000 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    order: 1;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* Property Type Badge Base */
.property-type-badge {
    order: 2;
    margin-left: auto;
}

/* Rent Badge */
.property-type-badge[style*="#4CAF50"],
.property-type-badge[style*="#4caf50"] {
    background: linear-gradient(135deg, #38a169, #2f855a) !important;
}

/* Sale Badge */
.property-type-badge[style*="#2196F3"],
.property-type-badge[style*="#2196f3"] {
    background: linear-gradient(135deg, #3182ce, #2c5282) !important;
}

/* Hover Effects */
.property-card .category:hover,
.property-type-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

/* Hover effects */
.property-card .category:hover,
.property-type-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.property-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2px 0 1px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.2em;
    max-height: 2.6em;
}

.property-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 4px 0 6px;
    line-height: 1.1;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0;
    padding: 6px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.property-meta span {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: #4b5563;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 14px;
    gap: 3px;
    line-height: 1.1;
}

.property-meta svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.property-location {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
    padding-top: 6px;
    gap: 4px;
    line-height: 1.2;
}

.property-location svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Placeholder Image */
.placeholder-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #9ca3af;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .property-card {
        border-radius: 12px !important;
    }
    
    .property-card h3 {
        font-size: 1.15rem;
    }
    
    .property-card .price {
        font-size: 1.3rem;
    }
}

@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }
    
    .property-media {
        padding-top: 62%;
    }
}

@media (max-width: 768px) {
    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .property-card {
        border-radius: 12px !important;
    }
}

.vendor-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.vendor-listing-card {
    background: var(--light);
    border: 2px solid rgba(236, 72, 153, 0.15);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.08);
}

.vendor-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.15);
    border-color: rgba(236, 72, 153, 0.3);
}

.vendor-listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(236, 72, 153, 0.1);
}

.vendor-listing-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text);
    flex: 1;
}

.vendor-listing-info {
    margin-bottom: 20px;
}

.vendor-listing-info p {
    margin: 8px 0;
    color: var(--text);
    font-size: 0.95rem;
}

.vendor-listing-info strong {
    color: var(--primary-dark);
    margin-right: 8px;
}

.vendor-listing-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05), rgba(236, 72, 153, 0.02));
    border-radius: 12px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--light);
    border-radius: 10px;
    border: 1px solid rgba(236, 72, 153, 0.1);
}

.stat-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vendor-listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(236, 72, 153, 0.1);
}

.vendor-listing-footer small {
    color: var(--muted);
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    /* Base mobile styles */
    body {
        font-size: 15px;
    }
    
    .container {
        width: 95%;
    }
    
    .header-content {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .top-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 80px 20px 20px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 99;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
    }

    .top-nav.active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }

    .vendor-listings-grid {
        grid-template-columns: 1fr;
    }

    .vendor-listing-stats {
        grid-template-columns: 1fr;
    }

    .top-nav a {
        width: 100%;
        padding: 16px 20px;
        border-radius: 12px;
        background: rgba(236, 72, 153, 0.06);
        border: 1px solid rgba(236, 72, 153, 0.1);
        margin-bottom: 8px;
        text-align: center;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text);
    }

    .top-nav a:hover,
    .top-nav a:focus {
        background: rgba(236, 72, 153, 0.15);
        color: var(--primary);
        transform: translateX(4px);
    }

    .header-content {
        position: relative;
    }
}

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

    .hero {
        padding: 32px;
    }

    .form-section {
        grid-template-columns: 1fr;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Tablet and smaller devices */
    .hero {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .herform h1 {
        font-size: 2rem;
        margin: 0 auto 1.5rem;
    }
    
    .property-card {
        margin-bottom: 1.5rem;
    }
    
    .property-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .property-meta span {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000 !important;
    display: none;
    padding: 12px 10px;
    border-top: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translate3d(0, var(--keyboard-offset, 0), 0) !important;
    transition: transform 0.2s ease;
    margin: 0 !important;
    width: 100% !important;
    will-change: transform;
}

.mobile-bottom-nav.active {
    display: block;
}

.mobile-bottom-nav.keyboard-active {
    pointer-events: none;
}

.nav-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px 10px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.7rem;
    padding: 8px 10px;
    border-radius: 50%;
    transition: all 0.2s ease;
    border: 3px solid #f472b6;
    background: rgba(255, 255, 255, 0.9);
    min-width: 60px;
    height: 60px;
    width: 60px;
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.nav-item.add-listing {
    background: var(--primary);
    color: white;
    padding: 8px 10px;
    border-radius: 50%;
    margin: 0 5px;
    font-weight: 500;
    border: 3px solid #f472b6;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
    height: 60px;
    width: 60px;
}

.nav-item.add-listing i {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 4px;
}

.nav-item.add-listing span {
    font-weight: 600;
    color: white;
}

.nav-item:not(.add-listing):hover {
    color: var(--primary);
    border-color: #f472b6;
    background: var(--primary-light);
}

.nav-item:not(.add-listing):hover i {
    transform: translateY(-2px);
}

.nav-item.active {
    color: var(--primary);
    border-color: #f472b6;
    background: var(--primary-light);
}

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

@media (max-width: 768px) {
    /* Mobile devices */
    .mobile-bottom-nav {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    main.container {
        padding: 16px 8px 100px !important; /* Reduced horizontal padding for wider content */
        max-width: 100% !important;
        width: 100% !important;
    }
    
    :root {
        --card-radius: 16px;
    }
    
    body {
        font-size: 16px;
        line-height: 1.5;
        overflow-x: hidden;
    }

    .hero {
        padding: 20px 12px;
        gap: 16px;
        margin: 0 -8px 16px;
        border-radius: 0;
        width: calc(100% + 16px);
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .filters-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }
    
    /* Category field - full width */
    .filters-grid > div:nth-child(1) {
        flex: 0 0 100%;
    }
    
    /* Price filters in single row on mobile - side by side */
    .filters-grid > div:nth-child(2),
    .filters-grid > div:nth-child(3) {
        flex: 0 0 calc(50% - 7px);
    }
    
    /* Location and button - full width */
    .filters-grid > div:nth-child(4),
    .filters-grid > div:nth-child(5) {
        flex: 0 0 100%;
    }

    .card,
    .filters-card {
        padding: 18px 12px;
        border-radius: 16px;
        margin: 0 0 16px 0;
        width: 100%;
        max-width: 100%;
    }
    
    section.filters-card,
    section.card {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .form-actions {
        flex-direction: column;
    }

    .properties-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-top: 16px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .property-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .property-card .content {
        padding: 16px 12px;
    }

    .property-meta {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        margin: 12px 0 !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .property-meta::-webkit-scrollbar {
        display: none;
    }

    .property-meta span {
        flex: 0 0 auto !important;
        white-space: nowrap;
        padding: 4px 8px;
        background: rgba(236, 72, 153, 0.05);
        border-radius: 16px;
        font-size: 0.8rem !important;
    }
    
    .property-meta svg {
        width: 14px !important;
        height: 14px !important;
    }

    .property-detail {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .property-detail-media img,
    .property-detail .placeholder-image.large {
        max-height: 280px;
        border-radius: 12px;
    }
    
    /* Header optimizations */
    .site-header {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .header-content {
        padding: 12px 8px !important;
        width: 100% !important;
    }
    
    /* Form elements */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    select,
    textarea {
        width: 100% !important;
        padding: 0.7rem 0.9rem;
        font-size: 1rem;
        box-sizing: border-box;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 12px !important;
    }
    
    /* Muted text */
    .muted {
        font-size: 0.9rem !important;
    }
    
    /* Property images */
    .property-media {
        width: 100% !important;
    }
    
    .property-media img {
        width: 100% !important;
        height: auto !important;
        max-height: 250px !important;
        object-fit: cover;
    }
    
    /* Navigation */
    .top-nav {
        padding: 1rem;
    }
    
    /* Buttons */
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    /* Property cards */
    .property-card {
        border-radius: 12px;
        overflow: hidden;
    }
    
    .property-card .content {
        padding: 1rem;
    }
    
    /* Footer */
    footer {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    footer .container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn,
    .contact-actions .btn-secondary {
        width: 100%;
    }
}


