.banner-section.add-advertise-banner {
  background-image: url("../imgs/advertise-detail.jpg");
  background-position: bottom;
}

.step {
  display: none;
}

.step.active {
  display: block !important;
}

.add-advertise-section .add-advertise-content {
  border: 1px solid #00d8ba47;
  border-radius: 10px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.step h2 {
  text-align: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  color: var(--green-color);
}

#step-1 .progress {
  background-color: #d9d9d9;
  height: 15px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

#step-1 .progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--green-color);
  transition: width 0.3s ease-in-out;
  border-radius: 10px;
  width: 20%;
}

#step-1 .advertise-type h3 {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

#step-1 .advertise-type .radio-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

#step-1 .advertise-type .radio-group .radio input {
  display: none;
}

#step-1 .advertise-type .radio-group .radio {
  flex: 1;
}

#step-1 .advertise-type .radio-group .radio label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--yellow-color);
  border: 1px solid var(--yellow-color);
  border-radius: 5px;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

#step-1 .advertise-type .radio-group .radio label:hover {
  background-color: var(--yellow-color);
  color: #fff;
}

#step-1 .advertise-type .radio-group .radio input:checked + label {
  background-color: var(--yellow-color);
  color: #fff;
  border-color: var(--yellow-color);
}

.add-advertise-section .add-advertise-content .select-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.add-advertise-section .add-advertise-content .select-field label {
  color: #707070;
  font-weight: 500;
  font-size: 16px;
}

.add-advertise-section .add-advertise-content .select-field select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  padding: 10px;
  padding-right: 40px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns%3D%22http://www.w3.org/2000/svg%22 fill%3D%22%23707070%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M7 10l5 5 5-5z%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  font-size: 16px;
  color: #707070;
}

.add-advertise-section .add-advertise-content .select-field select:hover {
  border-color: #00d8ba;
}

.add-advertise-section .add-advertise-content .select-field select:focus {
  outline: none;
  border-color: #00d8ba;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns%3D%22http://www.w3.org/2000/svg%22 fill%3D%22%2300d8ba%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M7 10l5 5 5-5z%22/%3E%3C/svg%3E");
}

.add-advertise-section .add-advertise-content .btns-collection button {
  background-color: var(--green-color);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  width: 100%;
}

/* step 2 */
#map {
  height: 400px; /* or whatever height you want */
  width: 100%;
}

/* step 3 */
#step-3 .progress {
  background-color: #d9d9d9;
  height: 15px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

#step-3 .progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--green-color);
  transition: width 0.3s ease-in-out;
  border-radius: 10px;
  width: 60%;
}

.btns-collection {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.upload-section.main-image {
  margin-top: 2rem;
}

.upload-section.main-image h2 {
  font-weight: 700;
  font-size: 1.5rem;
  color: black;
  margin-bottom: 0.6rem;
}

.upload-section.main-image img {
  object-fit: contain;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.subtitle {
  color: #00000087;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

.upload-section {
  border: 2px dashed var(--green-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-header {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.5rem;
}

.section-header h2 {
  color: black;
}

.second-upload .subtitle {
  text-align: start !important;
}

.upload-btn {
  padding: 0.8rem 4rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  border: 1px solid var(--green-color);
  color: var(--green-color);
  font-weight: 600;
  font-size: 20px;
  margin: 0 auto;
}

.upload-btn:hover {
  opacity: 0.9;
}

.placeholder-image {
  text-align: center;
  padding: 2rem;
}

.placeholder-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.no-images {
  color: #00000075;
  font-size: 18px;
  font-weight: 400;
  margin-top: 1rem;
}

.next-btn {
  width: 100%;
  padding: 1rem;
  background-color: #68904b;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.next-btn:hover {
  background-color: #557a3e;
}

/* Preview area styles */
.preview-area {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
}

.preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
}

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

.preview-item .remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-area {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

/* Special styling for main image preview */
.upload-section.main-image .preview-area {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

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

.preview-item .remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #ff4444;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.preview-item .remove-btn:hover {
  background: #ff4444;
  color: white;
  transform: scale(1.1);
}

/* step 4 */
#step-4 .progress {
  background-color: #d9d9d9;
  height: 15px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

#step-4 .progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--green-color);
  transition: width 0.3s ease-in-out;
  border-radius: 10px;
  width: 80%;
}

.budget-section {
  background-color: #e0e0e0;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.budget-section h2 {
  color: var(--green-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.budget-input {
  position: relative;
  margin-bottom: 0.5rem;
}

.budget-input input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  text-align: right;
}

.budget-input .currency {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.price-stack {
  display: flex;
  gap: 0.5rem;
}

.negotiable {
  color: #666;
  font-size: 0.9rem;
}

.price-error {
  color: #ff4d4d;
  font-size: 0.9rem;
}

.counter-section {
  margin-bottom: 2rem;
}

.counter-section h3 {
  color: #2c4059;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.counter-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.counter-buttons button {
  flex: 1;
  padding: 0.8rem;
  border: none;
  background-color: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  color: #333;
  font-weight: 700;
}

.counter-buttons button.active {
  background-color: var(--green-color);
  color: white;
}

.text-area-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.text-area-field label {
  color: #707070;
  font-weight: 500;
  font-size: 16px;
}

.text-area-field textarea {
  padding: 10px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  font-size: 16px;
  color: #707070;
  resize: none;
}

.text-area-field textarea:focus {
  outline: none;
  border-color: #00d8ba;
}

.additional-options {
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.additional-options h3 {
  color: #707070;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.options-grid button {
  padding: 0.8rem;
  border: 1px solid #4d7a4275;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--green-color);
  font-weight: 700;
  transition: all 0.3s ease;
}

.options-grid button.active {
  background-color: #68904b;
  color: white;
  border-color: #68904b;
}


