@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

.quote-page {
  --theme-active-color: #009a9e;
  --theme-hover-color: #20b1b1;
  --theme-press-color: #00808a;
  --theme-disabled-color: #76d8d2;
  --theme-background-color: #e8fffc;

  --main-font-color: #141737;
  --secondary-font-color: #666c7c;
  --auxiliary-font-color: #999da8;
  --disabled-font-color: #b3b7c1;
  --placeholder-font-color: #b3b7c1;

  --main-border-color: #cccfd7;
  --light-border-color: #e8ebf0;

  --page-background-color: #f4f5f8;
  --light-background-color: #f8f8f8;
  --disabled-background-color: #f4f5f8;
  --black-background-color: #020b18;
  --hover-background-color: #E8EBF0;

  --danger-main-color: #d33040;
  --danger-star-color: #CC2C29;
  --danger-bg-color: #FFEAE8;
  --danger-hover-color: #dc5059;
  --danger-disabled-color: #ED9797;
  --danger-light-color: #FFEAE8;
  --Execute-main-color: #007ae5;
  --success-main-color: #339326;

  max-width: 676px;
  margin: 0 auto;
}

.quote-page  .quote-page-logo {
  margin-top: 32px;
  margin-bottom: 55px;
  text-align: center;
}

.quote-page .quote-page-logo img{
  width:400px;
  height:51px;
}

.quote-page .quote-title {
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: 34px;
  color: var(--main-font-color);
  margin-bottom: 32px;
}

.quote-page .quote-search-box {
  margin-bottom: 30px;
}

.quote-page .quote-search-box input {
  width: 100%;
  height: 54px;
  padding: 0 12px;
  border: 1px solid var(--main-border-color);
  border-radius: 4px;
  font-size: 16px;
  color: var(--main-font-color);
  outline: none;
  transition: border-color 0.2s;
}

.quote-page .quote-search-box input:focus {
  border-color: var(--theme-active-color);
}

.quote-page .quote-search-box input::placeholder {
  color: var(--placeholder-font-color);
}

.quote-page .quote-search-box .form-group {
  margin-bottom: 25px;
}

.quote-page .quote-search-box label {
  margin-bottom: 8px;
  color: var(--main-font-color);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  display: block;
}

.quote-page .quote-search-box label .text-danger {
  color: var(--danger-star-color)
}

.quote-page .quote-header {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quote-page .loading {
  color: var(--disabled-font-color);
}



.quote-page .download-pdf {
  color: var(--theme-active-color);
  display: inline-block;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
}

.quote-page .download-pdf svg {
  margin-right: 8px;
}

.quote-page .quote-card {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.quote-page .quote-card-head {
  background: #f5f5f5;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quote-page .quote-card-body {
  padding: 16px;
}

.quote-page .quote-alert {
  background: #fff6e8;
  border-radius: 4px;
  padding: 8px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.quote-page .alert-content {
  flex: 1;
}

.quote-page .alert-content h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
}

.quote-page .quote-alert p {
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.quote-page .quote-alert i {
  color: #ff7a00;
  margin-right: 8px;
  margin-top: 3px;
  font-size: 18px;
}

.quote-page .address-section h4 {
  color: var(--secondary-font-color);
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 4px;
  margin-top: 0;
  font-weight:normal
}

.quote-page .address-section p {
  color: var(--main-font-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 16px;
}

.quote-page .product-section h4 {
  color: var(--secondary-font-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 4px;
}

.quote-page .quote-product-table {
  border-spacing: 0;
  border-collapse: collapse;
  border-bottom: 1px solid var(--light-border-color);
  width: 100%;
}

.quote-page .quote-product-table th {
  background: var(--page-background-color);
  padding: 8px 12px;
  color: var(--secondary-font-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.quote-page .quote-product-table td {
  padding: 12px;
}

.quote-page .quote-product-table th:first-child {
  text-align: left;
}

.quote-page .quote-product-table th:nth-child(2) {
  text-align: right;
}

.quote-page .quote-product-item {
  display: flex;
}

.quote-page .product-image {
  width: 66px;
  height: 50px;
  border-radius: 4px;
  border: 1px solid var(--light-border-color);
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.quote-page .product-image img {
  width: 100%;
  object-fit: contain;
  max-height: 100%;
}

.quote-page .product-name {
  color: var(--main-font-color);
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 460px;
}

.quote-page .price-through {
  text-decoration: line-through;
  color:var(--disabled-font-color)
}

.quote-page .total-price {
  color: var(--main-font-color);
  text-align: right;
  vertical-align: top;
  font-weight: 400;
  line-height: 22px;
}

.quote-page .alert.alert-danger {
  color: var(--danger-main-color);
}

.quote-page .product-coupon {
  background-color: var(--danger-bg-color);
  color: var(--danger-main-color);
  padding: 0 4px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  display: inline-block;
}

.quote-page .product-coupon img {
  width: 12px;
  height: 12px;
  vertical-align: middle;
  margin-right: 4px;
}

.quote-page .product-coupon span {
  display: inline-block;
  vertical-align: middle;
}

.quote-page .quote-total-box {
  width: 350px;
  margin-left: auto;
  margin-top: 20px;
}

.quote-page .total-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.quote-page .total-row strong {
  width: 110px;
  font-weight: normal;
  text-align: right;
  color: var(--secondary-font-color);
  text-align: right;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.quote-page .total-row span {
  text-align: right;
  margin-right: 10px;
  color: var(--secondary-font-color);
  text-align: right;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.quote-page .total-row.total-final {
  text-align: right;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 0;
}

.quote-page .total-final span {
  font-weight: normal;
  color: var(--secondary-font-color);
}

.quote-page .total-row.total-final strong {
  font-weight: bold;
  color: var(--main-font-color);
}

.quote-page .total-row .coupon-price {
  color: var(--danger-main-color);
}

.quote-page .order-coupon-warp {
  display: flex;
  align-content: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}

.quote-page .order-coupon-warp .total-row-coupon {
  background-color: var(--danger-bg-color);
  color: var(--danger-main-color);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  display: inline-block;
  border-radius: 4px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.quote-page .order-coupon-warp strong {
  font-weight: normal;
  white-space: nowrap;
}
