:root{
  --bg: #fff;
  --text: #0f2e1c;
  --muted: #5a886b;
  --brand: #1f7a4b; /* deep green for parks/nature theme */
  --brand-600: #2c8f5a;
  --surface: #f3f9f5;
  --card: #ffffff;
  --border: #e0f0e6;
  --radius: 14px;
  --shadow: 0 4px 12px rgba(10, 60, 30, 0.08);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
}

/* Header */
.app-header{
  position:sticky;top:0;z-index:20;
  background:var(--brand);
  padding-bottom:0;
  overflow:hidden;
}

.app-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  height: 60px;
  background: var(--brand);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.5);
  z-index: 15;
}

.searchbar{
  display:flex;align-items:center;gap:8px;
  background:#e7f8ee;border-radius:26px;
  margin: 8px 12px 16px; padding:10px 12px;
  box-shadow:var(--shadow);
  position: relative;
  z-index: 25;
}
.searchbar input{flex:1;border:none;outline:none;background:transparent;font-size:16px}
.icon-btn{background:transparent;border:none;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;transition:all 0.2s ease;}
.icon-btn:hover{background-color:rgba(31, 122, 75, 0.1);transform:scale(1.05);box-shadow:0 2px 8px rgba(31, 122, 75, 0.15);}
.material-icons{font-size:20px;line-height:1}

/* Layout */
.app-main{padding:16px 12px;}
.app-main.details-active{padding:0;}
.view{display:none}
.view.active{display:block}
.section-header{display:flex;align-items:center;justify-content:space-between;padding:8px 4px}
.filter-btn{background:rgba(31, 122, 75, 0.08);border:1px solid rgba(31, 122, 75, 0.2);color:var(--brand);font-weight:600;cursor:pointer;margin-left:8px;display:flex;align-items:center;gap:4px;padding:8px 12px;border-radius:8px;transition:all 0.2s ease;box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);}
.filter-btn:hover{background:rgba(31, 122, 75, 0.12);border-color:var(--brand);transform:translateY(-1px);box-shadow:0 2px 6px rgba(31, 122, 75, 0.2);}
.filter-btn .material-icons{font-size:18px;}

.section-header .left-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-filter, .suburb-select{
  padding:8px 12px;
  border-radius:8px;
  border:1px solid rgba(31, 122, 75, 0.3);
  background-color:white;
  color:var(--brand);
  font-size:14px;
  font-weight:500;
  cursor:pointer;
  outline:none;
  transition:all 0.2s ease;
  box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);
}

.location-filter:hover, .suburb-select:hover {
  border-color:var(--brand);
  box-shadow:0 2px 6px rgba(31, 122, 75, 0.15);
}

/* Controls Container */
.controls-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 12px 16px;
  gap: 12px;
}

/* Segment Control */
.segment-control {
  display: flex;
  background: rgba(31, 122, 75, 0.08);
  border: 1px solid rgba(31, 122, 75, 0.15);
  border-radius: 8px;
  padding: 2px;
}

.segment-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 60px;
}

.segment-btn:hover {
  background: rgba(31, 122, 75, 0.12);
}

.segment-btn.active {
  background: var(--brand);
  color: white;
  box-shadow: 0 1px 3px rgba(31, 122, 75, 0.3);
}

/* Filter Button */
.filter-btn {
  background: rgba(31, 122, 75, 0.08);
  border: 1px solid rgba(31, 122, 75, 0.15);
  border-radius: 8px;
  color: var(--brand);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin-bottom: 16px;
  min-width: 60px;
}

.filter-btn:hover {
  background: rgba(31, 122, 75, 0.12);
}

.filter-btn .material-icons {
  font-size: 18px;
}

/* Home Tab Styles */
.home-welcome {
  text-align: center;
  padding: 24px 16px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  color: white;
  margin: -16px -16px 24px -16px;
  border-radius: 0 0 20px 20px;
}

.home-welcome h1 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

.home-welcome p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

