/* STAYROOT HOST ADD PROPERTY UPGRADE CSS */

:root {
  --primary-green: #0F5132;
  --primary-dark: #0f3d2e;
  --primary-gold: #D4A437;
  --text-muted: #6c757d;
  --host-bg: #f8faf9;
  --sidebar-width: 260px;
}

.add-property-container {
  max-width: 950px;
  margin: 0 auto;
}

/* Header & Progress Upgrades */
.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.form-header h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.progress-container {
  background: #fff;
  border-radius: 50px;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
}

.progress-line {
  position: absolute;
  top: 50%;
  left: 40px;
  right: 40px;
  height: 3px;
  background: #eee;
  z-index: 1;
}

.progress-line-fill {
  position: absolute;
  top: 50%;
  left: 40px;
  height: 3px;
  background: var(--primary-green);
  z-index: 2;
  transition: width 0.4s ease;
  width: 0%;
}

.step-indicator {
  position: relative;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #aaa;
  transition: all 0.3s ease;
}

.step-indicator.active {
  border-color: var(--primary-green);
  background: var(--primary-green);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(15, 81, 50, 0.15);
}

.step-indicator.completed {
  border-color: var(--primary-green);
  background: #fff;
  color: var(--primary-green);
}

/* Form Card */
.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
  border: 1px solid rgba(15, 81, 50, 0.05);
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.form-step {
  display: none;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  flex: 1;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.step-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

/* Inputs Upgrade */
.form-label {
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control, .form-select, .form-textarea {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(15, 81, 50, 0.12);
  font-size: 0.92rem;
  transition: all 0.3s ease;
  background-color: #f8faf9;
  color: var(--primary-dark);
}

.form-control:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-green);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(15, 81, 50, 0.06);
  outline: none;
}

.input-group-text {
  border-radius: 12px;
  border: 1px solid rgba(15, 81, 50, 0.12);
  background-color: #f0f4f2;
  color: var(--primary-green);
  font-weight: 700;
}

/* Map & Google Coordinates Layout */
.map-search-bar-wrap {
  position: relative;
  margin-bottom: 16px;
}

.map-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-green);
  font-size: 1.1rem;
}

.map-search-input {
  padding-left: 45px;
}

