/* Import component-specific CSS files */
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 1.0625rem;
}
/* CSS Variables */
:root {
  --price-pill-text-color: #FFFFFF;
  --price-pill-bg: #10ac84;
}
/* Base Typography */
body {
  font-family: system-ui, -apple-system, sans-serif;
}
/* Global scrollbar hiding for gallery and details pages */
html, body, * {
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* Internet Explorer 10+ */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari and Opera */
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  display: none !important;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  display: none !important;
}
/* Status-based Price Pill Colors */
.status-canceled .price,
.status-hold .price {
  --price-pill-text-color: #EF4444;
  --price-pill-bg: #F3F4F6;
}
.status-pending .price,
.status-contingent .price {
  --price-pill-text-color: #FFFFFF;
  --price-pill-bg: #F59E0B;
}
.status-price-change .price {
  --price-pill-text-color: #FFFFFF;
  --price-pill-bg: #10ac84;
}
.status-closed .price {
  --price-pill-text-color: #FFFFFF;
  --price-pill-bg: #000000;
}
/* Base Button Reset */
button {
  background: none;
  border: none;
  cursor: pointer;
}
/* Property Component Styles */
/* Can be replaced with Tailwind: flex items-center justify-between */
.listing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 0rem 0rem 0rem;
  margin: 0 1rem 0rem 1rem;
}
/* Property Section - Consider migrating to Tailwind: mt-0 w-full */
.property-section {
  margin-top: 0;
  width: 100%;
}
/* Property Title - Can use Tailwind: text-base font-normal flex-1 */
.property-title {
  font-size: 1rem;
  font-weight: 400;
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}
/* Property Type - Tailwind: text-gray-500 font-normal ml-1 */
.property-type {
  color: #6B7280;
  font-weight: normal;
  margin-left: 0.25rem;
}
/* Property Location - Tailwind: flex gap-2 mb-4 */
.property-location {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
/* Location Item - Tailwind: font-normal text-gray-900 pl-0.5 */
.location-item {
  font-weight: 400;
  color: #111827;
  padding-left: 0.15rem;
}
/* Property Stats - Tailwind: flex gap-1.5 mt-0 items-baseline */
.property-stats {
  display: flex;
  gap: 0.25rem;
  margin-top: 0;
  align-items: baseline;
}
.property-stats > span:not(.stat-label) {
  font-weight: 600;
  font-size: 1rem;
}
/* Price Section - Tailwind: flex items-baseline gap-3 mt-2 */
.price-section {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin-top: .25rem;
}
/* Price - Uses CSS variables for dynamic theming */
.price {
  font-weight: 750;
  color: var(--price-pill-text-color);
  font-size: 1.6rem;
}
/* Price per sqft - Tailwind: text-gray-900 font-medium */
.price-sqft {
  color: #111827;
  font-weight: 500;
  align-self: flex-end;
}
/* Price Change - Tailwind: font-semibold ml-1 */
.price-change {
  font-weight: 600;
  margin-left: 0.25rem;
}
/* Property Feature Grid - Complex grid layout, keep as CSS */
.property-feature-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.5rem .5rem !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  justify-content: center;
  width: 100%;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 0.97rem;
  font-weight: 500;
  color: #222;
  text-align: left;
}
.feature-value {
  font-size: 1.02rem;
  font-weight: 700;
  color: #222;
  white-space: normal;
}
.feature-label {
  font-size: 0.85rem;
  font-weight: 400;
  color: #888;
  margin-top: 0.1rem;
  white-space: normal;
}
.feature-emoji {
  margin-right: 0.65rem;
  font-size: 1.375rem;
  flex-shrink: 0;
}
.feature-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.property-features-container {
  margin-bottom: 0.25rem;
}
/* Remarks - Tailwind: p-3 leading-relaxed m-0 w-full */
.remarks {
  padding: 0rem 0.75rem 0.5rem;
  line-height: 1.4;
  margin: 0;
  width: 100%;
}
.remarks p {
  color: #111827;
}
/* Responsive Property Styles */
@media (max-width: 1200px) {
  .property-section {
    width: calc(100% - 2rem);
    margin-left: 1rem;
  }
}
@media (min-width: 1200px) {
  .property-section {
    width: calc(100% - 2rem);
    margin-left: 1rem;
  }

  .property-title {
    font-size: 1rem;
  }
  
  .location-item {
    font-size: 1rem;
  }

  .feature-item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 0.97rem;
    font-weight: 500;
    color: #222;
    text-align: left;
  }
  
  .feature-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
  }
}
/* Image Gallery & Carousel Styles */
/* Main Image Container */
.image-container {
  position: relative;
  width: 100%;
  /* Default mobile-friendly height, will be overridden for desktop */
  height: calc(100vw * 0.667);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
}
/* Carousel Container - Essential for desktop layout */
.carousel-container {
  /* Mobile-first approach - auto height for mobile */
  height: auto;
  padding: 0;
  margin-bottom: 0;
}
.image-container .swiper {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.image-container .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* Ensure proper drag behavior */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.image-container .swiper-slide img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  /* Prevent image dragging conflicts */
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}
/* Blurred Background Effects */
.image-container .blurred-background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.image-container .blurred-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  z-index: 1;
  padding: 0;
  margin: 0;
  transform: scale(1.1);
  box-sizing: border-box;
}
.image-container .blurred-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .6);
  z-index: 2;
  pointer-events: none;
}
/* Swiper Navigation Buttons */
.image-container .swiper-button-next,
.image-container .swiper-button-prev {
  position: absolute;
  color: white;
  background-color: transparent;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 4px;
  z-index: 10;
}
.image-container .swiper-button-next {
  right: 1rem;
}
.image-container .swiper-button-prev {
  left: 1rem;
}
.image-container .swiper-button-next:after,
.image-container .swiper-button-prev:after {
  font-size: 1.25rem;
}
.image-container .swiper-button-next:hover,
.image-container .swiper-button-prev:hover {
  background-color: transparent;
  opacity: 0.8;
}
/* Global Swiper Button Styles */
.swiper-button-prev,
.swiper-button-next {
  background-color: rgba(0, 0, 0, .5);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}
