#listing-form {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  height: fit-content;
  display: flex;
  flex-direction: column;
  padding: 0px 8px;
  margin: 120px auto;
  gap: 24px;
}
#listing-form .step {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
#listing-form h2 {
  font-size: 28px;
  font-weight: 400;
  line-height: 33.6px;
}
@media screen and (min-width: 1025px) {
  #listing-form h2 {
    font-size: 32px;
    line-height: 38.4px;
  }
}
#listing-form .step-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
  letter-spacing: 0.015em;
  color: hsl(221, 13%, 46%);
}
#listing-form label {
  font-size: 16px;
  font-weight: 500;
  line-height: 16.8px;
  letter-spacing: 0.03em;
}
#listing-form input,
#listing-form select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid hsl(217, 16%, 84%);
  box-shadow: 0px 1px 2px 0px hsla(220, 43%, 11%, 0.05);
  padding: 12px 16px;
}
#listing-form .btn-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  width: 100%;
}
#listing-form .next,
#listing-form .prev,
#listing-form .submit-listing {
  flex: 1;
  min-width: fit-content;
  max-width: 180px;
  padding: 16px 28px;
  border-radius: 100px;
  border: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  color: #fff;
}
#listing-form .next:disabled,
#listing-form .prev:disabled,
#listing-form .submit-listing:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
#listing-form .next {
  align-self: center;
  background: var(--wp--custom--color--primary--100);
}
#listing-form .next:disabled {
  background: hsla(251, 55%, 11%, 0.3);
}
#listing-form .prev {
  background: hsla(251, 55%, 11%, 0.3);
}
#listing-form .submit-listing {
  background: var(--wp--custom--color--primary--100);
}

.progress-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.progress-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: hsla(0, 0%, 0%, 0.6);
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.progress-bar .progress-fill {
  position: absolute;
  height: 100%;
  background: var(--wp--custom--color--accent--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
  left: 0;
  top: 0;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 100px;
}
.step-indicator .step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-weight: bold;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}
.step-indicator .step-label {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  transition: all 0.3s ease;
}
.step-indicator.active .step-number {
  background: #3498db;
  color: #fff;
}
.step-indicator.active .step-label {
  color: #3498db;
  font-weight: bold;
}
.step-indicator.completed .step-number {
  background: #2ecc71;
  color: #fff;
}

.preview-section {
  background: #f9f9f9;
  border-radius: 8px;
}
.preview-section h4 {
  margin-bottom: 1rem;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.preview-field {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.preview-field label {
  font-weight: bold;
  min-width: 150px;
}
.preview-field span,
.preview-field p {
  flex: 1;
}
.preview-field span:empty::after {
  content: "Not provided";
  color: #666;
  font-style: italic;
}

#preview-logo img,
#preview-header img {
  border-radius: 4px;
}

.preview-warning {
  background-color: #fff3cd;
  color: #856404;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ffeeba;
  border-radius: 8px;
}
.preview-warning ul {
  margin: 0.5rem 0 0 1.5rem;
  padding: 0;
}
.preview-warning li {
  margin-bottom: 0.25rem;
}

@media (min-width: 1025px) {
  .step-indicator {
    max-width: none;
  }
  .step-indicator .step-label {
    display: none;
  }
  .progress-steps {
    padding: 0 10px;
  }
}
.category-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.category-option {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.category-option:hover {
  border-color: var(--wp--custom--color--accent--primary);
}
.category-option .category-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.category-option .category-label {
  flex-grow: 1;
  font-size: 16px;
  color: #666;
}
.category-option .checkmark {
  position: relative;
  height: 24px;
  width: 24px;
  background-color: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.category-option .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 8px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.category-option .category-checkbox:checked ~ .checkmark {
  background: hsl(331, 56%, 48%);
  border-color: hsl(331, 56%, 48%);
}
.category-option .category-checkbox:checked ~ .checkmark:after {
  display: block;
}
.category-option .category-checkbox:checked ~ .category-label {
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
  letter-spacing: 0.015em;
}
.category-option:has(.category-checkbox:checked) {
  border: 2px solid hsl(331, 56%, 48%);
  background: hsla(331, 56%, 48%, 0.1);
}

#step-3 .input-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
#step-3 #description {
  min-height: 120px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid hsl(217, 16%, 84%);
  box-shadow: 0px 1px 2px 0px hsla(220, 43%, 11%, 0.05);
  margin-bottom: 2.5rem;
}
#step-3 #description,
#step-3 #tags {
  font-size: 16px;
  font-weight: 500;
  line-height: 16.8px;
  letter-spacing: 0.03em;
}
#step-3 #description::placeholder,
#step-3 #tags::placeholder {
  color: hsl(217, 23%, 71%);
}
#step-3 #additional-info label,
#step-3 #additional-info legend {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
#step-3 #additional-info legend {
  padding-bottom: 8px;
}
#step-3 #additional-info .title {
  font-size: 28px;
  margin-bottom: 32px;
  font-weight: 400;
  padding-top: 28px;
}
#step-3 #additional-info select,
#step-3 #additional-info fieldset {
  margin-bottom: 32px;
}
#step-3 #additional-info .detail-option {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
#step-3 #additional-info .detail-option:hover {
  border-color: var(--wp--custom--color--accent--primary);
}
#step-3 #additional-info .detail-option .detail-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
#step-3 #additional-info .detail-option .detail-label {
  flex-grow: 1;
  font-size: 16px;
  color: #666;
}
#step-3 #additional-info .detail-option .checkmark {
  position: relative;
  height: 24px;
  width: 24px;
  background-color: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.3s ease;
}
#step-3 #additional-info .detail-option .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 8px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
#step-3 #additional-info .detail-option .detail-checkbox:checked ~ .checkmark {
  background: hsl(331, 56%, 48%);
  border-color: hsl(331, 56%, 48%);
}
#step-3 #additional-info .detail-option .detail-checkbox:checked ~ .checkmark:after {
  display: block;
}
#step-3 #additional-info .detail-option .detail-checkbox:checked ~ .detail-label {
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
  letter-spacing: 0.015em;
}
#step-3 #additional-info .detail-option:has(.detail-checkbox:checked) {
  border: 2px solid hsl(331, 56%, 48%);
  background: hsla(331, 56%, 48%, 0.1);
}