.map-placeholder-box {
  width: 100%;
  height: 280px;
  background-color: #e2e8f0;
  border-radius: 16px;
  border: 1px solid rgba(15, 81, 50, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 600;
  background-image: radial-gradient(circle, #cbd5e0 10%, transparent 11%), radial-gradient(circle, #cbd5e0 10%, transparent 11%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

.map-accuracy-banner {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.map-marker-icon {
  font-size: 2.2rem;
  color: #e53e3e;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Selectable Amenities Cards */
.amenities-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 991px) {
  .amenities-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .amenities-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.selectable-amenity-card {
  border: 1px solid rgba(15, 81, 50, 0.08);
  background-color: #f8faf9;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  position: relative;
}

.selectable-amenity-card input[type="checkbox"] {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary-green);
  cursor: pointer;
}

.selectable-amenity-card i {
  font-size: 1.6rem;
  color: var(--primary-green);
  margin-bottom: 6px;
}

.selectable-amenity-card span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.selectable-amenity-card:hover {
  border-color: var(--primary-gold);
  background-color: #fff;
}

.selectable-amenity-card.selected {
  background-color: rgba(15, 81, 50, 0.04);
  border-color: var(--primary-green);
}

/* Quantity Selection Button Groups */
.qty-selectors-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed rgba(15, 81, 50, 0.1);
}

.qty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.qty-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.qty-btn-group {
  display: flex;
  background-color: #f0f4f2;
  border: 1px solid rgba(15, 81, 50, 0.08);
  border-radius: 50px;
  padding: 4px;
}

.btn-qty-option {
  border: none;
  background: none;
  color: var(--primary-green);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-qty-option:hover {
  color: var(--primary-dark);
}

.btn-qty-option.active {
  background-color: var(--primary-green);
  color: #fff;
  box-shadow: 0 4px 10px rgba(15, 81, 50, 0.15);
}

/* Drag & Drop Upload upgraded */
.upload-zone {
  border: 2px dashed rgba(15, 81, 50, 0.2);
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  background-color: #f8faf9;
  cursor: pointer;
  transition: all 0.2s;
}

.upload-zone:hover {
  border-color: var(--primary-green);
  background-color: rgba(15, 81, 50, 0.02);
}

.upload-zone i {
  font-size: 2.8rem;
  color: var(--primary-green);
  margin-bottom: 12px;
  display: block;
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.img-preview-card {
  aspect-ratio: 1.3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid rgba(15, 81, 50, 0.06);
}

.img-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-preview-card .remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(229, 62, 62, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 0.75rem;
  z-index: 10;
}

.img-preview-card .cover-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background-color: var(--primary-gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Custom premium check switch */
.form-check-input-premium {
  width: 44px;
  height: 24px;
  cursor: pointer;
  background-color: #cbd5e0;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='white'/%3e%3c/svg%3e");
  background-position: left center;
  background-repeat: no-repeat;
  border: none;
  border-radius: 20px;
  appearance: none;
  transition: background-position 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.form-check-input-premium:checked {
  background-color: var(--primary-green);
  background-position: right center;
}

/* Save / Next Footer Layout */
.form-footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(15, 81, 50, 0.08);
}

.btn-next {
  background: var(--primary-dark);
  color: #fff;
  padding: 12px 36px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
}

.btn-next:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 81, 50, 0.15);
}

.btn-prev {
  background: #fff;
  color: var(--primary-dark);
  padding: 12px 36px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(15, 81, 50, 0.15);
  transition: all 0.3s;
}

.btn-prev:hover {
  border-color: var(--primary-dark);
  background: #fdfdfd;
}

.btn-save-draft {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid rgba(15, 81, 50, 0.2);
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-save-draft:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* Validation Alerts */
.error-msg {
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 600;
  display: none;
}

.is-invalid {
  border-color: #dc3545 !important;
}

.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1) !important;
}

/* Review Summary */
.review-section {
  background: #fdfdfd;
  border: 1px solid rgba(15, 81, 50, 0.05);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.review-section h4 {
  font-family: var(--font-serif);
  color: var(--primary-green);
  font-weight: 700;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(15, 81, 50, 0.05);
  padding-bottom: 8px;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 576px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

.review-item {
  display: flex;
  flex-direction: column;
}

.review-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.review-val {
  font-size: 0.95rem;
  color: var(--primary-dark);
  font-weight: 700;
}

/* Premium Selectable Chips & Custom Input */
.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.selectable-chip {
  padding: 8px 18px;
  border-radius: 30px;
  background-color: #f8faf9;
  border: 1px solid rgba(15, 81, 50, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.selectable-chip:hover {
  border-color: var(--primary-gold);
  background-color: #fff;
}

.selectable-chip.selected {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 81, 50, 0.15);
}

.custom-amenity-input-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.section-divider-premium {
  margin: 36px 0;
  border-top: 1px dashed rgba(15, 81, 50, 0.15);
}

.step-section-heading {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Location step upgraded styles */
.preview-location-card {
  background-color: #f0f4f2;
  border-left: 5px solid var(--primary-green);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.accuracy-badge-premium {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}
.accuracy-badge-premium.excellent { background-color: rgba(56, 161, 105, 0.15); color: #38a169; }
.accuracy-badge-premium.good { background-color: rgba(72, 187, 120, 0.15); color: #48bb78; }
.accuracy-badge-premium.average { background-color: rgba(221, 107, 32, 0.15); color: #dd6b20; }
.accuracy-badge-premium.poor { background-color: rgba(229, 62, 62, 0.15); color: #e53e3e; }

.landmark-item-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  background-color: #f8faf9;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 81, 50, 0.04);
}

.btn-remove-landmark {
  background: transparent;
  border: 1px solid rgba(229, 62, 62, 0.3);
  color: #e53e3e;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-remove-landmark:hover {
  background-color: #e53e3e;
  color: #fff;
}

.location-tips-card {
  background-color: rgba(212, 164, 55, 0.04);
  border: 1px solid rgba(212, 164, 55, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}

.location-tips-card h5 {
  font-family: var(--font-serif);
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

/* Video Preview Card styles */
.video-preview-card {
  aspect-ratio: 1.3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid rgba(15, 81, 50, 0.06);
  background: #000;
}

.video-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.video-preview-card .play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: #fff;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  pointer-events: none;
  z-index: 5;
}

.video-preview-card .video-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background-color: var(--primary-gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 8;
}

.video-preview-card .action-btns-container {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  gap: 4px;
  z-index: 10;
}

.video-preview-card .video-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.video-preview-card .video-btn-delete {
  background-color: rgba(229, 62, 62, 0.9);
}
.video-preview-card .video-btn-delete:hover {
  background-color: rgb(229, 62, 62);
}

.video-preview-card .video-btn-action {
  background-color: rgba(15, 61, 46, 0.9);
}
.video-preview-card .video-btn-action:hover {
  background-color: rgb(15, 61, 46);
}

.video-preview-card .video-btn-replace {
  background-color: rgba(203, 162, 88, 0.9);
}
.video-preview-card .video-btn-replace:hover {
  background-color: rgb(203, 162, 88);
}

.video-preview-card .video-reorder-btns {
  position: absolute;
  bottom: 6px;
  right: 6px;
  display: flex;
  gap: 4px;
  z-index: 10;
}


