.warranty-form-card {
  background-color: #ffffff;
  border-left: 6px solid #ff6806;
  border-radius: 20px;
}

.btn-orange {
  background-color: #ff6806;
  border-color: #ff6806;
  color: white;
  border-radius: 10px;
  min-width: 150px;
}

.bt-cancel {
  background: rgb(221, 221, 221);
  border-radius: 10px;
  color: rgb(255, 255, 255);
  min-width: 150px;
}

.bt-cancel:hover {
  background: rgb(187, 187, 187);
  color: rgb(255, 255, 255);
}

.btn-orange:hover {
  color: white !important;
  background-color: #eb5e00;
  border-color: #e65c00;
}

.text-primary {
  color: #0e1541 !important;
}

.form-control:focus {
  border-color: #e58411;
  box-shadow: 0 0 0 0.2rem rgba(229, 132, 17, 0.25);
}

.contact-header {
  margin-top: 40px;
  color: #ffffff;
  text-align: center;
  font-weight: 600;
}

.wp-header {
  margin-top: 40px;
  font-size: 13px;
  font-weight: 400;
  color: #ff6806;
  display: none;
}

.header-input {
  font-size: 15px;
  font-weight: 500;
  color: #0e1541;
}

.gray-bg {
  position: fixed;
  width: 100vw;
  height: 40vh;
  min-height: 350px;
  background-image: url("/assets/images/banner/banner-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -10;
  filter: grayscale(70%) blur(2px);
}

.input-field,
.input-area {
  font-size: 14px;
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 15px;
  border: solid 1px #c9c9c9;
  width: 100%;
  box-sizing: border-box;
  transition: all ease 0.3s;
}

.input-field-option {
  font-size: 14px;
  font-weight: 400;
  border-radius: 15px;
  border: solid 1px #c9c9c9;
  width: 100%;
  box-sizing: border-box;
  transition: all ease 0.3s;
  padding: 10px 20px !important;
  height: 43px;
}

.input-field-date {
  font-size: 14px;
  font-weight: 400;
  border-radius: 15px;
  border: solid 1px #c9c9c9;
  width: 100%;
  box-sizing: border-box;
  transition: all ease 0.3s;
  padding: 10px 20px !important;
  height: 43px;
}

input[type="date"].custom-date {
  -webkit-appearance: none;
  font-size: 14px;
  font-weight: 400;
  border-radius: 15px;
  border: solid 1px #c9c9c9;
  width: 100%;
  box-sizing: border-box;
  transition: all ease 0.3s;
  padding: 10px 20px !important;
  height: 43px;
}

.input-field:focus,
.input-area:focus {
  border: solid 1px #ff6806;
  outline: #ff6806;
}

.wr-descripption {
  font-weight: 400;
  font-size: 15px;
  color: #ffffff !important;
  margin-top: 10px;
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  /* พื้นหลังดำโปร่ง */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-content {
  text-align: center;
  color: white;
  font-size: 18px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #ffffff;
  border-top: 6px solid #ff6600;
  /* สีหมุน */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px auto;
}

.swal2-toast-custom {
  background: #e6fff1 !important;
  font-size: 16px;
  color: #1a8754 !important;
  font-weight: 200 !important;
  border: 1px solid #1a8754;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.swal2-toast-custom .swal2-title,
.swal2-toast-custom-red .swal2-title {
  font-weight: 400;
}

.swal2-toast-custom-red {
  background: #ffe6e6 !important;
  font-size: 16px;
  color: #871a1a !important;
  font-weight: 200 !important;
  border: 1px solid #871a1a;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.text-danger {
  font-size: 13px;
}

.border-danger {
  border: solid 1px #be1111;
}
.swal2-confirm:focus {
  box-shadow: none !important;
  outline: none !important;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 574px) {
  .main-card {
    box-shadow: none;
    background: #73768d00;
  }

  .gray-bg {
    display: none;
  }

  .contact-header {
    color: #0e1541;
    font-size: 23px;
  }

  .wr-descripption {
    font-weight: 400;
    font-size: 14px;
    color: #000000 !important;
    margin-top: 10px;
  }

  .warranty-form-card {
    background-color: #ffffff;
    border-left: none;
    border-radius: 20px;
    box-shadow: none !important;
    margin-top: -40px;
  }

  .contact-header {
    margin-top: 0px;
  }

  .wp-header {
    display: block;
  }
}