.home-filters {
  padding: 0 16px;
  margin-bottom: 24px;
}

.home-filters h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.content-type-filters {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.content-type-btn {
  flex: 1;
  background: rgba(31, 122, 75, 0.08);
  border: 1px solid rgba(31, 122, 75, 0.2);
  color: var(--brand);
  padding: 12px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}

.content-type-btn:hover {
  background: rgba(31, 122, 75, 0.12);
  transform: translateY(-1px);
}

.content-type-btn.active {
  background: var(--brand);
  color: white;
  box-shadow: 0 2px 8px rgba(31, 122, 75, 0.3);
}

.content-type-btn .material-icons {
  font-size: 20px;
}

.feature-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(31, 122, 75, 0.08);
  border: 1px solid rgba(31, 122, 75, 0.2);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.filter-checkbox:hover {
  background: rgba(31, 122, 75, 0.12);
  transform: translateY(-1px);
}

.filter-checkbox:has(input[type="checkbox"]:checked):hover {
  background: #1a6b42;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 122, 75, 0.4);
}

.filter-checkbox input[type="checkbox"] {
  display: none;
}

.filter-checkbox input[type="checkbox"]:checked + .material-icons {
  color: white;
}

.filter-checkbox input[type="checkbox"]:checked ~ * {
  color: white;
}

.filter-checkbox input[type="checkbox"]:checked {
  background: var(--brand);
}

.filter-checkbox:has(input[type="checkbox"]:checked) {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(31, 122, 75, 0.3);
}

.filter-checkbox .material-icons {
  font-size: 18px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.event-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.event-filter-select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(31, 122, 75, 0.3);
  background-color: white;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}

.date-input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(31, 122, 75, 0.3);
  background-color: white;
  color: var(--text);
  font-size: 14px;
  margin-top: 8px;
  width: 100%;
  cursor: pointer;
}

.date-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(31, 122, 75, 0.2);
}

.date-range-inputs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.date-range-inputs .date-input {
  margin-top: 0;
  flex: 1;
}

.cost-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.cost-filter-section {
  margin-top: 12px;
}

.cost-filter-section label {
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 8px;
  display: block;
}

.location-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* Radio button styling for location filters */
.filter-checkbox input[type="radio"] {
  display: none;
}

.filter-checkbox input[type="radio"]:checked + .material-icons {
  color: white;
}

.filter-checkbox input[type="radio"]:checked ~ * {
  color: white;
}

.filter-checkbox:has(input[type="radio"]:checked) {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(31, 122, 75, 0.3);
}

.filter-checkbox:has(input[type="radio"]:checked):hover {
  background: #1a6b42;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 122, 75, 0.4);
}

.home-actions {
  padding: 0 16px;
  margin-bottom: 24px;
}

.search-action-btn {
  width: 100%;
  background: var(--brand);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(31, 122, 75, 0.3);
}

.search-action-btn:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 122, 75, 0.4);
}

.home-featured {
  padding: 0 16px;
}

.home-featured h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.featured-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 60, 30, 0.12);
}

.featured-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.featured-card-header .material-icons {
  color: var(--brand);
  font-size: 20px;
}

.featured-card-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.featured-card-location,
.featured-card-date {
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0;
}