.upload-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.upload-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.upload-card .upload-preview {
  flex: 1;
  min-height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}
.upload-card .upload-label {
  color: var(--wp--custom--color--primary--100);
  cursor: pointer;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.upload-card .upload-input {
  display: none;
}

.placeholder-circle {
  width: 100px;
  height: 100px;
  background: hsl(217, 16%, 84%);
  border-radius: 50%;
}

.placeholder-rectangle {
  width: 100%;
  height: 120px;
  background: hsl(217, 16%, 84%);
  border-radius: 8px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  padding: 8px;
}

.placeholder-square {
  aspect-ratio: 1;
  background: hsl(217, 16%, 84%);
  border-radius: 4px;
}

#logo-preview,
#header-preview {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

#step-5 .form-group {
  margin-bottom: 24px;
}
#step-5 .form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 24px;
  border: 1px solid hsl(217, 16%, 84%);
  border-radius: 8px;
  transition: border-color 0.15s ease-in-out;
  box-shadow: 0px 1px 2px 0px hsla(220, 43%, 11%, 0.05);
}
#step-5 .form-control:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--wp--custom--color--accent--primary-rgb), 0.1);
}
#step-5 .form-control::placeholder {
  color: #6b7280;
}
#step-5 .form-control[name=region] {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  background-color: white;
}
#step-5 .form-control[name=region]::placeholder {
  color: #6b7280;
}
#step-5 .website-group .website-input-group {
  display: flex;
  align-items: center;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  overflow: hidden;
}
#step-5 .website-group .website-input-group .prefix {
  padding: 12px 16px;
  background-color: #f9fafb;
  color: #6b7280;
  border-right: 1px solid #d0d5dd;
  font-size: 16px;
  white-space: nowrap;
}
#step-5 .website-group .website-input-group input {
  border: none;
  border-radius: 0;
  flex: 1;
}
#step-5 .website-group .website-input-group input:focus {
  box-shadow: none;
}

#step-6 .input-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#step-7 .preview-sections {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
#step-7 .preview-section {
  background: #fff;
  overflow: hidden;
}
#step-7 .preview-header {
  padding: 12px 16px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
#step-7 .preview-header h3 {
  font-size: 18px;
  font-weight: 400;
  color: #111827;
  margin: 0;
}
#step-7 .preview-content {
  padding: 12px 16px;
}
#step-7 .preview-field {
  margin-bottom: 16px;
}
#step-7 .preview-field:last-child {
  margin-bottom: 0;
}
#step-7 .preview-field label {
  display: block;
  color: #6b7280;
  margin: 0;
}
#step-7 .preview-field span,
#step-7 .preview-field p {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 16.8px;
  color: #111827;
}
#step-7 .preview-field span:empty::after,
#step-7 .preview-field p:empty::after {
  content: "-";
  color: #9ca3af;
  font-style: italic;
}
#step-7 .preview-media .media-preview {
  margin-top: 8px;
}
#step-7 .preview-media .media-preview img {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
#step-7 .preview-media #preview-logo img {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
}
#step-7 .preview-media #preview-header img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}
#step-7 .photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
#step-7 .photos-grid .preview-photo-item {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f3f4f6;
}
#step-7 .photos-grid .preview-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
#step-7 .photos-grid .empty-photos {
  grid-column: 1/-1;
  padding: 16px;
  text-align: center;
  color: #6b7280;
  font-style: italic;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px dashed #e5e7eb;
}
#step-7 .preview-social .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
#step-7 .preview-social span {
  padding: 6px 12px;
  background: #f3f4f6;
  border-radius: 100px;
  font-size: 16px;
}
#step-7 .preview-social span:empty {
  display: none;
}
@media (max-width: 640px) {
  #step-7 .preview-header {
    padding: 12px 16px;
  }
  #step-7 .preview-content {
    padding: 16px;
  }
  #step-7 .photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
}

.success-container {
  text-align: center;
  padding: 48px 24px;
  max-width: 480px;
  margin: 0 auto;
}
.success-container .success-icon {
  margin-bottom: 24px;
}
.success-container h2 {
  color: #111827;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}
.success-container .owner-card img {
  width: 114px;
  height: 114px;
  border-radius: 100%;
}
.success-container .owner-info h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 26.64px;
  letter-spacing: 0.015em;
}
.success-container .owner-info p {
  color: hsl(221, 13%, 46%);
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
  letter-spacing: 0.015em;
}
.success-container .success-message {
  color: var(--wp--custom--color--contrast--black);
  margin-bottom: 32px;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
  letter-spacing: 0.015em;
}
.success-container .success-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
  margin: 0 auto;
}
.success-container .success-actions a {
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.success-container .success-actions a.primary-button {
  background: var(--wp--custom--color--primary--100);
  color: white;
}
.success-container .success-actions a.primary-button:hover {
  opacity: 0.9;
}
.success-container .success-actions a.secondary-button {
  background: #f3f4f6;
  color: #374151;
}
.success-container .success-actions a.secondary-button:hover {
  background: #e5e7eb;
}

/*# sourceMappingURL=add-listing.css.map */
