/* --- extracted style block 1 from Pages/Apartment/index.php --- */
    :root {
      --primary: #c62828;
      --secondary: #1565c0;
      --success: #10b981;
      --warning: #f59e0b;
      --danger: #ef4444;
      --whatsapp: #25D366;
      --call: #30A64A;
    }

    ::-webkit-scrollbar { display: none; }

    a { all: unset; cursor: pointer; }

    body {
      font-family: 'Nunito', sans-serif;
      background-color: #f8fafc;
      padding-bottom: 80px;
    }

    /* Header Styles */
    .site-header {
      background: #fff;
      border-bottom: 1px solid #eee;
      padding: 12px 20px;
      position: sticky;
      top: 0;
      z-index: 1001;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .brand {
      font-family: 'Montserrat';
      font-weight: 700;
      color: var(--primary);
      letter-spacing: 1px;
      font-size: 1.4rem;
    }
    .nav-icon { font-size: 1.2rem; color: #444; }
    .header-actions { display: flex; align-items: center; gap: 5px; }
    .header-icon-btn {
      background: transparent;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #555;
      transition: all 0.3s ease;
      position: relative;
    }
    .header-icon-btn:hover { background: #f5f5f5; color: var(--primary); }
    .btn-post-property {
      background: var(--primary);
      color: white;
      border-radius: 30px;
      padding: 8px 16px;
      font-weight: 700;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: all 0.3s ease;
      border: none;
    }
    .btn-post-property:hover { background: #8e0000; transform: translateY(-2px); }

    /* Search Bar */
    .search-container {
      padding: 12px 20px;
      background: #f1f4f6;
      border-bottom: 1px solid #e5e5e5;
    }
    .search-bar {
      background: white;
      border-radius: 50px;
      padding: 7px 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      border: 1px solid #e0e0e0;
      display: flex;
      align-items: center;
    }
    .search-input {
      border: none;
      outline: none;
      flex: 1;
      padding: 6px 0;
    }
    .location-filter {
      background: var(--primary);
      color: white;
      padding: 8px 12px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 600;
      margin-left: 10px;
      cursor: pointer;
    }

    /* Property list */
    .property-list-page {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
    }
    .property-filters { padding: 1.5rem 0; }
    .filter-title { font-weight: 700; color: #475569; margin-bottom: 12px; font-size: 14px; }
    .filter-options { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
    .filter-pill {
      background: white;
      border: 1px solid #e2e8f0;
      border-radius: 20px;
      padding: 8px 16px;
      font-size: 14px;
      color: #64748b;
      text-decoration: none;
      white-space: nowrap;
      transition: all 0.2s;
    }
    .filter-pill.active, .filter-pill:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }
    .property-listings {
      display: grid;
      gap: 1.5rem;
    }
    @media (min-width: 768px) { .property-listings { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1024px) { .property-listings { grid-template-columns: repeat(3, 1fr); } }

    .property-card {
      background: white;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 6px rgba(0,0,0,0.05);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      cursor: pointer;
      position: relative;
    }
    .property-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    .property-image {
      position: relative;
      overflow: hidden;
      height: 200px;
      background: #f5f5f5;
    }
    .property-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease, opacity 0.3s ease;
      opacity: 0;
    }
    .property-image img.loaded { opacity: 1; }
    .property-card:hover .property-image img { transform: scale(1.05); }
    .no-image-placeholder {
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
    }
    .property-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      background: var(--primary);
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      z-index: 2;
    }
    .property-content { padding: 1.25rem; }
    .property-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; gap: 0.5rem; }
    .property-price { font-weight: 700; color: #1f2937; font-size: 1.25rem; margin: 0; }
    .property-title { font-weight: 600; color: #111827; font-size: 1.1rem; margin-bottom: 0.5rem; }
    .property-address { color: #6b7280; font-size: 0.9rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
    .property-actions {
      position: absolute;
      top: 10px;
      right: 10px;
      display: flex;
      flex-direction: column;
      gap: 5px;
      z-index: 2;
    }
    .action-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: white;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      transition: all 0.2s ease;
      color: #64748b;
      font-size: 14px;
    }
    .action-btn:hover { transform: scale(1.1); background: #f8f9fa; }
    .action-btn.bookmark.active { color: var(--danger); }

    .property-features-flex {
      display: flex;
      gap: 12px;
      margin: 12px 0;
      flex-wrap: wrap;
    }
    .feature-item-flex {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      background: #f8f9fa;
      border-radius: 8px;
      font-size: 0.8rem;
    }
    .feature-icon-flex { color: #6b7280; font-size: 0.9rem; }
    .feature-text-flex { font-weight: 500; color: #374151; }

    .property-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid #e5e7eb;
    }
    .posted-by-compact {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1;
    }
    .user-avatar-compact {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 14px;
      font-weight: 600;
      flex-shrink: 0;
    }
    .user-info-compact { flex: 1; min-width: 0; }
    .user-name-compact {
      font-size: 0.8rem;
      font-weight: 500;
      color: #374151;
      display: flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .user-type-compact {
      font-size: 0.7rem;
      color: #6b7280;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .contact-actions-compact {
      display: flex;
      gap: 6px;
      flex-shrink: 0;
    }
    .contact-btn-compact {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      transition: all 0.2s ease;
      text-decoration: none;
      cursor: pointer;
    }
    .contact-btn-compact.whatsapp { background: var(--whatsapp); color: white; }
    .contact-btn-compact.whatsapp:hover { background: #128C7E; transform: scale(1.05); }
    .contact-btn-compact.call { background: var(--call); color: white; }
    .contact-btn-compact.call:hover { background: #30A64A; transform: scale(1.05); }

    .verified-badge { color: var(--success); font-size: 0.7rem; }
    .listing-date { font-size: 0.7rem; color: #9ca3af; }
    .furnishing-badge {
      font-size: 0.7rem;
      padding: 0.2rem 0.5rem;
      border-radius: 0.25rem;
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      white-space: nowrap;
    }
    .furnishing-success { background-color: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
    .furnishing-warning { background-color: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
    .bhk-badge { background: #f3e8ff; color: #7c3aed; border: 1px solid #ddd6fe; }

    .empty-state {
      grid-column: 1 / -1;
      text-align: center;
      padding: 3rem 1rem;
    }

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