.swiper-button-prev:after,
.swiper-button-next:after {
  font-weight: bold;
}
.swiper-button-prev {
  left: 10px;
}
.swiper-button-next {
  right: 10px;
}
/* Swiper Pagination */
.image-container .swiper-pagination {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  width: 2.75rem !important;
  height: 1.5rem !important;
  left: auto !important;
  right: .5rem;
  top: .5rem !important;
  bottom: auto !important;
  padding: 1rem 1rem;
  border-radius: 14px;
  color: white;
  z-index: 10;
}
.swiper-pagination {
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.swiper-pagination-fraction {
  font-size: 0.875rem;
  font-weight: 700;
  word-spacing: -0.2em;
  border-radius: 14px;
}
/* Map Button */
.map-button {
  position: absolute;
  bottom: .5rem;
  right: .5rem;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 10px;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
  z-index: 10;
}
.map-button:hover {
  opacity: 0.8;
  background-color: rgba(0, 0, 0, 0.7);
}
/* Gallery Modal */
.gallery-modal-content {
  height: 100vh;
  position: relative;
}
.sheet-container-rounded {
  border-top-left-radius: 24px !important;
  border-top-right-radius: 24px !important;
}
.gallery-scroll-container {
  height: 100%;
  overflow-y: auto;
}
.gallery-image-grid {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.gallery-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gallery-image {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: auto;
  position: static;
  display: block;
}
.gallery-close-button {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: background-color 0.2s ease;
}
.gallery-close-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.gallery-header {
  padding: 0.75rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  width: 100%;
  background-color: white;
  position: relative;
  z-index: 1;
}
.gallery-address {
  font-size: 1.25rem;
  font-weight: 500;
  color: #111827;
  line-height: 1.2;
  flex: 1;
  margin-right: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.gallery-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--price-pill-text-color);
  background-color: var(--price-pill-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  white-space: nowrap;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
/* No Photos State */
.no-photos-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.no-photos-text {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
}
/* Responsive Carousel Styles */
@media (max-width: 1199px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
  
  /* Mobile image container - consistent aspect ratio for all mobile views */
  .image-container {
    height: calc(100vw * 0.667) !important;
    min-height: auto;
  }

  .image-container .swiper-slide {
    height: 100%;
  }

  .image-container .swiper-slide img {
    min-width: 100%;
    min-height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  
  .image-container .swiper-pagination {
    padding: .05rem .3rem;
    border-radius: 10px;
  }
  
  .image-container .swiper-pagination * {
    font-size: .75rem;
  }

  /* Mobile carousel container - consistent for all mobile views */
  .carousel-container {
    height: auto !important;
    padding: 0;
    margin-bottom: 0;
  }
}
@media (min-width: 1200px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: flex !important;
  }

  /* Desktop image container - full height layout */
  .image-container {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .image-container img {
    -o-object-fit: cover;
       object-fit: cover;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    display: block;
  }

  /* Desktop carousel container - full viewport height */
  .carousel-container {
    height: calc(100vh - 4vh);
    padding: 0;
    margin-bottom: 0;
  }
  
  .image-container .swiper-pagination,
  .swiper-pagination {
    width: 2.75rem !important;
    height: 1.5rem !important;
    left: auto !important;
    right: .5rem;
    top: .5rem !important;
    bottom: auto !important;
    padding: 1rem 1rem;
    border-radius: 14px;
    color: white;
    z-index: 10;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Desktop agent listings page specific overrides */
  .agent-listings-page .carousel-container,
  .agent-listings-page .image-container {
    height: calc(100vh - 8vh) !important;
  }

  /* Agent listings page desktop swiper pagination fix */
  .agent-listings-page .swiper-pagination-fraction {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    width: 2.75rem !important;
    height: 1.5rem !important;
    left: auto !important;
    right: .5rem;
    top: .5rem !important;
    bottom: auto !important;
    padding: 1rem 1rem;
    border-radius: 14px;
    color: white;
    z-index: 10;
    font-size: 1rem;
    font-weight: 700;
  }
}
/* Desktop Swiper drag behavior improvements */
@media (min-width: 1200px) {
  .swiper {
    cursor: grab;
  }
  
  .swiper:active {
    cursor: grabbing;
  }
  
  .swiper-slide {
    cursor: grab;
  }
  
  .swiper-slide:active {
    cursor: grabbing;
  }
}
/* Agent Profile Component Styles */
/* Global box-sizing fix */
* {
  box-sizing: border-box;
}
/* Basic Agent Info */
.agent-info {
  padding: 0 0.75rem 0.75rem;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.agent-label {
  font-size: 0.85rem;
  color: #6B7280;
  margin-bottom: 1rem;
  margin-top: -1rem;
}
.agent-name {
  font-weight: 550;
  margin-bottom: -0.25rem;
  margin-top: -0.25rem;
}
.agent-company {
  font-size: 0.85rem;
  margin-top: -0.25rem;
}
.agents-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}
/* Agent Profile Header */
.agent-profile-header {
  position: relative;
  width: 100%;
  background-color: #ffffff;
}
.header-image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.header-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.profile-section {
  padding: 1.5rem;
  background-color: #ffffff;
}
.profile-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.profile-image-container {
  flex-shrink: 0;
}
.profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.profile-image-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #10ac84;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.office-name {
  font-size: 1rem;
  color: #6B7280;
  margin-bottom: 1rem;
  font-weight: 500;
}
.performance-stats {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.performance-label {
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 500;
}
.performance-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #10ac84;
}
/* Agent Bio Section */
.agent-bio {
  padding: 1.5rem;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
.bio-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}
.bio-text {
  margin-bottom: 1.5rem;
}
.bio-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 1rem;
}
.contact-info {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
}
.contact-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.contact-label {
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 500;
  min-width: 60px;
}
.contact-link {
  font-size: 0.875rem;
  color: #10ac84;
  text-decoration: none;
  font-weight: 500;
}
.contact-link:hover {
  text-decoration: underline;
}
.social-media {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
.social-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.social-link {
  font-size: 0.875rem;
  color: #10ac84;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.social-link:hover {
  text-decoration: underline;
}
/* Agent Listings Section */
.agent-listings {
  padding: 1.5rem;
  background-color: #ffffff;
}
.listings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.listings-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.view-all-button {
  font-size: 0.875rem;
  color: #10ac84;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid #10ac84;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.view-all-button:hover {
  background-color: #10ac84;
  color: #ffffff;
  text-decoration: none;
}
.no-listings {
  text-align: center;
  padding: 2rem;
  color: #6B7280;
}
/* ========================================
   Instagram-style Agent Profile Styles
   ======================================== */
/* Instagram Profile Layout */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px; /* Increased gap for more spacing */
  padding: 20px;
  min-height: 100vh;
}
.left-sidebar {
  flex: 0 0 320px; /* Reduced from 400px to move bio farther left */
  position: sticky;
  top: 20px;
  height: -moz-fit-content;
  height: fit-content;
}
.right-content {
  flex: 1;
  min-width: 0;
}
/* Profile Header Styles */
.instagram-profile-header {
  padding: 30px 16px 24px;
  max-width: 320px; /* Updated to match new sidebar width */
}
.profile-top-section {
  display: flex;
  margin-bottom: 24px;
  align-items: flex-start;
  gap: 30px;
  flex-direction: column;
}
.profile-image-wrapper {
  flex-shrink: 0;
  align-self: center;
}
.profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 3px solid #dbdbdb;
  background: #fafafa;
}
.profile-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  color: #8e8e8e;
  font-size: 48px;
  font-weight: 600;
}
.profile-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat-number {
  font-size: 18px;
  font-weight: 600;
  color: #262626;
  line-height: 1.2;
}
.stat-label {
  font-size: 14px;
  color: #8e8e8e;
  margin-top: 2px;
}
.profile-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.contact-button {
  background: #0095f6;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  max-width: 200px;
}
.contact-button:hover {
  background: #1877f2;
}
.profile-info {
  text-align: center;
  width: 100%;
}
.profile-name {
  font-size: 20px;
  font-weight: 400;
  color: #262626;
  margin: 0 0 4px 0;
  line-height: 1.2;
}
.profile-subtitle {
  font-size: 14px;
  color: #8e8e8e;
  margin: 0 0 8px 0;
  font-weight: 500;
}
.profile-bio {
  font-size: 14px;
  color: #262626;
  margin: 0;
  line-height: 1.4;
}
/* Instagram-style Bio */
.instagram-bio {
  padding: 0 16px 24px;
  max-width: 320px; /* Updated to match new sidebar width */
}
.bio-content p {
  font-size: 14px;
  color: #262626;
  line-height: 1.4;
  margin: 0 0 12px 0;
  text-align: left;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
/* Instagram-style Grid */
.instagram-grid {
  width: 100%;
}
.grid-nav {
  display: flex;
  justify-content: center;
  border-top: 1px solid #dbdbdb;
  margin-bottom: 0;
}
.nav-button {
  background: none;
  border: none;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #8e8e8e;
  cursor: pointer;
  border-top: 1px solid transparent;
  margin-top: -1px;
  letter-spacing: 1px;
  text-decoration: none;
}
.nav-button.active {
  color: #262626;
  border-top-color: #262626;
}
.nav-button.active svg {
  color: #262626;
}
.nav-icon {
  margin-right: 6px;
}
.grid-header {
  text-align: center;
  padding: 60px 20px;
  color: #8e8e8e;
}
.grid-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.no-posts-text {
  font-size: 14px;
  margin: 0;
}
/* Loading and Error States */
.loading-container,
.error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 2rem;
}
.loading {
  font-size: 1.125rem;
  color: #6B7280;
  font-weight: 500;
}
.error {
  font-size: 1.125rem;
  color: #ef4444;
  font-weight: 500;
}
/* Agent Profile Responsive Styles */
@media (max-width: 1200px) {
  .main-container {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .left-sidebar {
    flex: none;
    position: relative;
    top: auto;
    width: 100%;
    max-width: 100%;
  }

  .right-content {
    width: 100%;
    max-width: 100%;
  }

  .profile-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  
  .profile-image,
  .profile-image-placeholder {
    width: 100px;
    height: 100px;
  }
  
  .agent-name {
    font-size: 1.25rem;
  }
  
  .agent-profile-header,
  .agent-bio,
  .agent-listings {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .profile-top-section {
    flex-direction: row;
    gap: 16px;
    width: 100%;
  }

  .profile-image-wrapper {
    align-self: flex-start;
    flex-shrink: 0;
  }

  .profile-stats {
    justify-content: flex-start;
    gap: 30px;
    width: 100%;
  }

  .profile-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .profile-info {
    text-align: left;
    width: 100%;
  }

  .instagram-profile-header {
    max-width: 100%;
    padding: 24px 16px;
    width: 100%;
  }

  .instagram-bio {
    max-width: 100%;
    padding: 0 16px 24px;
    width: 100%;
  }

  .contact-button {
    max-width: 160px;
  }
}
@media (min-width: 1200px) {
  .agent-profile-header {
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .header-image-container {
    height: 300px;
  }
  
  .profile-section {
    flex: 1;
    display: flex;
    align-items: center;
  }
  
  .profile-content {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .main-container {
    padding: 12px;
    gap: 12px;
  }

  .profile-top-section {
    gap: 12px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-image-wrapper {
    align-self: center;
  }

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

  .profile-actions {
    justify-content: center;
  }

  .profile-stats {
    justify-content: center;
    gap: 20px;
  }

  .profile-avatar {
    width: 77px;
    height: 77px;
  }

  .profile-avatar-placeholder {
    font-size: 24px;
  }

  .stat-number {
    font-size: 16px;
  }

  .stat-label {
    font-size: 12px;
  }

  .instagram-profile-header {
    padding: 20px 12px;
  }

  .instagram-bio {
    padding: 0 12px 20px;
  }

  .agent-profile-header,
  .agent-bio,
  .agent-listings {
    padding: 0.75rem;
  }

  .contact-button {
    width: 100%;
    max-width: 200px;
  }
}
/* Listing Grid & Card Component Styles */
/* Basic Listings Grid */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.listing-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.listing-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.listing-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.listing-image-placeholder {
  width: 100%;
  height: 100%;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  font-size: 0.875rem;
}
.price-overlay {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
}
.listing-info {
  padding: 1rem;
}
.listing-address {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-location {
  font-size: 0.875rem;
  color: #6B7280;
  margin-bottom: 0.5rem;
}
.listing-details {
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
}
/* 2x2 Grid Layout */
.listings-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 100%;
}
.listings-grid-2x2-scrollable {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 100%;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.listings-grid-2x2-scrollable::-webkit-scrollbar {
  width: 6px;
}
.listings-grid-2x2-scrollable::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.listings-grid-2x2-scrollable::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}
.listings-grid-2x2-scrollable::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
.listing-card-2x2 {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  aspect-ratio: 1;
}
.listing-card-2x2:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.listing-image-container-2x2 {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.listing-image-2x2 {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.listing-image-placeholder-2x2 {
  width: 100%;
  height: 100%;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  font-size: 0.875rem;
}
.price-overlay-2x2 {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
}
.price-text-2x2 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}
/* Instagram-style Grid */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px; /* Increased from 3px to 28px for more spacing */
  margin-left: 0; /* Removed left margin to use full width */
}
.grid-item {
  aspect-ratio: 1;
  position: relative;
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.grid-image-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.grid-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.grid-image-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8e8e8e;
}
.placeholder-icon {
  font-size: 24px;
}
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  flex-direction: column;
  text-align: center;
  z-index: 2;
}
.grid-item:hover .grid-overlay {
  opacity: 1;
}
.grid-item:hover .grid-image {
  transform: scale(1.05);
}
.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.overlay-price {
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.overlay-details {
  font-size: 14px;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
/* Listings Feed Styles */
.listings-feed-header {
  padding: 1rem 1.5rem;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}
.listings-feed-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.back-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #10ac84;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  background-color: rgba(16, 172, 132, 0.1);
}
.back-button:hover {
  background-color: rgba(16, 172, 132, 0.2);
  text-decoration: none;
  color: #10ac84;
}
.back-arrow {
  font-size: 1.125rem;
  font-weight: 700;
}
.back-text {
  font-size: 0.875rem;
  font-weight: 600;
}
.agent-info-mini {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.agent-name-mini {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}
.listings-count {
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 500;
}
/* Feed Container */
.listings-feed-container {
  height: calc(100vh - 80px);
  background-color: #f9fafb;
}
.listings-swiper {
  height: 100%;
  width: 100%;
}
.listing-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  height: 100%;
}
.listing-card-feed {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  height: 100%;
  max-height: 600px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.listing-card-feed:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.listing-image-container-feed {
  position: relative;
  width: 100%;
  height: 60%;
  overflow: hidden;
}
.listing-image-feed {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.listing-image-placeholder-feed {
  width: 100%;
  height: 100%;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  font-size: 0.875rem;
}
.price-overlay-feed {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
}
.price-text-feed {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}
.listing-info-feed {
  padding: 1.5rem;
  height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.listing-address-feed {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-location-feed {
  font-size: 0.875rem;
  color: #6B7280;
  margin-bottom: 1rem;
}
.listing-details-feed {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.detail-item {
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
  background-color: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
/* Swiper Navigation for Listings */
.listings-swiper .swiper-button-next,
.listings-swiper .swiper-button-prev {
  color: #10ac84;
  background-color: rgba(255, 255, 255, 0.9);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.listings-swiper .swiper-button-next:hover,
.listings-swiper .swiper-button-prev:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.listings-swiper .swiper-button-next:after,
.listings-swiper .swiper-button-prev:after {
  font-size: 1.25rem;
  font-weight: bold;
}
.listings-swiper .swiper-pagination {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}
/* Vertical Feed Styles */
.listings-feed-container {
  height: 100vh;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}
.listings-swiper-vertical {
  height: 100vh !important;
  width: 100% !important;
  background-color: #ffffff;
}
.listings-swiper-vertical .swiper-wrapper {
  height: 100vh !important;
}
.listing-slide-vertical {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh !important;
  width: 100% !important;
  padding: 0;
  background-color: #ffffff;
}
.listing-card-feed-vertical {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  max-width: 100%;
  transition: transform 0.2s ease;
}
.listing-card-feed-vertical:hover {
  transform: none;
}
.listing-image-container-feed-vertical {
  position: relative;
  width: 100%;
  height: 70%;
  overflow: hidden;
}
.listing-image-feed-vertical {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.listing-image-placeholder-feed-vertical {
  width: 100%;
  height: 100%;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  font-size: 0.875rem;
}
.price-overlay-feed-vertical {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
}
.price-text-feed-vertical {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}
.listing-info-feed-vertical {
  padding: 1.5rem;
  height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #ffffff;
}
.listing-header-feed-vertical {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.listing-address-feed-vertical {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin: 0;
  margin-right: 1rem;
}
.share-button-feed {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
}
.share-button-feed:hover {
  background-color: rgba(16, 172, 132, 0.1);
  transform: scale(1.1);
}
.listing-location-feed-vertical {
  font-size: 1rem;
  color: #6B7280;
  margin-bottom: 1rem;
}
.listing-details-feed-vertical {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.detail-item-vertical {
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
  background-color: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
/* Vertical Feed Content */
.listing-content-feed-vertical {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  overflow-y: auto;
}
.listing-content-feed-vertical .listing-header {
  margin: 0 1rem 0rem 1rem;
  padding: 0rem 0rem 0rem 0rem;
  border-bottom: 1px solid #000000;
}
.listing-content-feed-vertical .property-section {
  width: calc(100% - 2rem);
  margin-left: 1rem;
  margin-right: 1rem;
}
.listing-content-feed-vertical .property-title {
  font-size: 1rem;
}
.listing-content-feed-vertical .location-item {
  font-size: 1rem;
}
.listing-content-feed-vertical .price {
  font-size: 1.25rem;
}
.listing-content-feed-vertical .price-sqft {
  font-size: 0.875rem;
}
.listing-content-feed-vertical .property-stats {
  font-size: 0.875rem;
}
.remarks-feed-vertical {
  padding: 0rem 0.75rem 0.5rem;
  line-height: 1.4;
  margin: 0;
  width: 100%;
}
.remarks-feed-vertical p {
  color: #111827;
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Responsive Listings Grid */
@media (max-width: 768px) {
  .listings-grid-2x2 {
    grid-template-columns: repeat(1, 1fr);
    gap: 0.75rem;
  }

  .price-overlay-2x2 {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
  }

  .price-text-2x2 {
    font-size: 0.75rem;
  }

  .listings-feed-header {
    padding: 12px 16px;
  }

  .agent-name-mini {
    font-size: 16px;
  }

  .listing-card-feed {
    border-radius: 8px;
  }

  .listing-image-container-feed {
    height: 180px;
  }

  .listing-info-feed {
    padding: 12px;
  }

  .listing-address-feed {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .price-overlay-feed {
    top: 8px;
    right: 8px;
    padding: 4px 8px;
  }

  .price-text-feed {
    font-size: 12px;
  }

  .listings-swiper .swiper-button-next,
  .listings-swiper .swiper-button-prev {
    display: none;
  }

  .listings-swiper .swiper-button-next:after,
  .listings-swiper .swiper-button-prev:after {
    font-size: 16px;
  }

  .listings-grid {
    gap: 16px; /* Maintain spacing on mobile */
  }
}
@media (min-width: 1200px) {
  .listings-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .listings-grid {
    gap: 32px; /* Even more spacing on larger screens */
  }

  .listings-feed-container {
    max-width: 800px;
  }

  .listing-card-feed {
    max-width: 100%;
    max-height: 600px;
  }

  .listing-image-container-feed {
    height: 60%;
  }

  .listing-info-feed {
    height: 40%;
    padding: 1.5rem;
  }

  .listing-address-feed {
    font-size: 1.125rem;
  }

  .listings-grid {
    gap: 32px; /* Consistent spacing */
  }
}
/* Lazy Loading Styles */
.grid-image-placeholder.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}
@keyframes loading-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.grid-image-placeholder.loading .placeholder-icon {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
/* Infinite Scroll Styles */
.load-more-container {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
}
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #6B7280;
}
.loading-spinner span {
  font-size: 0.875rem;
  font-weight: 500;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #f3f4f6;
  border-top: 3px solid #10ac84;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.load-more-trigger {
  height: 20px;
  width: 100%;
}
.error-message {
  padding: 1rem;
  text-align: center;
  color: #ef4444;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  margin: 1rem;
}
.error-message button {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-top: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}
.error-message button:hover:not(:disabled) {
  background-color: #dc2626;
}
.error-message button:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}
.end-message {
  padding: 2rem 1rem;
  text-align: center;
  color: #6B7280;
  font-size: 0.875rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 1rem;
}
/* Grid Item Inner Wrapper for Better Structure */
.grid-item-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
/* Loading Indicator for Feed Header */
.loading-indicator {
  color: #10ac84;
  font-size: 0.75rem;
  animation: pulse 2s infinite;
}
/* Layout & Utility Component Styles */
/* Bootstrap Grid System Overrides - Consider migrating to Tailwind Grid */
.container,
.container-fluid,
.row,
.col,
[class*="col-"] {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
}
/* Status Components */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.time {
  font-size: 1.5rem;
  font-weight: 600;
}
.status-pill {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.05rem 0.15rem;
  border-radius: .35rem;
  font-weight: 600;
  font-size: 0.75rem;
  color: #000;
}
.status-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.status-emoji {
  font-size: 1.375rem;
}
.status-active {
  font-weight: 600;
  margin-right: 0.25rem;
}
.status-dot {
  color: #000000;
  margin: 0 0.25rem;
}
.status-time {
  color: #000000;
  font-weight: 500;
}
.status-type {
  color: #6B7280;
  font-weight: 500;
}
.stat-label {
  color: #000000;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 500;
}
.stat-emoji {
  font-size: 1.25rem !important;
}
/* Scrollable Utilities */
.scrollable-stats {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scrollable-stats::-webkit-scrollbar {
  display: none;
}
/* Sticky Banner */
.sticky-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background-color: #000000;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 5vh;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  width: 100%;
  -webkit-text-size-adjust: 100%;
  transform: translateZ(0);
}
.sticky-banner-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
}
/* Main Layout Structure */
main.container-fluid {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: visible;
}
.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* Tuesday Logo & Tooltip */
.tuesday-logo-container {
  position: relative;
}
.tuesday-logo {
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.tuesday-logo:hover {
  opacity: 0.8;
}
.tuesday-tooltip {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  z-index: 1000;
  margin-top: 0.5rem;
  animation: fadeIn 0.2s ease-in-out;
}
.tuesday-tooltip::after {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 1rem;
  border: 4px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.8);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Swiper Pagination Utilities */
.swiper-pagination-vertical {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.swiper-pagination-vertical .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  margin: 0;
  transition: all 0.3s ease;
}
.swiper-pagination-vertical .swiper-pagination-bullet-active {
  background-color: #10ac84;
  transform: scale(1.2);
}
/* Agent Listings Page Specific Layout Overrides */
.listings-feed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 8vh;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.listings-feed-container {
  padding-top: 8vh;
  height: calc(100vh - 8vh);
  background: #fff;
  overflow: hidden;
}
.agent-listings-page .sticky-banner {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}
.agent-listings-page main.container-fluid {
  padding-bottom: 0 !important;
}
.agent-listings-page,
.agent-listings-page main.container-fluid,
.agent-listings-page .listings-feed-container,
.agent-listings-page .content-wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  height: 100%;
  box-sizing: border-box;
}
/* Override max-width constraint for agent listings page to use full width */
.agent-listings-page .listings-feed-container {
  max-width: none !important;
  width: 100% !important;
}
.listings-feed-header {
  font-size: 0.95rem;
  padding: 0 0.75rem;
  min-height: 0;
  line-height: 1.1;
}
.listings-feed-header-content {
  gap: 0.5rem;
}
.agent-info-mini {
  gap: 0.1rem;
}
.agent-name-mini {
  font-size: 1rem;
  font-weight: 600;
}
.listings-count {
  font-size: 0.8rem;
}
.back-button {
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  gap: 0.25rem;
}
.back-arrow {
  font-size: 1rem;
}
.back-text {
  font-size: 0.85rem;
}
.listings-feed-header {
  display: flex;
  align-items: center;
  justify-content: center;
}
.listings-feed-header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.agent-listings-page,
.agent-listings-page main.container-fluid,
.agent-listings-page .listings-feed-container,
.agent-listings-page .listings-swiper-vertical,
.agent-listings-page .swiper-wrapper {
  overscroll-behavior: none !important;
  -webkit-overflow-scrolling: auto !important;
}
.agent-listings-page .listings-swiper-vertical,
.agent-listings-page .listings-swiper-vertical .swiper-wrapper,
.agent-listings-page .listing-slide-vertical,
.agent-listings-page .listing-card-feed-vertical,
.agent-listings-page .content-wrapper {
  height: calc(100vh - 8vh) !important;
}
.agent-listings-page .swiper-pagination-vertical,
.agent-listings-page .swiper-pagination-bullets {
  display: none !important;
}
/* Responsive Layout Styles */
@media (max-width: 1200px) {
  .container,
  .container-fluid {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .content-wrapper {
    width: 100%;
  }

  main.container-fluid {
    padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
  }
}
@media (min-width: 1200px) {
  * {
    font-size: 1.125rem;
  }

  /* Text Container for desktop layout */
  .text-container {
    height: calc(100vh - 4vh);
    overflow-y: auto;
  }

  .container,
  .container-fluid {
    padding: 0 !important;
    margin: 0 !important;
  }

  .row {
    margin: 0;
    padding: 0;
  }

  .listing-header {
    padding: 1rem 2rem;
    margin: 0;
  }

  main.container-fluid {
    padding-bottom: 0;
  }
}
@media (max-width: 1200px) {
  .listings-feed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
  }
  
  .listings-feed-header-content {
    gap: 0.75rem;
  }
  
  .back-button {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .back-arrow {
    font-size: 1rem;
  }
  
  .back-text {
    font-size: 0.75rem;
  }
  
  .agent-name-mini {
    font-size: 1rem;
  }
  
  .listings-feed-container {
    height: 100vh;
    padding-top: 80px;
    background-color: #ffffff;
  }
  
  .listing-slide-vertical {
    height: calc(100vh - 80px);
    background-color: #ffffff;
  }
  
  .listing-card-feed-vertical {
    height: calc(100vh - 80px);
    background-color: #ffffff;
  }
  
  .listing-image-container-feed-vertical {
    height: 65%;
  }
  
  .listing-content-feed-vertical {
    height: 35%;
    padding: 1rem;
    background-color: #ffffff;
    overflow-y: auto;
  }
  
  .listing-address-feed-vertical {
    font-size: 1.125rem;
  }
  
  .price-overlay-feed-vertical {
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }
  
  .price-text-feed-vertical {
    font-size: 0.875rem;
  }
  
  .swiper-pagination-vertical {
    right: 0.5rem;
  }
  
  .swiper-pagination-vertical .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }

  .listing-content-feed-vertical .listing-header {
    margin: 0 0.75rem 0rem 0.75rem;
  }
  
  .listing-content-feed-vertical .property-section {
    width: calc(100% - 1.5rem);
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }
  
  .listing-content-feed-vertical .property-title {
    font-size: 0.875rem;
  }
  
  .listing-content-feed-vertical .location-item {
    font-size: 0.875rem;
  }
  
  .listing-content-feed-vertical .price {
    font-size: 1.125rem;
  }
  
  .listing-content-feed-vertical .price-sqft {
    font-size: 0.75rem;
  }
  
  .listing-content-feed-vertical .property-stats {
    font-size: 1.065rem;
  }
  
  .remarks-feed-vertical {
    padding: 0rem 0.5rem 0.5rem;
  }
  
  .remarks-feed-vertical p {
    font-size: 0.75rem;
  }
}
@media (min-width: 1200px) {
  .listings-feed-container {
    height: 100vh;
    background-color: #ffffff;
  }
  
  .listing-slide-vertical {
    height: 100vh;
    background-color: #ffffff;
  }
  
  .listing-card-feed-vertical {
    height: 100vh;
    background-color: #ffffff;
  }
  
  .listing-image-container-feed-vertical {
    height: 75%;
  }
  
  .listing-content-feed-vertical {
    height: 25%;
    padding: 2rem;
    background-color: #ffffff;
    overflow-y: auto;
  }
  
  .listing-address-feed-vertical {
    font-size: 1.5rem;
  }
  
  .listing-location-feed-vertical {
    font-size: 1.125rem;
  }

  .listing-content-feed-vertical .listing-header {
    margin: 0 1rem 0rem 1rem;
  }
  
  .listing-content-feed-vertical .property-section {
    width: calc(100% - 2rem);
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .listing-content-feed-vertical .property-title {
    font-size: 1rem;
  }
  
  .listing-content-feed-vertical .location-item {
    font-size: 1rem;
  }
  
  .listing-content-feed-vertical .price {
    font-size: 1.25rem;
  }
  
  .listing-content-feed-vertical .price-sqft {
    font-size: 0.875rem;
  }
  
  .listing-content-feed-vertical .property-stats {
    font-size: 0.875rem;
  }
  
  .remarks-feed-vertical {
    padding: 0rem 0.75rem 0.5rem;
  }
  
  .remarks-feed-vertical p {
    font-size: 0.875rem;
  }
}
/* 
 * CSS Organization Strategy:
 * 
 * 1. base.css - Global resets, CSS variables, Tailwind directives
 * 2. property.css - Property/listing detail components
 * 3. carousel.css - Image galleries, Swiper.js customizations
 * 4. agent.css - Agent profiles, Instagram-style layouts
 * 5. listings.css - Grid layouts, listing cards, feed components
 * 6. layout.css - Bootstrap overrides, sticky elements, status components
 * 
 * Migration Path:
 * - Keep complex component styles as CSS
 * - Gradually migrate simple utilities to Tailwind
 * - Use @apply directive for repetitive patterns
 * - Consider CSS Modules for component-specific styles
 */


