.result-address h3 {
  margin-top: 0px;
}

@media (min-width: 1200px) {
  .container {
    width: 100%;
  }
}
@media (min-width: 992px) {
  .container {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .container {
    width: 100%;
  }
}

.detail-card {
    margin: 20px auto;
}

.alert-success {
  padding: 15px 20px;
  border-radius: 6px;
  background-color: #d4edda;  /* light green background */
  color: #155724;             /* dark green text */
  border: 1px solid #c3e6cb;  /* soft green border */
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  margin: 10px 0;
}

.alert-success i {
  margin-right: 8px;
  color: #155724;
}

.alert-success strong {
  font-weight: 600;
}

/* typeahead */
/* === Typeahead Styling === */

.twitter-typeahead {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 8px 0;
  color: #0F172A;
} 

/* Overall suggestion menu */
.tt-menu {
  width: 100%;
  margin-top: 10px;
  padding: 0;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

/* Each suggestion row */
.tt-suggestion {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

/* Hover and keyboard active state */
.tt-suggestion:hover,
.tt-cursor {
  background-color: #f5f8ff;
}

/* First line (main label) */
.tt-suggestion strong,
.tt-suggestion .fw-semibold {
  color: #1f2937;
  font-weight: 600;
}

/* Second line (type or meta info) */
.tt-suggestion small,
.tt-suggestion .text-muted {
  color: #6b7280;
  font-size: 0.85em;
}

/* Empty / loading messages */
.tt-empty-message,
.tt-dataset .empty-message,
.tt-dataset .tt-notfound {
  padding: 10px 14px;
  color: #9ca3af;
  font-style: italic;
}

/* Optional: Add a subtle highlight to matching text */
.tt-highlight {
  background-color: rgba(255, 230, 130, 0.4);
  padding: 0 2px;
  border-radius: 2px;
}

/* Adjustments if using Bootstrap form-control */
.form-control.tt-input {
  border-radius: 0.5rem;
}

.form-control.tt-input:focus {
  border-color: #6ca0ff;
  box-shadow: 0 0 0 3px rgba(108,160,255,0.25);
}

/* Ensure Typeahead hint aligns perfectly with the text box */
.tt-hint {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  color: #adb5bd; /* light gray hint text */
  border: 1px solid transparent;
  background-color: transparent !important;
  z-index: 1;
  opacity: 1;
  pointer-events: none;
  padding: 0.5rem 0.75rem; /* match Bootstrap .form-control padding */
  font-size: 1rem; /* match input font size */
  line-height: 1.5; /* match input line-height */
  border-radius: 0.5rem; /* same radius as input */
  box-sizing: border-box;
}

/* Make sure actual text input sits on top */
.tt-input {
  position: relative;
  background-color: transparent !important;
  z-index: 2;
	width: 100%;
}

/* Prevent overlapping rounded borders */
.twitter-typeahead {
  width: 100%;
  position: relative;
  display: inline-block;
}

/* For Bootstrap form-control consistency */
.form-control.tt-input {
  border-radius: 0.5rem;
  background-color: #fff;
}

.dark-mode .tt-menu {
  background-color: #2a2a2a;
  color: #fff;
  border-color: #444;
}

.dark-mode .tt-suggestion strong,
.dark-mode .tt-suggestion .fw-semibold {
  color: #fff;
}

.dark-mode .tt-suggestion:hover,
.dark-mode .tt-cursor {
  background-color: #2D2D2D;
}

body.dark-mode .jconfirm .jconfirm-bg { background: rgba(0,0,0,0.6); }

body.dark-mode .jconfirm .jconfirm-box {
  background: #1f1f1f;
  color: #f3f3f3;
  border: 1px solid #3a3a3a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

body.dark-mode .jconfirm .jconfirm-title {
  color: #ffffff;
}

body.dark-mode .jconfirm .jconfirm-content {
  color: #d9d9d9;
}

/* Buttons */
body.dark-mode .jconfirm .jconfirm-buttons button {
  background: #2a2a2a;
  border: 1px solid #444;
  color: #f3f3f3;
}

body.dark-mode .jconfirm .jconfirm-buttons button:hover {
  background: #333;
}

/* Primary/confirm button accent */
body.dark-mode .jconfirm .jconfirm-buttons .btn-blue,
body.dark-mode .jconfirm .jconfirm-buttons .btn-primary {
  background: #2563eb;     /* your brand color */
  border-color: #1e4fd6;
  color: #ffffff;
}

body.dark-mode .jconfirm .jconfirm-buttons .btn-blue:hover,
body.dark-mode .jconfirm .jconfirm-buttons .btn-primary:hover {
  filter: brightness(1.05);
}

/* Input fields inside prompts */
body.dark-mode .jconfirm .jconfirm-box input,
body.dark-mode .jconfirm .jconfirm-box textarea,
body.dark-mode .jconfirm .jconfirm-box select {
  background: #141414;
  border: 1px solid #3a3a3a;
  color: #f3f3f3;
}

/* Icon colors (if using) */
body.dark-mode .jconfirm .jconfirm-icon-c {
  color: #9ecbff;
}

.dark-toggle {
  background: #e4e4e4;
  color: #222;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

body.dark-mode .dark-toggle {
  background: #333;
  color: #f3f3f3;
}

body.dark-mode .detail-card {
  background: #1f1f1f !important;
  color: #f1f1f1 !important;
  border-color: #333 !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5) !important;
}

/* Links inside the card */
body.dark-mode .detail-card a {
  color: #9ecbff !important;
}

body.dark-mode .detail-card a:hover {
  color: #c3e0ff !important;
}

/* Divider or accent lines */
.detail-card .divider {
  border-top: 1px solid #eee !important;
}

body.dark-mode .detail-card .divider {
  border-top-color: #444 !important;
}

body.dark-mode .detail-card > div {
  color: #f1f1f1 !important;
  background: transparent !important; /* Keeps it consistent unless divs have bg */
}
body.dark-mode .detail-card tr {
  background: #1f1f1f !important;
}
body.dark-mode .detail-card pre {
	  background: #1f1f1f !important;
	color: #fff;
}
.offer-summary-card .property-header {
	background: none;
} 