.featured-card-features {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.feature-tag {
  background: rgba(31, 122, 75, 0.1);
  border-radius: 6px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
}

.feature-tag .material-icons {
  font-size: 16px;
  color: var(--brand);
}

.loading, .error, .no-results {
  text-align: center;
  padding: 20px;
  color: var(--muted);
  font-style: italic;
}

.location-filter:focus, .suburb-select:focus {
  border-color:var(--brand);
  box-shadow:0 0 0 3px rgba(31, 122, 75, 0.1);
}

/* Cards */
.card-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow);cursor:pointer;transition:transform 0.2s ease;position:relative}
.card:hover{transform:translateY(-2px)}
.card:hover .card-arrow{opacity:1;transform:translateY(-50%) translateX(2px);}
.card h3{margin:0 0 4px;font-size:18px;font-weight:600;color:var(--text);line-height:1.3}
.card .meta{color:var(--muted);font-size:14px;margin:0;line-height:1.4}
.card .row{display:flex;align-items:center;margin-top:10px}
.card-save-btn{position:absolute;left:12px;top:50%;transform:translateY(-50%);background:rgba(255, 255, 255, 0.9);border:1px solid rgba(31, 122, 75, 0.2);cursor:pointer;color:var(--brand);padding:4px;border-radius:50%;display:flex;align-items:center;justify-content:center;width:32px;height:32px;transition:all 0.2s ease;box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);}
.card-save-btn .material-icons{font-size:24px}
.card-save-btn:hover{background:rgba(31, 122, 75, 0.1);border-color:var(--brand);transform:translateY(-50%) scale(1.05);box-shadow:0 2px 6px rgba(31, 122, 75, 0.2);}
.card-arrow{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--brand);opacity:0.7;transition:all 0.2s ease;font-size:24px}
.btn{border:none;border-radius:8px;padding:10px 16px;cursor:pointer;font-weight:600;transition:all 0.2s ease;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);}
.btn:hover{transform:translateY(-1px);box-shadow:0 4px 8px rgba(0, 0, 0, 0.15);}
.btn-primary{background:var(--brand);color:#fff;border:1px solid var(--brand);}
.btn-primary:hover{background:#2b7a5a;border-color:#2b7a5a;box-shadow:0 4px 12px rgba(31, 122, 75, 0.3);}
.btn-secondary{background:#ffffff;color:var(--brand);border:1px solid rgba(31, 122, 75, 0.3);}
.btn-secondary:hover{background:#f8f9fa;border-color:var(--brand);box-shadow:0 4px 8px rgba(31, 122, 75, 0.15);}

/* Modern filter button styling */
.sheet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 20px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  gap: 12px;
}

.sheet-footer .btn-secondary,
.sheet-footer .btn-primary {
  flex: 1;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}

.sheet-footer .btn-secondary {
  background: #ffffff;
  color: var(--brand);
  border: 2px solid #e9ecef;
}

.sheet-footer .btn-secondary:hover {
  background: #f8f9fa;
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.sheet-footer .btn-primary {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
}

.sheet-footer .btn-primary:hover {
  background: #2b7a5a;
  border-color: #2b7a5a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 122, 75, 0.3);
}

/* Top navigation moved into header */
.tabbar{
  background:transparent;
  color:#fff;
  display:flex;justify-content:space-around;align-items:center;
  padding:12px 12px 8px;
}
.tabbar .tab{color:#fff;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 10px;border-radius:12px}
.tabbar .tab.active{background:rgba(255,255,255,.16)}

.map{height:60vh;border-radius:16px;border:1px solid var(--border);overflow:hidden}

/* Sheets / Modals */
.sheet{width:min(720px,100%);max-height:85vh;border:none;border-radius:16px;padding:0}
.sheet::backdrop{background:rgba(0,0,0,.4)}
.sheet-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px}
.sheet-body{padding:0 16px 16px}
.sheet fieldset{border:1px solid var(--border);border-radius:12px;margin:12px 0;padding:8px 12px}

/* Modal Location Filters */
.sheet .location-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.sheet .suburb-select {
  margin-top: 8px;
  width: 100%;
}

/* Event Filters */
.event-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.date-filter, .event-type, .event-cost, .age-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.date-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.date-inputs-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.date-inputs input[type="date"],
.date-picker-container input[type="date"] {
  flex: 1;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.date-picker-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

select {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background-color: white;
}

.modal{width:min(720px,96%);border:none;border-radius:16px;padding:0;max-height:90vh;overflow-y:auto}
.modal::backdrop{background:rgba(0,0,0,.5)}

/* Park and Event Details */
.event-card {
  transition: transform 0.2s ease;
  cursor: pointer;
}
.event-card:hover {
  transform: translateY(-2px);
}
.facilities-icon {
  padding: 8px;
  border-radius: 8px;
  color: white;
  margin-right: 8px;
}

/* Details View */
.details-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: var(--brand);
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.details-title-container {
  flex: 1;
  margin: 0 16px;
  text-align: center;
}

.details-title {
  font-size: 20px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.back-btn, .save-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.back-btn:hover, .save-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#details-content {
  padding: 16px;
  overflow-y: auto;
}

.location-info {
  margin-bottom: 24px;
}

.facility-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.action-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.detail-section {
  margin-bottom: 20px;
}

.description-top {
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.detail-section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--brand);
}

.btn-booking {
  background: linear-gradient(135deg, var(--brand), #2b7a5a);
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 16px;
  box-shadow: 0 4px 12px rgba(31, 122, 75, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-booking::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-booking:hover::before {
  left: 100%;
}

.btn-booking:hover {
  background: linear-gradient(135deg, #2b7a5a, #1f5a3b);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 122, 75, 0.4);
}

/* Interest section styling */
.interest-section {
  background-color: #f5fff8;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  margin-top: 24px;
  border: 1px solid #e0f0e6;
}

.interest-question {
  margin-top: 16px;
}

.interest-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Map popup styling */
.leaflet-popup-content {
  margin: 10px;
}

.map-popup button {
  margin-top: 5px;
  cursor: pointer;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.map-popup button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.facility-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-right: 12px;
}

.detail-section {
  margin-bottom: 24px;
}

.detail-section-title {
  font-size: 18px;
  margin: 0 0 12px 0;
  font-weight: 600;
}

.action-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

/* Saved filter toggle styles */
.saved-filter-toggle {
  padding: 0;
  margin-bottom: 16px;
}

.segment-control {
  display: flex;
  background-color: #e6ffe6;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 16px;
  width: 100%;
  height: 56px;
  padding: 4px;
  position: relative;
}

.segment-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--brand);
  padding: 16px 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  border-radius: 20px;
  margin: 0 2px;
}

.segment-btn.active {
  color: var(--brand);
  font-weight: 600;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Compact filter toggle for inline layout */
.saved-filter-toggle-compact {
  margin: 0;
}

/* Small facility icons for park lists */
.facility-icon-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.facilities-list {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.segment-control-compact {
  display: flex;
  background-color: #b8d4b8;
  border-radius: 16px;
  overflow: hidden;
  height: 32px;
  padding: 2px;
  position: relative;
  min-width: 140px;
}

.segment-btn-compact {
  flex: 1;
  background: none;
  border: none;
  color: var(--brand);
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  border-radius: 14px;
  margin: 0 1px;
}

.segment-btn-compact.active {
  color: var(--brand);
  font-weight: 600;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Profile section cards with light background */
.profile-section-card {
  background-color: #e6ffe6 !important;
  border: #64d191 3px solid !important;
}

/* Saved items list - horizontal scrolling with vertical card design */
.saved-items-list {
  padding: 0 16px 16px;
}

.horizontal-scroll-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.horizontal-scroll-container::-webkit-scrollbar {
  height: 4px;
}

.horizontal-scroll-container::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 2px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 2px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

.horizontal-saved-card {
  min-width: 280px;
  max-width: 280px;
  background: white;
  border: 3px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.horizontal-saved-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.horizontal-saved-card .card-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--brand) !important;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.horizontal-saved-card .card-arrow:hover {
  background-color: var(--bg);
}

.empty-saved {
  text-align: center;
  padding: 24px 16px;
}

/* Styled Remove Button for Saved Items */
.remove-btn {
  background-color: #e6ffe6;
  color: var(--brand);
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.remove-btn:hover {
  background-color: #e6d9f7;
}

/* Desktop adjustments */
@media (min-width: 900px){
  .app-main{padding-bottom:24px}
  .map{height:70vh}
}
