:root {
    --dark-gray: rgb(69,69,70);
    --light-gray: #cccccc;
    --red: #bf5757;
    --green: #26a389;
}
body {
    margin: 0px;
    padding: 0px;
    color: var(--dark-gray);
    background-color: #f3f3f3;
}
body.embedded {
    background-color: inherit;
}
#logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-size: 12px;
}
#logo img {
    /* display: none;  */
    height: 50px;
    width: auto;
}
#content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
form#rma {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 600px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}
label {
    font-size: 10px;
    display: flex;
    flex-direction: column;
}
h2 {
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 2px;
    /* border-bottom: 1px solid #cccccc; */
}
input, select, textarea {
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    padding: 5px;
    background-color: white;
}
input:focus, select:focus {
    outline: none;
    border: 1px solid var(--dark-gray);
}
input:user-invalid, select:user-invalid, textarea:user-invalid {
    border: 1px solid red;
}
label > span {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
label .error {
    margin-left: 5px;
    color: red;
}
.button {
    background-color: var(--green);
    color: white;
    padding: 10px;
    border: none;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 36px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px
}
.button.quiet {
    background-color: #e5e7eb;
    color: #6b7280;
}
.button:disabled {
    cursor: not-allowed;
}
.button.loading {
    cursor: wait;
}
.double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: row;
    gap: 10px;
}
.show-loading {
    display: none;
}
form.loading {
    .hide-loading {
        display: none;
    }
    .show-loading {
        display: flex;
    }
}
#errors {
    background-color: var(--red);
    color: white;
    padding: 10px;
    display: none;
}
#content {
    padding-left: 10px;
    padding-right: 10px;
}

/** RMA Status Page **/
#status {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgb(172, 172, 172);
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}
#status h3 {
    margin: 0;
}
#status .step {
    display: flex;
    justify-content: space-between;
    opacity: .3;
}
#status .step.complete, #status .step.current {
    opacity: 1;
}
#status .step svg {
    width: 35px;
    height: 35px;
    color: rgb(204, 204, 204);
}
#status .step.complete svg, #status .step.current svg {
    color: var(--green);
}
#status .step p {
    color: gray;
    font-size: 14px;
    margin: 0;
    display: none;
}
#status .step.current p {
    display: block;
}
.turnstile-wrapper {
    min-height: 80px;
}

/* .loader, .loader:before, .loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    animation-fill-mode: both;
    animation: bblFadInOut 1.8s infinite ease-in-out;
  }
  .loader {
    color: #FFF;
    font-size: 7px;
    position: relative;
    text-indent: -9999em;
    transform: translateZ(0);
    animation-delay: -0.16s;
  }
  .loader:before,
  .loader:after {
    content: '';
    position: absolute;
    top: 0;
  }
  .loader:before {
    left: -3.5em;
    animation-delay: -0.32s;
  }
  .loader:after {
    left: 3.5em;
  }
  
  @keyframes bblFadInOut {
    0%, 80%, 100% { box-shadow: 0 2.5em 0 -1.3em }
    40% { box-shadow: 0 2.5em 0 0 }
  }
      
         */


         /* HTML: <div class="loader"></div> */
.loader {
    color: #ffffff;
    width: 4px;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 19px 0 0 7px, 38px 0 0 3px, 57px 0 0 0;
    transform: translateX(-38px);
    animation: l21 .8s infinite alternate linear;
  }
  
  @keyframes l21 {
    50%  {box-shadow: 19px 0 0 3px, 38px 0 0 7px, 57px 0 0 3px}
    100% {box-shadow: 19px 0 0 0  , 38px 0 0 3px, 57px 0 0 7px}
  }
.history {
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
    flex-direction: column;
    /* opacity: .8; */
}
.history .meta {
    display: flex;
    gap: 20px;
    opacity: .7;
}
.history p {
    margin: 0px;
}

.product {
    margin-bottom: 15px;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(223, 223, 223);
    padding: 5px;
    border-radius: 5px;
}
.product .header {
    display: flex;
    justify-content: end;
}
.product .header button {
    border: none;
    background-color: transparent;
    cursor: pointer;
}