.product-wrapper {
  background-color: #f9f9f9;
}

.product-card {
  background-color: #ffffff;
  border-radius: 10px;
}

.product-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.product-subtitle {
  font-size: 16px;
  color: #666;
}

.form-control,
.form-control-file {
  border-radius: 6px;
}

.btn-primary {
  background-color: #007bff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
}

.btn-outline-success,
.btn-outline-danger {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 6px;
}

.product-item {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
  background-color: #f8f8f8;
  position: relative;
}

.product-item:not(:first-child) {
  margin-top: 20px;
}

/* Style for Delete Icon */
.delete-product {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ff6b6b;
  border: none;
  color: white;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
}

.delete-product:hover {
  background: #ff4747;
}

.custom-file-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.custom-file-input {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}

.custom-file-label {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 14px;
  width: 100%;
  max-width: 100%;
  background-color: #f8f8f8;
  display: block;
  color: #666;
  text-align: left;
}

.custom-file-input:focus ~ .custom-file-label {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-file-input:hover ~ .custom-file-label {
  background-color: #e9ecef;
}

.custom-file-input:disabled ~ .custom-file-label {
  background-color: #e9ecef;
  opacity: 0.6;
  cursor: not-allowed;
}

.custom-file-label::after {
  content: "No file chosen";
  float: right;
  color: #888;
}

.custom-file-input.selected ~ .custom-file-label::after {
  content: attr(data-file-name);
  color: #007bff;
}
