/* Container and layout */
.address-collection-container {
  max-width: 900px;
  margin: 48px auto;
  padding: 20px;
  box-sizing: border-box;
}

.address-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.address-field-with-label { flex: 1; }
.main-part { flex: 2; }
.margin-right { margin-right: 12px; }

.autocomplete-container { position: relative; }

.message-container { margin-top: 10px; color: #6b7a90; }
.helper-text { margin: 6px 0 10px 0; color: #6b7a90; font-size: 13px; }

.button-container { margin-top: 12px; text-align: right; }

.warning-input { border-color: #ffb610; }
.geoapify-autocomplete-input { width: 100% !important; box-sizing: border-box; }
.small-input { width: 110px; flex-shrink: 0; }
.address-field { min-height: 36px; }

/* Developer info panel */
.dev-info-panel[hidden] { display: none; }
.dev-info-panel { margin-top: 12px; border: 1px dashed #c7d7ea; border-radius: 10px; padding: 10px 12px; background: #f7fbff; }
.dev-info-title { font-weight: 600; font-size: 13px; color: #264a66; margin-bottom: 6px; }
.dev-kv { font-size: 12px; color: #35546a; line-height: 1.5; }
.dev-kv strong { color: #1f2f3a; }
.dev-code { margin-top: 6px; padding: 8px; background: #0b1526; color: #d7e3ef; border-radius: 6px; overflow: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; max-height: 240px; }

/* Dark theme */
body.theme-minimal-dark .dev-info-panel, body.theme-round-borders-dark .dev-info-panel { background:#1e2633; border-color:#334155; }
body.theme-minimal-dark .dev-info-title, body.theme-round-borders-dark .dev-info-title { color:#9ec5ff; }
body.theme-minimal-dark .dev-kv, body.theme-round-borders-dark .dev-kv { color:#94a3b8; }
body.theme-minimal-dark .dev-kv strong, body.theme-round-borders-dark .dev-kv strong { color:#cbd5e1; }

/* Theme selector styling */
.theme-selector {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1001;
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-label { font-size: 12px; color: #666; font-weight: 500; padding: 4px 8px 4px 12px; border-right: 1px solid #eee; background: #f8f9fa; border-radius: 4px 0 0 4px; white-space: nowrap; }
.theme-selector select { padding: 4px 8px; border: none; background: transparent; color: #333; font-size: 12px; cursor: pointer; min-width: 120px; border-radius: 0 4px 4px 0; }
.theme-selector select:focus { outline: none; }
.theme-selector:hover { border-color: #007bff; box-shadow: 0 2px 12px rgba(0, 123, 255, 0.15); }

/* Dark theme tweaks */
body.theme-minimal-dark, body.theme-round-borders-dark { background:#1a1a1a; color:#e0e0e0; }
body.theme-minimal-dark .theme-selector, body.theme-round-borders-dark .theme-selector { background:#333; border-color:#555; box-shadow:0 2px 8px rgba(0,0,0,.3); }
body.theme-minimal-dark .theme-label, body.theme-round-borders-dark .theme-label { color:#bbb; background:#444; border-right-color:#555; }
body.theme-minimal-dark .theme-selector select, body.theme-round-borders-dark .theme-selector select { color:#e0e0e0; }
body.theme-minimal-dark .theme-selector:hover, body.theme-round-borders-dark .theme-selector:hover { border-color:#007bff; box-shadow:0 2px 12px rgba(0,123,255,.2); }
