* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f8f9fa;
}

.container {
  margin: 30px auto;
  background: #fff;
  padding: 20px 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #333;
}

/* switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked+.slider {
  background-color: #2196f3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Progress Indicator */
/* .progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.progress-dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
}

.progress-dot.active {
    background: #007bff;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: #ccc;
    margin: 0 5px;
} */

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.form-group {
  flex: 1;
  margin: 5px 10px;
  min-width: 200px;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #555;
}

input,
select {
  width: 100%;
  padding: 8px;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

input[type="file"] {
  border: none;
  padding: 5px;
}

input:focus,
select:focus {
  border-color: #007bff;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.btn,
.next-btn,
.previous-btn,
.add-row,
.remove-row,
.duplicate-row {
  padding: 10px 20px;
  background-color: #007bff;
  border: none;
  color: #fff;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#open-financial-info,
#open-operational-info,
#open-competitor-info {
  background-color: rgb(233, 233, 233);
  color: black;
  padding: 7px 22px;
  width: 27rem;
}

.btn,
.btn:hover {
  background-color: #007bff;
  color: white;
}

.add-row {
  padding: 4px 8px;
  background-color: green;
}

.remove-row {
  background-color: tomato;
  padding: 4px 8px;
}

.duplicate-row {
  padding: 4px 8px;
}

.next-btn:hover {
  background-color: #0056b3;
}

.form-section {
  margin-top: 2rem;
}

/* Grid for Numbered Inputs */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.numbered-input {
  display: flex;
  align-items: center;
  gap: 5px;
}

.numbered-input label {
  font-weight: bold;
  margin-bottom: 0;
}

#details-section {
  margin-top: 6%;
}

#details-nav-btn {
  display: flex;
  justify-content: center;
  gap: 1%;
}



/* set location styles start */
#locationInput {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.btn-map {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-location-primary {
  background-color: #007bff;
  color: white;
}

.btn-location-secondary {
  background-color: #6c757d;
  color: white;
}

/* Modal Styles */
.map-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.map-modal.active {
  display: flex;
}

.map-modal-content {
  background: white;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  overflow: hidden;
}

.map-modal-header,
.map-modal-footer {
  padding: 15px;
  background: #f1f1f1;
  border-bottom: 1px solid #ccc;
}

.map-modal-footer {
  border-top: 1px solid #ccc;
  text-align: right;
}

.map-modal-header h5 {
  margin: 0;
}

.map-modal-body {
  padding: 0;
}

#map {
  height: 400px;
  width: 100%;
}

/* .image-preview {
  display: none;
  margin-bottom: 20px;
  position: relative;
}

.image-preview img {
  max-height: 6rem;
  display: block;
}

.delete-image {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  color: red;
} */

.verification {
  margin-bottom: .5rem;
}

.view-file,
.delete-file {
  display: none;
  cursor: pointer;
}

#productTargetContainer .targets {
  margin-left: 65px;
}

#productTargetContainer .past-sales table thead tr th:first-child,
#productTargetContainer .past-sales table tbody tr td:first-child {
  width: 80px;
}

#productTargetContainer .sku-wise-targets table thead tr th:first-child,
#productTargetContainer .sku-wise-targets table tbody tr td:first-child {
  width: 65px;
}



@media (min-width: 576px) {
  .modal-xl {
    max-width: 90%;
  }
}
