.d-flex {
    display: flex;
    align-items: center;
}

body:not(#product) #content-wrapper .b2b-container .page-title {
    line-height: 3rem!important;
}

.loader {
    margin-left: 0.5rem;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #dedede;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 2s linear infinite;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.feedback-message:empty {
    display: none;
}

.div-loading {
    pointer-events: none;
}

.b2b-loading {
    text-align: center;
    position: absolute;
    height: -webkit-fill-available;
    width: -webkit-fill-available;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background-color: #0000000a;
    pointer-events: none;
    left: 0;
    top: 0;
}

.b2b-loading:before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border: 2px solid #888;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(1turn);
    }
}

.checkmark {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #000;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #000;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark::after {
    content: '';
    display: block;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    position: absolute;
    transform: rotate(45deg);
    left: 22px;
    top: 17px;
    opacity: 0;
    animation: checkmark 0.8s ease-in-out 0.9s forwards;
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #000;
  }
}

@keyframes checkmark {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.b2b-rma-form.invalid input:invalid {
    border: 1px solid red;
}

.required-indicator {
    color: red;
}

.b2b-rma-form .form-group {
    position: relative;
}

.b2b-rma-form-footer .help-block {
  max-width: 234.2px;
}

.image-input-icon {
  display: flex;
  gap: 1rem;
  margin-top: 5px;
}

.image-input-icon img {
  max-width: 50px;
  max-height: 45px;
  object-fit: cover;
  border: 1px solid black;
  border-radius: 3px;
}

/* sku input loading */
.inputcontainer {
    position: relative;
}
  
input {
    width: 100%;
    font-size: 20px;
    box-sizing: border-box;
}
  
.sku-icon-container {
    position: absolute;
    right: 10px;
    top: calc(50% - 10px);
}

.sku-loader {
    position: relative;
    height: 20px;
    width: 20px;
    display: inline-block;
    animation: around 5.4s infinite;
}
  
@keyframes around {
    0% {
      transform: rotate(0deg)
    }
    100% {
      transform: rotate(360deg)
    }
}
  
.sku-loader::after, .sku-loader::before {
    content: "";
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    border-width: 2px;
    border-color: #333 #333 transparent transparent;
    border-style: solid;
    border-radius: 20px;
    box-sizing: border-box;
    top: 0;
    left: 0;
    animation: around 0.7s ease-in-out infinite;
}
  
  .sku-loader::after {
    animation: around 0.7s ease-in-out 0.1s infinite;
    background: transparent;
  }


/* b2b rma listing (/rmas) */
.agvertshoesb2brma-container > div {
  width: 100%;
}

.agvertshoesb2brma-container {
  display: flex;
  justify-content: center;
}

.agvertshoesb2brma-container tbody th {
  font-weight: normal;
}

.agvertshoesb2brma-box {
  padding: 20px 0;
  background: #FFFFFF;
  /* border: 1px solid #3ABB76; */
  border-radius: 4px;
  font-size: 15px;
  margin-bottom: 1rem;
}

.agvertshoesb2brma-box-title {
  border-bottom: 1px solid #D0D0D0;
  margin-bottom: 10px;
  padding: 0px 5px 10px;
}

.agvertshoesb2brma-container .labelWidget {
  float: left;
  position: relative;
  margin-right: 10px;
}

.agvertshoesb2brma-display-attachment {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 60px;
  height: 65px;
  border-radius: 5px;
  text-align: center;
  line-height: 58px;
  border: 1px solid #eee;
  cursor: pointer;
}

.agvertshoesb2brma-image-modal .modal-body {
  display: flex;
  justify-content: center;
  width: fit-content;
}

.agvertshoesb2brma-image-modal .modal-body img {
  max-width: 100%;
  max-height: 50vh;
  height: auto;
}

.agvertshoesb2brma-image-modal .modal-content {
  min-height: auto;
  width: fit-content;
  padding: 3rem;
}

.agvertshoesb2brma-box-title span {
  color: #333333;
  font-size: 22px;
}

.agvertshoesb2brma-information {
  margin-bottom: 1rem;
  padding: 10px 0px 5px 10px;
}

.agvertshoesb2brma-table tr td {
    font-size: 15px;
    color: #555;
    padding: 6px 9px 2px 9px;
}

.agvertshoesb2brma-table p {
  margin: 0;
}

.agvertshoesb2brma-table tbody tr {
  background: white !important;
  border-bottom: 1px solid #dee2e6;
}

.agvertshoesb2brma-table.table-bordered thead td, .agvertshoesb2brma-table.table-bordered thead th {
  border-bottom-width: 1px;
  background: white;
  border-bottom: 1px solid #dee2e6;
}

.agvertshoesb2brma-table.table td, .agvertshoesb2brma-table.table th {
  padding: .75rem;
}

/* Home B2B Front */
.my-account-page-content-wrapper #agvertshoesb2b-home-cards .card {
  min-height: 10rem;
  min-width: 16rem;
}

#agvertshoesb2b-home-cards .my-account-side-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  #agvertshoesb2b-home-cards .my-account-side-links {
      grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  #agvertshoesb2b-home-cards .my-account-side-links {
      grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .b2b-rma-form-footer {
      position: fixed;
  }
}

#agvertshoesb2b-home-cards .my-account-side-links .card .card-body {
  row-gap: .75rem;
  font-weight: normal;
  font-size: 1.5rem;
  color: black;
}

#agvertshoesb2b-home-cards .my-account-side-links .card .card-body:hover {
  color: #777;
}

#agvertshoesb2b-home-cards .my-account-side-links .card .card-body p {
  max-width: 155px;
  text-align: center;
  line-height: 25px;
  margin: 0;
}

#agvertshoesb2b-home-cards .my-account-side-links .card,
#page-side-links.my-account-side-links .card {
  transition: box-shadow 0.1s ease;
}

#agvertshoesb2b-home-cards .my-account-side-links .card:hover,
#agvertshoesb2b-side-links.my-account-side-links .card:hover {
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

#agvertshoesb2b-side-links a.side-link {
    padding-block: 1rem!important;
    border: 1px solid hsla(0,0%,63%,.25)!important;
}

#agvertshoesb2b-side-links {
  border-right: 1px solid hsla(0, 0%, 63%, .25);
}
