.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;
}

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

  100% {
    transform: rotate(360deg);
  }
}
.contact-header {
  color: #ffffff;
  text-align: center;
  margin-top: 40px;
  font-weight: 600;
}

.main-card {
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  background: #fff;
  margin-top: -30px;
}

.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);
}

.blue-text {
  color: #0e1541;
}

.right-card {
  background-color: #0e1541;
  border-radius: 15px;
  color: #fff;
  padding: 25px 30px;
  height: 100%;
}

.sub-card {
  background: #ffffff3a;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.sub-card i {
  font-size: 28px;
  margin-right: 15px;
}

.sub-card .text-content h6 {
  margin: 0;
  font-weight: 500;
  font-size: 1rem;
}

.sub-card .text-content p {
  margin: 3px 0 0;
  font-size: 14px;
  font-weight: 300;
  opacity: 0.85;
}

.divider {
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  margin: 20px 0;
}

.contact-icons a {
  color: #fff;
  font-size: 24px;
  margin-right: 18px;
}

.btn-send {
  display: block;
  margin-left: auto;
  background: #0e1541;
  transition: ease all 0.3s;
  border-radius: 10px;
  color: white;
}

.btn-send:hover {
  display: block;
  margin-left: auto;
  background: #1d2b8a;
  color: white;
}

.header-detail {
  font-size: 14px;
}

.header-input {
  font-size: 15px;
  font-weight: 500;
}

.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-area {
  border-radius: 15px;
}

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

.right-header {
  font-size: 20px;
  font-weight: 400 !important;
  width: 80%;
}
.contact-icon {
  font-weight: 400 !important;
}

@media (max-width: 991.98px) {
  .btn-send {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .right-card {
    padding: 20px;
  }

  .sub-card {
    flex-direction: row;
  }

  .btn-send {
    width: 100%;
  }
}

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

  .gray-bg {
    display: none;
  }

  .contact-header {
    text-align: left;
    margin-top: 40px;
    margin-left: 22px;
    color: #ff6806;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: -35px;
  }
}
