/* Apocaleat Minimal - Pinboard-inspired design */

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --ink: #1a1a1a;
  --paper: #fff;
  --muted: #666;
  --border: #ddd;
  --link: #0066cc;
  --link-visited: #551a8b;
  --gold: #eab308;
  --coral: #fb7185;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: var(--link);
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

a:visited {
  color: var(--link-visited);
}

.hidden {
  display: none !important;
}

/* App Layout */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.logo {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin: 0;
}

.logo:visited {
  color: var(--ink);
}

.sep {
  color: var(--muted);
}

.header-stats {
  color: var(--muted);
  font-size: 14px;
}

.user-email {
  color: var(--muted);
  font-size: 14px;
}

.header-link {
  font-size: 14px;
}

.spacer {
  flex: 1;
}

/* Header Add Place */
.add-place-header {
  position: relative;
  width: 200px;
}

.add-place-header .add-place-input {
  width: 100%;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
}

.add-place-header .add-place-input:focus {
  outline: none;
  border-color: var(--link);
}

.add-place-header .add-place-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  max-height: 300px;
  overflow-y: auto;
  z-index: 200;
  margin-top: 2px;
  display: none;
}

.add-place-header .add-place-results.active {
  display: block;
}

.import-link {
  font-weight: 600;
}

/* Account Menu Dropdown */
.account-menu {
  position: relative;
}

.account-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--muted);
  border-radius: 3px;
}

.account-btn:hover {
  background: var(--bg);
}

.account-arrow {
  font-size: 10px;
}

.account-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 3px;
  min-width: 180px;
  margin-top: 4px;
  z-index: 200;
  display: none;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.account-dropdown.active {
  display: flex;
}

