/* Trang Dịch vụ bảo hành trực tuyến */
select,
select:focus,
select.form-control {
  transform: unset !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 4px;
}
.branch form {
  max-width: unset;
}
form input:focus,
form input {
  border: 1px solid #e5e5e5 !important;
}
form .form-group {
  margin-bottom: 1rem;
  gap: 1rem;
}
form .form-group label {
  margin-bottom: 0 !important;
  font-weight: 500 !important;
  width: 30%;
  min-width: 210px;
  font-size: 1.1rem;
  font-weight: 500;
}
form .form-group input,
form .form-group .selectwrap {
  width: 100%;
  max-width: 300px;
}
form .form-group .selectwrap select {
  border: unset !important;
  width: 100% !important;
}
form .form-group small {
  color: red;
  margin-top: 2px;
}
form .action-btns {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
form .action-btns button,
form .action-btns button:focus,
#btn-close-success,
#btn-close-success:focus {
  padding: 5px 3rem;
  text-transform: uppercase;
  font-size: 1rem;
}
form .table > thead > tr > th,
form .thead,
#table-products-popup > thead > tr > th,
#table-products-popup .thead {
  color: #000;
  text-align: center;
}
form table th,
#table-products-popup th {
  padding: 10px 5px !important;
  vertical-align: middle !important;
}
form table td,
#table-products-popup td {
  padding: 3px 5px !important;
}
form table tr td:first-child,
#table-products-popup tr td:first-child {
  vertical-align: middle;
  text-align: center;
}
form table tr td:last-child,
#table-products-popup tr td:last-child {
  width: 30px;
  vertical-align: middle;
  text-align: center;
}
form table tr td:last-child svg,
form table tr td:last-child button,
#table-products-popup tr td:last-child svg,
#table-products-popup tr td:last-child button {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  color: red;
}
form table tr td:last-child button,
#table-products-popup tr td:last-child button {
  border: unset;
  background: transparent;
  padding: 0;
}
form table tr td:last-child button:hover path,
#table-products-popup tr td:last-child button:hover path {
  fill: red;
}
form table .form-group,
#table-products-popup .form-group {
  margin-bottom: 0 !important;
}
form table .form-group input,
#table-products-popup .form-group input {
  padding: 5px 10px !important;
}
a,
button {
  transition: all 0.3s ease-in-out;
}
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  border-radius: 0%;
  width: auto;
  height: auto;
  text-align: center;
}
.ui-datepicker-title {
  display: flex;
  position: relative;
}
.ui-datepicker-title select {
  padding: 0;
  height: auto;
  background: #fff !important;
  text-align: center;
  border: 1px solid black !important;
}
.ui-datepicker-title select::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 0;
  top: 0;
  background-image: url(./img/down-arrow.svg);
}
form .btn-transparent {
  background-color: unset;
  padding: unset;
  border: unset;
}
form .btn-transparent:hover {
  color: #234483;
}
form table {
  margin-bottom: 0 !important;
}
#table-products-popup * {
  font-size: 0.7rem !important;
  vertical-align: middle;
}
#table-products-popup th {
  font-size: 0.6rem !important;
}
/* Loading */
.lds-default,
.lds-default div {
  box-sizing: border-box;
}
.lds-default {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-default div {
  position: absolute;
  width: 6.4px;
  height: 6.4px;
  background: #0e2d77;
  border-radius: 50%;
  animation: lds-default 1.2s linear infinite;
}
.lds-default div:nth-child(1) {
  animation-delay: 0s;
  top: 36.8px;
  left: 66.24px;
}
.lds-default div:nth-child(2) {
  animation-delay: -0.1s;
  top: 22.08px;
  left: 62.29579px;
}
.lds-default div:nth-child(3) {
  animation-delay: -0.2s;
  top: 11.30421px;
  left: 51.52px;
}
.lds-default div:nth-child(4) {
  animation-delay: -0.3s;
  top: 7.36px;
  left: 36.8px;
}
.lds-default div:nth-child(5) {
  animation-delay: -0.4s;
  top: 11.30421px;
  left: 22.08px;
}
.lds-default div:nth-child(6) {
  animation-delay: -0.5s;
  top: 22.08px;
  left: 11.30421px;
}
.lds-default div:nth-child(7) {
  animation-delay: -0.6s;
  top: 36.8px;
  left: 7.36px;
}
.lds-default div:nth-child(8) {
  animation-delay: -0.7s;
  top: 51.52px;
  left: 11.30421px;
}
.lds-default div:nth-child(9) {
  animation-delay: -0.8s;
  top: 62.29579px;
  left: 22.08px;
}
.lds-default div:nth-child(10) {
  animation-delay: -0.9s;
  top: 66.24px;
  left: 36.8px;
}
.lds-default div:nth-child(11) {
  animation-delay: -1s;
  top: 62.29579px;
  left: 51.52px;
}
.lds-default div:nth-child(12) {
  animation-delay: -1.1s;
  top: 51.52px;
  left: 62.29579px;
}
@keyframes lds-default {
  0%,
  20%,
  80%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}
#loading-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #00000079;
}
/* End Loading */
@media only screen and (max-width: 576px) {
  .table-wrapper {
    overflow: scroll;
  }
  #table-products th {
    font-size: 0.7rem;
    font-weight: 400;
  }
  form .form-group label {
    min-width: 100px;
    font-size: 1rem;
  }
}
