:root {
  --primary: #ff741f;
  --primary-hover: #ff8c42;
  --accent: #ff9a3e;
  --dark: #0a0a0a;
  --card-dark: #141414;
  --border-dark: #2a2a2a;
  --text-muted: #757575;
  --body-bg: #000000;
  --success-bg: #1e6b3e;
  --danger-bg: #dc2626;
}

* { font-family: 'Inter', sans-serif; }

body {
  background-color: #000000 !important;
  overflow-x: hidden;
  color: #fff;
}

.app-container {
  max-width: 500px;
  margin: 0 auto;
  background: #000000;
  min-height: 100vh;
  position: relative;
}

.app-container .app-header {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  z-index: 1050;
  padding: 12px 16px;
  border-bottom: 1px solid #2a2a2a;
}

.app-container .bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid #2a2a2a;
  padding: 10px 20px;
  display: flex;
  justify-content: space-around;
  z-index: 1040;
}

.app-container .nav-item-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #888;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: none;
}

.app-container .nav-item-bottom i { font-size: 22px; }

.app-container .nav-item-bottom.active,
.app-container .nav-item-bottom.active span {
  color: #ff741f;
  font-weight: 600;
}

.app-container .search-box {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 2rem;
  padding: 12px 25px;
  margin: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.app-container .location-bar {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 2rem;
  padding: 12px 25px;
  margin: 8px 0;
  font-size: 14px;
}

.app-container .search-box input {
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
  flex: 1;
}

.app-container .search-box input::placeholder { color: #666; }

.app-container .property-type-scroll {
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  gap: 14px;
  padding: 12px 0 20px;
  -webkit-overflow-scrolling: touch;
}

.app-container .type-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  background: #141414;
  border-radius: 24px;
  font-weight: 500;
  font-size: 15px;
  border: 1.5px solid #2a2a2a;
  cursor: pointer;
  min-width: 100px;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

.app-container .type-chip i { font-size: 28px; color: #fff; }

.app-container .type-chip.active {
  background: #ff741f;
  color: #000;
  border-color: #ff741f;
}

.app-container .type-chip.active i { color: #000; }

.app-container .property-card {
  background: #141414;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  cursor: pointer;
  font-size: 14px;
}

.app-container .price-tag {
  font-weight: 800;
  color: #ff741f;
  font-size: 0.9rem;
}

.app-container .badge-verified {
  background: #1e6b3e;
  color: #fff;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10px;
}

.app-container .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-container .section-header h5,
.app-container .section-header span {
  color: #fff;
  margin: 20px 0;
  font-size: 16px;
}

.app-container .see-all { color: #ff741f; cursor: pointer; }

.app-container .btn-primary-custom {
  background: #ff741f;
  border: none;
  color: #000;
  font-weight: 600;
  border-radius: 40px;
}

.app-container .back-button {
  background: #141414;
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.app-container .modal-modern .modal-content {
  background: #141414;
  border: 1px solid #2a2a2a;
  color: #fff;
}

.app-container .offcanvas {
  background: #0a0a0a;
  color: #fff;
}

.app-container .offcanvas .btn-close { filter: invert(1); }

.app-container .setting-menu-item {
  color: #fff;
  border-bottom: 1px solid #2a2a2a;
  padding: 14px 16px;
  cursor: pointer;
}

.app-container .grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.app-container .swiper-slide { width: 240px !important; }

.app-container .swiper-pagination-bullet {
  background: #ff741f !important;
}

.app-container .text-muted-custom { color: #757575; }

.app-container .filter-panel-modern {
  background: #141414;
  border-radius: 28px;
  padding: 20px 18px;
  margin-bottom: 20px;
  border: 1px solid #2a2a2a;
}

.app-container .filter-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.app-container .filter-header h6 {
  font-weight: 700;
  font-size: 18px;
  color: white;
  margin: 0;
}

.app-container .clear-all-link {
  color: #ff741f;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.app-container .filter-price-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.app-container .filter-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.app-container .property-type-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.app-container .prop-filter-chip {
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 40px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #e0e0e0;
  cursor: pointer;
}

.app-container .prop-filter-chip.active-filter {
  background: #ff741f;
  border-color: #ff741f;
  color: #000;
}

.app-container .bedroom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.app-container .bed-chip {
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 40px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #ccc;
  cursor: pointer;
}

.app-container .bed-chip.active-bed {
  background: #ff741f;
  border-color: #ff741f;
  color: black;
  font-weight: 600;
}

.app-container .verify-option {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  background: #0a0a0a;
  padding: 12px 16px;
  border-radius: 48px;
  border: 1px solid #2a2a2a;
}

.app-container .verify-option span {
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.app-container .verify-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #ff741f;
  margin: 0;
}

.app-container .apply-filters-btn {
  background: #ff741f;
  border: none;
  border-radius: 60px;
  padding: 14px;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  width: 100%;
}

.app-container .login-page {
  min-height: 100vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.app-container .login-card {
  background: #141414;
  border-radius: 2rem;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 400px;
  border: 1px solid #2a2a2a;
}

.app-container .form-control {
  background: #0a0a0a !important;
  border: 1px solid #2a2a2a !important;
  color: #fff !important;
  border-radius: 1rem !important;
}

.app-container .form-control:focus {
  border-color: #ff741f !important;
}

.filter-modern {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #0a0a0a;
  z-index: 1060;
  overflow-y: auto;
  padding: 20px;
  transition: right 0.3s ease;
}

.filter-modern.open { right: 0; }

.filter-backdrop-modern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1055;
  display: none;
}

/* Floating Post Button - Right Side */
.float-post-btn {
  position: fixed;
  right: 0;
  top: 70%;
  transform: translateY(-70%);
  z-index: 1045;
  background: #000;
  border-radius: 12px 0 0 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 116, 31, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: 1px solid #333;
  border-right: none;
}

.float-post-btn:hover {
  box-shadow: 0 6px 20px rgba(255, 116, 31, 0.5);
}

.float-post-text {
  color: #000;
  font-size: 12px;
  font-weight: 700;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 1px;
  background: var(--primary);
  padding: 8px 6px;
  border-radius: 8px;
}

.fab-toast {
  position: fixed;
  bottom: 160px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #dc2626;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.screen-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
}

.screen-loader.hidden { display: none; }

.modern-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  background: #1e293b;
  color: white;
  padding: 12px 20px;
  border-radius: 60px;
  z-index: 1100;
  font-size: 13px;
}

@media (max-width: 500px) {
  .app-container .type-chip { padding: 12px 18px; min-width: 85px; font-size: 13px; }
  .app-container .type-chip i { font-size: 20px; }
}

/* Autocomplete dropdown dark theme */
.ui-autocomplete {
  background: #141414 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 0.75rem !important;
  max-height: 250px;
  overflow-y: auto;
}
.ui-autocomplete .ui-menu-item {
  color: #ccc !important;
  font-size: 13px;
  padding: 8px 14px;
  border: none !important;
  background: transparent !important;
}
.ui-autocomplete .ui-menu-item.ui-state-focus,
.ui-autocomplete .ui-menu-item:hover {
  background: #2a2a2a !important;
  color: #fff !important;
}

.detail-section {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.detail-section .detail-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #888;
  margin-bottom: 2px;
}
.detail-section .detail-value {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}
