@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
  font-family: 'Roboto', sans-serif;
  border-radius: 2px !important;
  font-size: 16px;
}

.main-container {
  color: #373c44;
  max-width: 1450px;
  min-height: 100vh;
  padding: 15px 20px 20px 20px;
}

a {text-decoration: none;}

.address-button {
  float: right;
  padding: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 14px;
}

article {
  background-color: #ffffff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  padding: 1rem;
  position: relative;
}

article.error {
  border: 1px solid rgb(138, 20, 20);
  color: #000000;
  margin-top: 2rem;
}

article.error h5 {
  color: rgb(138, 20, 20);
}

article.success {
  border: 1px solid rgb(16, 110, 12);
  color: #000000;
  margin-top: 2rem;
  padding-bottom: 2rem;
  padding-top: 2rem;
  text-align: center;
}

article.success h5 {
  color: rgb(16, 110, 12);
  margin-bottom: 2.5rem;
}

article.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

article.radio-group input {
  margin-right: 0.3rem;
}

article.radio-group input, article.radio-group label {
  cursor: pointer;
}

#authority {
  margin-right: 0.5rem;
}

body {
  background: linear-gradient(135deg, #fff 0%, rgb(74, 18, 255, 0.03) 100%);
  font-family: 'Roboto', sans-serif;
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.custom-grid .span-2 {
  grid-column: span 2;
}

.custom-grid .span-3 {
  grid-column: span 3;
}

@media screen and (max-width: 1024px) {
  .custom-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .custom-grid .span-2, .custom-grid .span-3 {
    grid-column: span 1;
  }
}

.error-server {
  background-color: #ffffff;
  border: 1px solid rgb(138, 20, 20);
  border-radius: var(--pico-border-radius);
  color: rgb(187, 0, 0);
  font-weight: 600;
  line-height: 2rem;
  margin: auto;
  margin-bottom: 0rem;
  margin-top: 3rem;
  max-width: 600px;;
  padding: var(--pico-block-spacing-vertical) var(--pico-block-spacing-horizontal);
  text-align: center;
}

.error-server p {
  color: rgb(187, 0, 0);
  font-weight: 600;
}

fieldset label {
  display: block;
  margin-bottom: 1rem;
}

fieldset label input, fieldset label select {
  margin-top: 0.4rem;
  margin-bottom: 0.2rem;
}

.fieldset-header {
  font-weight: 600;
  margin-top: 0.0rem;
  margin-bottom: 0.6rem;
}

.fill-test-data-button {
  position: absolute;
  right: 0;
  top: 0;
}

footer {
  border-top: 1px solid #eeeeee;
  margin-bottom: 2rem;
  margin-top: 2rem;
  padding-top: 1rem;
}

footer aside {
  color: #777d85;
  font-size: 12px;
  line-height: 20px;
  max-width: 540px;
  margin: auto;
  text-align: center;
}

header {
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

html {
  font-family: 'Roboto', sans-serif;
}

.is-invalid {
  background-color: #ff000003;
}

.licence-info {
  margin-bottom: 1rem;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.merchant-name {
  font-weight: 600;
}

.option-header {
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.6rem
}

p {
  margin-bottom: 0.75rem;
}

.reference {
  margin-top: 2rem;
  text-align: center;
}

.reference span {
  font-weight: 600;
  margin: auto;
}

/* -------------------------------------------------------------------------------------------------------------------- */
/* Rello Alerts */
/* -------------------------------------------------------------------------------------------------------------------- */
.rello-alert {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  color: #ffffff;
  padding: 1.8rem 1.5rem 1.25rem 0.5rem;
  top: -200px;
  transition: top 0.4s ease 0s;
  min-width: 380px;
  max-width: 820px;
  z-index: 9999;
}

.rello-alert-success {
  background-color: #145f25;
}

.rello-alert-danger {
  background-color: #dc3545;
}

.rello-alert .btn-close {
  position: absolute;
  right: 4px;
  top: 4px;
}

/* -------------------------------------------------------------------------------------------------------------------- */
/* Rello Overlay */
/* -------------------------------------------------------------------------------------------------------------------- */
.rello-overlay {
  align-items: center;
  background-color: rgba(255, 255, 255, 0.753);
  display: flex;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.rello-overlay > div {
  padding: 20px;
  border-radius: 8px;
  font-size: 18px;
  color: #333;
}

.rello-overlay > div > img {
  display: inline-block;
  margin-bottom: 10px;
  margin-right: 10px;
}

.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}

.row-eq-height article {
  height: 100%;
}

section {
  margin-bottom: 2rem;
  position: relative;
}

small {
  display: none;
}

.submit-button:hover {
  background-color: #005800;
  color: #ffffff;
}

.submit-container {
  margin-top: 2.5rem;
  text-align: center;
}

@media (min-width: 1536px) {
  :root {
    --pico-font-size: 110.0%;
  }
}

@media (min-width: 1280px) {
  :root {
    --pico-font-size: 107.5%;
  }
}

@media (min-width: 1024px) {
  :root {
    --pico-font-size: 105.0%;
  }
}

@media (min-width: 768px) {
  :root {
    --pico-font-size: 102.5%;
  }
}

@media (min-width: 576px) {
  :root {
    --pico-font-size: 100.0%;
  }
}
