/*css popup*/
.quote-item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.quote-label {
  cursor: pointer;
  user-select: none;
}

#quote-items-table tr {
  padding: 0.5rem 0.75rem;
  vertical-align: top;
  border: 1px solid #424242 !important;
  word-break: break-all;
}

.quote-checkbox+span.quote-checkbox {
  width: 18px;
  height: 18px;
  border: 1px solid #ddd;
  display: inline-block;
  position: relative;
}

.quote-checkbox:checked+span.quote-checkbox:after,
.quote-label.active .quote-checkbox+span.quote-checkbox:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #2196f3;
  top: 3px;
  left: 3px;
  border-radius: 50%;
}

.quote-label.active {
  color: #2196f3;
}


.quote-label {
  cursor: pointer;
  user-select: none;
  z-index: 999;
  position: absolute;
  top: 5px;
  font-size: 80%;
  font-weight: 400;
  line-height: 13px;
  margin-right: 10px;
  float: left;
}

.quote-checkbox+span.quote-checkbox {
  display: none !important;
}

.quote-icon-container {
  display: none;
}

.product-small input[type="checkbox"] {
  padding: 0;
  margin: 0;
}

.single .quote-label {
  display: none;
}

.product-info .quote-label {
  display: block;
  position: relative;
  color: #a60504;
}

.product-info .quote-label.active {
  color: #a60504;
}

.modal-quote-content p {
  display: none;
}

.quote-label input[type="checkbox"] {
  padding: 0;
  margin: 0;
  float: left;
  margin-right: 2px;
}

.quote-actions button {
  transition: all 0.5s;
  background-color: #FFCC00;
  border-color: #FFCC00;
  border-radius: 6px;
  text-transform: unset;
}

.js-clear-quote,
.js-clear-quote:hover {
  float: right;
  background: transparent !important;
  color: red !important;
  font-weight: 700 !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
  border: none !important;
  box-shadow: none;
}

.js-notify-quote-container {
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid #fff;
  width: 32px;
  height: 32px;
  display: block !important;
}

.js-notify-quote-container svg {
  vertical-align: middle;
  top: 4px;
  position: absolute;
  right: 7px;
  width: 18px;
  fill: #ff0000;
}

a.js-notify-quote-container {
    border-radius: 50%;
    border: 1px solid #ff0000;
}
.js-notify-quote-container .tit {
  display: none;
}

.js-notify-quote-container .rounded-circle {
  right: -7px;
  background-color: #e53935;
  color: white;
  width: 17px;
  height: 17px;
  line-height: 17px;
  transform: rotate(358deg);
  top: -5px;
  border-radius: 50%;
  position: absolute;
  font-size: 10px;
}

.js-notify-quote-container .tit {
  top: 45px;
  right: -50px;
  background-color: #333;
  color: white;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
}

.js-notify-quote-container:hover .tit {
  opacity: 1;
}

.quote-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2dfdf;
}

.quote-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-right: 15px;
}


.quote-item-remove {
  color: #e53935;
  cursor: pointer;
  margin-left: 10px;
}

.quote-item-quantity input[type="number"] {
  border: 1px solid #dedbdb;
  border-radius: 4px;
}

.quote-item-quantity label {
  font-size: 11px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 1px;
}

.quantity-control {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: center;
}

.btn-quantity-decrease,
.btn-quantity-increase {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  margin: 0;
  display: none;
}

.quantity-input {
  width: 60px;
  text-align: center;
  margin: 0 5px;
  border: 1px solid #ddd;
  padding: 5px;
}

.quote-form-container {
  padding: 20px 0;
}

#quote-form label {
  font-weight: 500;
  margin-bottom: 5px;
  display: block;
}

#quote-form .form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

#quote-form textarea.form-control {
  resize: vertical;
}


@media (max-width: 549px) {
  .modal-quote-content {
    width: 97% !important;
    max-height: 97vh !important;
  }

  .js-notify-quote-container {
    border: 1px solid #000000;
  }

  .js-notify-quote-container svg {
    fill: #fff;
  }

  .js-notify-quote-container .rounded-circle {
    display: block !important;
  }

  .js-notify-quote-container {
    border: 1px solid;
  }


}