/* /Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-v8q5m4zhkd] {
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  background-color: var(--color-bg);
  position: relative;
}

.app-content[b-v8q5m4zhkd] {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 64px; /* height of bottom nav */
}
/* /Pages/AdDetail.razor.rz.scp.css */
.detail-page[b-90cs3fdv0w] {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.photo-carousel[b-90cs3fdv0w] {
  position: relative;
  aspect-ratio: 4/3;
  background-color: var(--color-bg);
  margin: -8px -16px 0;
  overflow: hidden;
}

.carousel-img[b-90cs3fdv0w] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn[b-90cs3fdv0w] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn--prev[b-90cs3fdv0w] { left: 8px; }
.carousel-btn--next[b-90cs3fdv0w] { right: 8px; }

.carousel-dots[b-90cs3fdv0w] {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}

.carousel-dots .dot[b-90cs3fdv0w] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.carousel-dots .dot--active[b-90cs3fdv0w] { background: white; }

.detail-body[b-90cs3fdv0w] {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.detail-header[b-90cs3fdv0w] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.availability-label[b-90cs3fdv0w] {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.avail--yes[b-90cs3fdv0w] { background-color: var(--color-badge-bg); color: var(--color-badge-text); }
.avail--no[b-90cs3fdv0w] { background-color: #fee2e2; color: #991b1b; }

.detail-title[b-90cs3fdv0w] {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.detail-description[b-90cs3fdv0w] {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.detail-meta[b-90cs3fdv0w] {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.detail-meta svg[b-90cs3fdv0w] {
  width: 14px;
  height: 14px;
}

.detail-action[b-90cs3fdv0w] {
  padding: 16px 0 8px;
}

.requests-section[b-90cs3fdv0w] { display: flex; flex-direction: column; gap: 8px; }

.requests-heading[b-90cs3fdv0w] { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }

.request-row[b-90cs3fdv0w] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: var(--color-bg);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.request-name[b-90cs3fdv0w] { font-weight: 600; font-size: 0.9rem; margin: 0; }
.request-message[b-90cs3fdv0w] { font-size: 0.8rem; color: var(--color-muted); margin: 2px 0; }

.request-actions[b-90cs3fdv0w] { display: flex; gap: 6px; }

.status-badge[b-90cs3fdv0w] { font-size: 0.7rem; padding: 2px 8px; border-radius: 20px; font-weight: 600; }
.status--pending[b-90cs3fdv0w] { background: #fef3c7; color: #92400e; }
.status--accepted[b-90cs3fdv0w] { background: var(--color-badge-bg); color: var(--color-badge-text); }
.status--declined[b-90cs3fdv0w] { background: #fee2e2; color: #991b1b; }

.action-message[b-90cs3fdv0w] { text-align: center; font-size: 0.85rem; color: var(--color-accent); margin-top: 8px; }
/* /Pages/Home.razor.rz.scp.css */
.browse-page[b-qkqvtk7xtj] {
  min-height: 100%;
  background-color: var(--color-bg);
}

.offline-banner[b-qkqvtk7xtj] {
  background-color: #fef3c7;
  color: #92400e;
  text-align: center;
  font-size: 0.8rem;
  padding: 6px 16px;
}

.browse-loading[b-qkqvtk7xtj] {
  display: flex;
  justify-content: center;
  padding: 48px 0;
}

.browse-empty[b-qkqvtk7xtj] {
  text-align: center;
  padding: 48px 16px;
  color: var(--color-muted);
}

.ad-grid[b-qkqvtk7xtj] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
}
/* /Pages/Login.razor.rz.scp.css */
.login-page[b-haoamlfzle] {
  display: flex;
  flex-direction: column;
  padding: 48px 24px 24px;
  min-height: calc(100vh - 64px);
}

.login-header[b-haoamlfzle] {
  text-align: center;
  margin-bottom: 40px;
}

.login-title[b-haoamlfzle] {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.login-subtitle[b-haoamlfzle] {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.login-tabs[b-haoamlfzle] {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 24px;
}

.tab-btn[b-haoamlfzle] {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 10px 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.tab-btn--active[b-haoamlfzle] {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  font-weight: 600;
}

.login-form[b-haoamlfzle] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* /Pages/MyAds.razor.rz.scp.css */
.myads-page[b-10bo24ydkj] {
  padding: 24px 16px;
}

.myads-header[b-10bo24ydkj] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.myads-title[b-10bo24ydkj] {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.myads-actions[b-10bo24ydkj] {
  display: flex;
  gap: 8px;
  align-items: center;
}

.myads-loading[b-10bo24ydkj], .myads-empty[b-10bo24ydkj] {
  text-align: center;
  padding: 48px 16px;
  color: var(--color-muted);
}

.myads-list[b-10bo24ydkj] {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.myad-item[b-10bo24ydkj] {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.myad-row[b-10bo24ydkj] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
}

.myad-title[b-10bo24ydkj] {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 4px;
}

.status-badge[b-10bo24ydkj] {
  font-size: 0.7rem;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.status--available[b-10bo24ydkj] { background-color: var(--color-badge-bg); color: var(--color-badge-text); }
.status--unavailable[b-10bo24ydkj] { background: #fee2e2; color: #991b1b; }
.status--pending[b-10bo24ydkj] { background: #fef3c7; color: #92400e; }
.status--accepted[b-10bo24ydkj] { background: var(--color-badge-bg); color: var(--color-badge-text); }
.status--declined[b-10bo24ydkj] { background: #fee2e2; color: #991b1b; }

.myad-controls[b-10bo24ydkj] {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-wrap[b-10bo24ydkj] { display: flex; align-items: center; cursor: pointer; }
.toggle-wrap input[b-10bo24ydkj] { display: none; }

.toggle-track[b-10bo24ydkj] {
  width: 38px;
  height: 20px;
  border-radius: 10px;
  background-color: var(--color-border);
  position: relative;
  transition: background-color 0.2s;
}
.toggle-track[b-10bo24ydkj]::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s;
}
.toggle-wrap input:checked + .toggle-track[b-10bo24ydkj] { background-color: var(--color-accent); }
.toggle-wrap input:checked + .toggle-track[b-10bo24ydkj]::after { transform: translateX(18px); }

.chevron[b-10bo24ydkj] { width: 18px; height: 18px; color: var(--color-muted); transition: transform 0.2s; }
.chevron--up[b-10bo24ydkj] { transform: rotate(180deg); }

.myad-requests[b-10bo24ydkj] {
  padding: 4px 16px 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.request-row[b-10bo24ydkj] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: var(--color-bg);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.request-name[b-10bo24ydkj] { font-weight: 600; font-size: 0.9rem; margin: 0; }
.request-message[b-10bo24ydkj] { font-size: 0.8rem; color: var(--color-muted); margin: 2px 0; }
.request-actions[b-10bo24ydkj] { display: flex; gap: 6px; }
/* /Pages/PlaceAd.razor.rz.scp.css */
.place-ad[b-jo8w9r2k2w] {
  padding-top: 8px;
}

.sheet-title-row[b-jo8w9r2k2w] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sheet-title[b-jo8w9r2k2w] {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.place-form[b-jo8w9r2k2w] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.photo-upload-row[b-jo8w9r2k2w] {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.photo-upload-btn[b-jo8w9r2k2w] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 80px;
  height: 80px;
  border: 2px dashed var(--color-border);
  border-radius: 10px;
  color: var(--color-muted);
  font-size: 0.7rem;
  cursor: pointer;
  text-align: center;
}

.photo-upload-btn svg[b-jo8w9r2k2w] {
  width: 24px;
  height: 24px;
}

.photo-preview[b-jo8w9r2k2w] {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--color-border);
}

.location-row[b-jo8w9r2k2w] {
  display: flex;
  gap: 8px;
}

.location-row .form-control[b-jo8w9r2k2w] {
  flex: 1;
}

[b-jo8w9r2k2w] .theme-toggle {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  align-items: center;
}

[b-jo8w9r2k2w] .theme-toggle svg {
  width: 18px;
  height: 18px;
}
/* /Shared/AdCard.razor.rz.scp.css */
.ad-card[b-8uuaxmqt1t] {
  background-color: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.ad-card:active[b-8uuaxmqt1t] {
  transform: scale(0.97);
}

.ad-card-image[b-8uuaxmqt1t] {
  position: relative;
  aspect-ratio: 4/3;
  background-color: var(--color-bg);
}

.ad-card-image img[b-8uuaxmqt1t] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-card-no-image[b-8uuaxmqt1t] {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-border);
}

.ad-card-no-image svg[b-8uuaxmqt1t] {
  width: 40px;
  height: 40px;
}

.availability-dot[b-8uuaxmqt1t] {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
}

.dot--available[b-8uuaxmqt1t] { background-color: var(--color-accent); }
.dot--unavailable[b-8uuaxmqt1t] { background-color: #9ca3af; }

.ad-card-body[b-8uuaxmqt1t] {
  padding: 10px;
}

.category-badge[b-8uuaxmqt1t] {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background-color: var(--color-badge-bg);
  color: var(--color-badge-text);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ad-card-title[b-8uuaxmqt1t] {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ad-card-location[b-8uuaxmqt1t] {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.ad-card-location svg[b-8uuaxmqt1t] {
  width: 12px;
  height: 12px;
}
/* /Shared/BottomSheet.razor.rz.scp.css */
.sheet-backdrop[b-srfz4wk8x8] {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sheet-backdrop--visible[b-srfz4wk8x8] {
  opacity: 1;
  pointer-events: all;
}

.sheet-panel[b-srfz4wk8x8] {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  background-color: var(--color-surface);
  border-radius: 16px 16px 0 0;
  z-index: 201;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
}

.sheet-panel--open[b-srfz4wk8x8] {
  transform: translateX(-50%) translateY(0);
}

.sheet-handle[b-srfz4wk8x8] {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--color-border);
  margin: 12px auto 4px;
  flex-shrink: 0;
}

.sheet-content[b-srfz4wk8x8] {
  overflow-y: auto;
  padding: 8px 16px 32px;
  flex: 1;
}
/* /Shared/NavBar.razor.rz.scp.css */
.bottom-nav[b-r0dkqufydo] {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 64px;
  display: flex;
  align-items: center;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  z-index: 100;
  padding: 0;
}

.nav-item[b-r0dkqufydo] {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: none;
  border: none;
  color: var(--color-muted);
  font-size: 0.65rem;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.15s;
}

.nav-item svg[b-r0dkqufydo] {
  width: 22px;
  height: 22px;
}

.nav-item--active[b-r0dkqufydo] {
  color: var(--color-accent);
}

.nav-item--center[b-r0dkqufydo] {
  flex: 1;
}

.nav-plus[b-r0dkqufydo] {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.nav-plus svg[b-r0dkqufydo] {
  width: 24px;
  height: 24px;
  stroke: white;
}
/* /Shared/SearchBar.razor.rz.scp.css */
.search-bar-wrapper[b-arab9hbc9h] {
  padding: 12px 16px 0;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.search-input-row[b-arab9hbc9h] {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.search-input-wrap[b-arab9hbc9h] {
  flex: 1;
  position: relative;
}

.search-icon[b-arab9hbc9h] {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-muted);
}

.search-input[b-arab9hbc9h] {
  width: 100%;
  padding: 9px 12px 9px 34px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-size: 0.95rem;
  outline: none;
}

.search-input:focus[b-arab9hbc9h] {
  border-color: var(--color-accent);
}

/* Toggle switch */
.available-toggle[b-arab9hbc9h] {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.available-toggle input[b-arab9hbc9h] {
  display: none;
}

.toggle-track[b-arab9hbc9h] {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background-color: var(--color-border);
  position: relative;
  transition: background-color 0.2s;
}

.toggle-track[b-arab9hbc9h]::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s;
}

.available-toggle input:checked + .toggle-track[b-arab9hbc9h] {
  background-color: var(--color-accent);
}

.available-toggle input:checked + .toggle-track[b-arab9hbc9h]::after {
  transform: translateX(18px);
}

/* Category chips */
.category-chips[b-arab9hbc9h] {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.category-chips[b-arab9hbc9h]::-webkit-scrollbar { display: none; }

.chip[b-arab9hbc9h] {
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: none;
  color: var(--color-muted);
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.chip--active[b-arab9hbc9h] {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-text);
}
