/**
 * Frontend Styles for Custom Order Form
 */

.wc-custom-order-form-wrapper,
.wc-custom-order-form {
  width: 100%;
}

.wc-custom-order-form .form-group {
  margin-bottom: 25px;
}

.wc-custom-order-form .required {
  color: #dc3232;
  margin-left: 3px;
}

button#wc-custom-order-submit {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  background: -webkit-linear-gradient(
    315deg,
    #009b42 0,
    #00751e 100%
  ) !important;
  background: -moz-linear-gradient(315deg, #009b42 0, #00751e 100%) !important;
  background: -o-linear-gradient(315deg, #009b42 0, #00751e 100%) !important;
  background: -webkit-linear-gradient(315deg, #009b42 0, #00751e 100%) !important;
  background: linear-gradient(135deg, #009b42 0, #00751e 100%) !important;
  padding: 10px 30px !important;
  -webkit-border-radius: 15px !important;
  -moz-border-radius: 15px !important;
  border-radius: 15px !important;
  font-size: 22px !important;
  line-height: 36px !important;
  color: #fff !important;
  font-weight: 500 !important;
  font-family: Noto Sans Bengali !important;
  text-decoration: none !important;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-shadow: 0 3px 7px -5px #000 !important;
  -moz-box-shadow: 0 3px 7px -5px #000 !important;
  box-shadow: 0 3px 7px -5px #000 !important;
  width: 100% !important;
}

button#wc-custom-order-submit:hover {
  background: -webkit-gradient(
    linear,
    right top,
    left top,
    color-stop(0, #009b42),
    to(#00751e)
  ) !important;
  background: -webkit-linear-gradient(
    right,
    #009b42 0,
    #00751e 100%
  ) !important;
  background: -moz-linear-gradient(right, #009b42 0, #00751e 100%) !important;
  background: -o-linear-gradient(right, #009b42 0, #00751e 100%) !important;
  background: -webkit-gradient(linear, right top, left top, color-stop(0, #009b42), to(#00751e)) !important;
  background: -webkit-linear-gradient(right, #009b42 0, #00751e 100%) !important;
  background: linear-gradient(270deg, #009b42 0, #00751e 100%) !important;
  -webkit-box-shadow: 0 3px 7px -3px #000 !important;
  -moz-box-shadow: 0 3px 7px -3px #000 !important;
  box-shadow: 0 3px 7px -3px #000 !important;
}

.wc-custom-order-form label {
  color: #333 !important;
  display: block !important;
  margin-bottom: 8px !important;
  font-size: 19px !important;
  line-height: 19px !important;
  font-weight: 500 !important;
  font-family: Noto Sans Bengali !important;
}

.wc-custom-order-form .form-control::-webkit-input-placeholder {
  color: #777 !important;
}

.wc-custom-order-form .form-control:-moz-placeholder {
  color: #777 !important;
}

.wc-custom-order-form .form-control::-moz-placeholder {
  color: #777 !important;
}

.wc-custom-order-form .form-control:-ms-input-placeholder {
  color: #777 !important;
}

.wc-custom-order-form .form-control::-ms-input-placeholder {
  color: #777 !important;
}

.wc-custom-order-form .form-control::placeholder {
  color: #777 !important;
}

.wc-custom-order-form .form-control {
  width: 100% !important;
  padding: 12px 10px 12px 15px !important;
  font-size: 17px !important;
  line-height: 17px !important;
  font-weight: 400 !important;
  font-family: Noto Sans Bengali !important;
  color: #111 !important;
  background-color: #f9f9f9 !important;
  border: 1px solid #c4dbce !important;
  -webkit-border-radius: 7px !important;
     -moz-border-radius: 7px !important;
          border-radius: 7px !important;
  -webkit-transition: border-color 0.3s ease !important;
  -o-transition: border-color 0.3s ease !important;
  -moz-transition: border-color 0.3s ease !important;
  transition: border-color 0.3s ease !important;
  -webkit-box-sizing: border-box !important;
     -moz-box-sizing: border-box !important;
          box-sizing: border-box !important;
}

.wc-custom-order-form .form-control:focus {
  outline: none;
  border-color: #0073aa;
  -webkit-box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
     -moz-box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
          box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.wc-custom-order-form select.form-control {
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
}

.wc-custom-order-form .error-message {
  display: none;
  color: #dc3232;
  font-size: 12px;
  margin-top: 5px;
}

.wc-custom-order-form .form-control.error {
  border-color: #dc3232;
}

.wc-custom-order-form .form-control.error + .error-message {
  display: block;
}

.wc-custom-order-form .btn-submit:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.wc-custom-order-form .form-messages {
  margin-top: 15px;
  padding: 10px;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  display: none;
}

.wc-custom-order-form .form-messages.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.wc-custom-order-form .form-messages.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.wc-custom-order-form .form-control:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 1000px #f9f9f9 !important;
    -webkit-text-fill-color: #111 !important;
}