* { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; margin: 0; padding: 0; }
body { background-color: #f4f7f6; color: #1f2937; }

/* Forest Green Top Bar */
.main-header { background: #047857; color: #ffffff; padding: 1.2rem 2rem; }
.header-container { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.brand h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.tagline { font-size: 0.8rem; opacity: 0.85; font-style: italic; }

.nav-buttons { display: flex; gap: 0.5rem; }
.btn { text-decoration: none; padding: 0.5rem 1rem; border-radius: 6px; font-weight: 600; font-size: 0.85rem; display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; }
.btn-light-green { background: #ffffff; color: #047857; }
.btn-light-blue { background: #3b82f6; color: #ffffff; }

/* Hero Section */
.hero-section { background: #047857; color: #ffffff; padding: 2rem 1rem 4rem 1rem; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; text-align: left; }
.hero-content { max-width: 1100px; margin: 0 auto; }
.hero-content h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.3rem; }
.hero-content p { opacity: 0.9; margin-bottom: 1.5rem; font-size: 0.95rem; }

/* Search Filter Floating Card */
.search-box { background: #ffffff; color: #1f2937; padding: 1rem 1.2rem; border-radius: 10px; display: flex; gap: 1.5rem; align-items: center; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); flex-wrap: wrap; }
.filter-group { display: flex; flex-direction: column; gap: 0.3rem; }
.filter-group label { font-size: 0.7rem; font-weight: 700; color: #6b7280; letter-spacing: 0.5px; }
.filter-group select { padding: 0.5rem 1rem; border-radius: 6px; border: 1px solid #d1d5db; font-size: 0.9rem; background: #fff; outline: none; }

.toggle-pills { display: flex; background: #f3f4f6; padding: 3px; border-radius: 6px; gap: 2px; }
.pill { text-decoration: none; padding: 0.4rem 0.8rem; font-size: 0.8rem; color: #4b5563; border-radius: 4px; font-weight: 600; }
.pill-active { background: #ffffff; color: #047857; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }

/* Main Grid */
.container { max-width: 1100px; margin: -2rem auto 3rem auto; padding: 0 1rem; }
.feed-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.feed-header h3 { font-size: 1.1rem; color: #111827; }
.uppercase-city { text-transform: uppercase; color: #047857; }
.count-badge { font-size: 0.8rem; color: #6b7280; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.room-card { background: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.05); border: 1px solid #e5e7eb; display: flex; flex-direction: column; }

.card-image { position: relative; height: 180px; background: #e5e7eb; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; right: 10px; font-size: 0.7rem; padding: 3px 8px; border-radius: 4px; font-weight: 700; color: #fff; text-transform: uppercase; }
.badge-pg { background: #047857; }
.badge-flatmate { background: #2563eb; }

.card-content { padding: 1rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-content h4 { font-size: 1rem; font-weight: 700; color: #111827; }
.location-tag { font-size: 0.75rem; color: #6b7280; margin-top: 0.2rem; font-weight: 600; }
.price-tag { font-size: 1.2rem; font-weight: 800; color: #047857; margin: 0.5rem 0 0.2rem 0; }
.price-tag span { font-size: 0.75rem; font-weight: 500; color: #6b7280; }
.total-rent-note { font-size: 0.75rem; color: #6b7280; font-weight: normal; }
.card-desc { font-size: 0.8rem; color: #4b5563; margin-bottom: 1rem; line-height: 1.4; }

.card-actions { display: flex; gap: 0.5rem; margin-top: auto; }
.btn-secondary { background: #ecfdf5; color: #047857; flex: 2; }
.btn-primary-call { background: #047857; color: #ffffff; flex: 1; }
.no-results-card { background: #fff; padding: 3rem; text-align: center; border-radius: 8px; grid-column: 1 / -1; color: #6b7280; }