.dropdown-stats {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.dropdown-item {
  padding: 8px 12px;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
}

.dropdown-item:hover {
  background: var(--bg);
}

/* Upgrade Banner */
.upgrade-banner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 8px 20px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.upgrade-banner a {
  font-weight: 500;
}

.upgrade-banner.at-limit {
  background: #fef2f2;
  color: #991b1b;
  max-width: none;
  padding: 10px 20px;
  justify-content: center;
}

.upgrade-banner.at-limit a {
  color: #dc2626;
}

/* Main Content */
.main {
  flex: 1;
  padding: 20px 0;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

/* Filter Bar */
.filter-bar {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.filter-row {
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-row:last-child {
  margin-bottom: 0;
}

.filter-row-search {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.filter-label {
  font-weight: 600;
  font-size: 13px;
  text-transform: lowercase;
  color: var(--muted);
  min-width: 50px;
}

.filter-links {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.filter-link {
  color: var(--link);
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.filter-link:hover {
  text-decoration: none;
}

.filter-link.active {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.filter-link.active:visited {
  color: var(--ink);
}

.filter-sep {
  color: var(--muted);
  font-size: 14px;
}

.share-link {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}

.share-link:hover {
  color: var(--link);
}

.share-link.shared {
  color: var(--coral);
}

/* Search Input */
.search-input {
  flex: 1;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 15px;
  font-family: inherit;
}

.search-input:focus {
  outline: none;
  border-color: var(--link);
}

.sort-select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
  background: var(--paper);
}

/* Add Place Search */
.add-place-wrapper {
  position: relative;
  flex: 1;
  max-width: 350px;
}

.add-place-input {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
}

.add-place-input:focus {
  outline: none;
  border-color: var(--link);
}

.add-place-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  max-height: 250px;
  overflow-y: auto;
  z-index: 200;
  margin-top: 2px;
}

.add-place-results.active {
  display: block;
}

.add-place-item {
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.add-place-item:last-child {
  border-bottom: none;
}

.add-place-item:hover {
  background: #f5f5f5;
}

.add-place-name {
  font-weight: 500;
  display: block;
}

.add-place-secondary {
  font-size: 13px;
  color: var(--muted);
  display: block;
}

.add-place-loading,
.add-place-empty,
.add-place-error {
  padding: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.add-place-error {
  color: #dc2626;
}

/* Place Rows */
.places-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.place-row {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
  gap: 12px;
}

.place-row:hover {
  background: #fafafa;
  margin: 0 -10px;
  padding-left: 10px;
  padding-right: 10px;
}

.place-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 3px;
  background: #eee;
  flex-shrink: 0;
}

.place-thumb-empty {
  width: 60px;
  height: 60px;
  background: #f5f5f5;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 21px;
  flex-shrink: 0;
}

.place-main {
  flex: 1;
  min-width: 0;
}

.place-name {
  font-weight: 600;
  color: var(--link);
  text-decoration: underline;
  font-size: 15px;
}

.place-row:hover .place-name {
  text-decoration: none;
}

.place-meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.place-status {
  font-size: 13px;
  white-space: nowrap;
}

.status-link {
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}

.status-link:hover {
  text-decoration: underline;
}

.status-link.active {
  color: var(--ink);
  font-weight: 600;
}

.status-link.qualifier {
  color: var(--muted);
}

.status-link.qualifier.active {
  color: var(--gold);
}

.status-link.qualifier.up-next {
  color: var(--muted);
}

.status-link.qualifier.up-next.active {
  color: var(--coral);
}

.place-tags {
  font-size: 13px;
  color: var(--muted);
}

/* Open Status */
.open-badge {
  color: #16a34a;
  font-size: 12px;
  font-weight: 500;
}

.closed-badge {
  color: #dc2626;
  font-size: 12px;
  font-weight: 500;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.spinner {
  width: 30px;
  height: 30px;
  border: 2px solid #eee;
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

/* Auth Screen */
.auth-screen {
  display: none;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-screen.active {
  display: flex;
}

.auth-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 360px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--border);
}

.auth-logo {
  margin: 0 0 5px;
  font-size: 25px;
  font-weight: 700;
  text-align: center;
}

.auth-tagline {
  margin: 0 0 25px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.auth-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  color: var(--muted);
}

.auth-tab:hover {
  color: var(--ink);
}

.auth-tab.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
  font-weight: 600;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
}

.form-group input {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 15px;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: var(--link);
}

.auth-submit {
  padding: 10px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.auth-submit:hover {
  background: #333;
}

.auth-submit:disabled {
  background: var(--muted);
  cursor: not-allowed;
}

.auth-error {
  color: #dc2626;
  font-size: 14px;
  text-align: center;
  padding: 8px;
  background: #fef2f2;
  border-radius: 3px;
}

.auth-error[hidden] {
  display: none;
}

.auth-success {
  text-align: center;
  padding: 20px;
  color: var(--ink);
}

.auth-success p {
  margin: 0 0 10px;
}

.auth-back {
  margin-top: 15px;
}

/* Modal Base */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--paper);
  border: 1px solid var(--border);
  max-width: 600px;
  width: calc(100% - 40px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 25px;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}

.modal-close:hover {
  color: var(--ink);
}

/* Import Modal */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 21px;
}

.modal-tabs {
  display: flex;
  gap: 0;
  padding: 15px 20px 0;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  padding: 10px 15px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  color: var(--muted);
}

.tab-btn:hover {
  color: var(--ink);
}

.tab-btn.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
  font-weight: 600;
}

.modal-body {
  padding: 20px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-description {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 14px;
}

.file-upload {
  margin-bottom: 15px;
}

.file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 20px;
  border: 2px dashed var(--border);
  cursor: pointer;
  text-align: center;
}

.file-label:hover {
  border-color: var(--link);
}

.file-label.dragover {
  border-color: var(--link);
  background: #f8f8f8;
}

.file-icon {
  font-size: 33px;
}

.file-count {
  font-size: 13px;
  color: var(--muted);
}

.file-preview-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.file-preview-grid.active {
  display: grid;
}

.preview-item {
  position: relative;
}

.preview-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 3px;
}

.preview-remove {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}

.text-input {
  width: 100%;
  min-height: 150px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
}

.extract-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.extract-btn:hover {
  background: #333;
}

.extract-btn:disabled {
  background: var(--muted);
  cursor: not-allowed;
}

.modal-loading {
  text-align: center;
  padding: 40px 20px;
}

.modal-loading[hidden] {
  display: none;
}

.btn-primary {
  padding: 8px 16px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover {
  background: #333;
}

.btn-secondary {
  padding: 8px 16px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.btn-secondary:hover {
  background: #f5f5f5;
}

.btn-small {
  padding: 4px 8px;
  font-size: 13px;
}

/* Confirm Modal */
.modal-large {
  max-width: 800px;
}

.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.confirm-results {
  max-height: 400px;
  overflow-y: auto;
}

.location-context {
  padding: 10px;
  background: #f5f5f5;
  border-radius: 3px;
  margin-bottom: 15px;
  font-size: 14px;
}

.confirm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.confirm-table th,
.confirm-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.confirm-table th {
  font-weight: 600;
  background: #f9f9f9;
  font-size: 13px;
  text-transform: lowercase;
}

.extracted-name {
  font-weight: 500;
}

.extracted-location {
  font-size: 13px;
  color: var(--muted);
}

.candidate-select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
}

.candidate-details {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}

.candidate-address {
  display: block;
}

.confidence {
  font-size: 13px;
}

.status-add {
  color: #16a34a;
  font-size: 13px;
}

.status-skip {
  color: var(--muted);
  font-size: 13px;
}

.no-match {
  background: #fef2f2;
}

.no-match-text {
  color: #dc2626;
  font-size: 13px;
}

.no-match-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.manual-search-inline {
  position: relative;
}

.manual-search-input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
}

.manual-search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
}

.manual-search-results.active {
  display: block;
}

.manual-selected {
  padding: 8px;
  background: #f0fdf4;
  border-radius: 3px;
}

.btn-link {
  background: none;
  border: none;
  color: var(--link);
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  font-family: inherit;
}

.btn-link:hover {
  text-decoration: none;
}

.autocomplete-loading,
.autocomplete-empty,
.autocomplete-error {
  padding: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.autocomplete-error {
  color: #dc2626;
}

.autocomplete-secondary {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

/* Settings Modal */
.settings-section {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.settings-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.settings-section h3 {
  margin: 0 0 15px;
  font-size: 15px;
  font-weight: 600;
}

.settings-section h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
}

.settings-description {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.profile-loading,
.shared-lists-loading,
.subscription-loading {
  text-align: center;
  padding: 20px;
}

.profile-content,
.shared-lists-content,
.subscription-content {
  padding: 0;
}

.username-input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.username-prefix {
  padding: 8px 0 8px 10px;
  color: var(--muted);
  font-size: 15px;
}

.username-input {
  flex: 1;
  padding: 8px 10px 8px 0;
  border: none;
  font-size: 15px;
  font-family: inherit;
}

.username-input:focus {
  outline: none;
}

.username-status {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: var(--muted);
}

.username-status.success {
  color: #16a34a;
}

.username-status.error {
  color: #dc2626;
}

.profile-url-preview {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: var(--link);
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
}

.public-profile-section {
  margin-top: 15px;
}

.shared-lists-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shared-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  background: #f5f5f5;
  border-radius: 3px;
  font-size: 14px;
}

.shared-list-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shared-list-type {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}

.shared-list-value {
  font-weight: 500;
}

.shared-list-actions {
  display: flex;
  gap: 8px;
}

.subscription-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #f5f5f5;
  border-radius: 3px;
  font-size: 14px;
  margin-bottom: 10px;
}

.subscription-badge.active {
  background: #f0fdf4;
  color: #16a34a;
}

.badge-icon {
  font-size: 13px;
}

.logout-btn {
  margin-top: 10px;
}

/* Share Modal */
.modal-content-small {
  max-width: 400px;
}

.share-modal-body {
  padding: 20px;
}

.share-loading {
  text-align: center;
  padding: 30px;
}

.share-title {
  margin: 0 0 10px;
  font-size: 17px;
}

.share-description {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.share-info {
  margin: 10px 0;
  font-size: 13px;
  color: var(--muted);
}

.share-url-container {
  display: flex;
  gap: 8px;
}

.share-url-input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
  background: #f5f5f5;
}

.share-success {
  padding: 15px;
  background: #f0fdf4;
  border-radius: 3px;
  margin-bottom: 15px;
}

.stop-sharing-btn {
  margin-top: 10px;
}

.generate-share-btn {
  width: 100%;
  margin-top: 15px;
}

/* Username Modal */
.username-modal-content {
  max-width: 400px;
}

.username-prompt-title {
  margin: 0 0 10px;
  font-size: 21px;
}

.username-prompt-description {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Search Autocomplete */
.search-wrapper {
  position: relative;
  flex: 1;
}

.autocomplete-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 15px;
  font-family: inherit;
}

.autocomplete-input:focus {
  outline: none;
  border-color: var(--link);
}

.autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  margin-top: 2px;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  z-index: 200;
}

.autocomplete-results.active {
  display: block;
}

.autocomplete-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background: #f5f5f5;
}

.autocomplete-name {
  font-weight: 500;
}

.autocomplete-address {
  font-size: 14px;
  color: var(--muted);
}

/* Map Container (hidden in minimal design) */
#map-container {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 10px 15px;
  }

  .header-inner {
    gap: 6px;
  }

  .header-stats,
  .dropdown-stats {
    display: none;
  }

  .account-btn .user-email {
    display: none;
  }

  .account-btn .account-arrow {
    font-size: 14px;
  }

  .main {
    padding: 15px;
  }

  .filter-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-label {
    min-width: auto;
  }

  .filter-row-search {
    flex-wrap: wrap;
  }

  .search-input {
    width: 100%;
  }

  .place-row {
    flex-wrap: wrap;
  }

  .place-status {
    width: 100%;
    margin-top: 5px;
  }

  .place-tags {
    width: 100%;
    margin-top: 3px;
  }

  .modal-content {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }
}
