body {
  background-color: #fff;
  color: #003865;
  font-family: Geologica, Arial, Helvetica, sans-serif;
}

button {
  cursor: pointer;
}

.htmx-indicator {
  opacity: 0;
  transition: opacity 200ms ease-in;
}

.htmx-request .htmx-indicator {
  opacity: 1;
}

.htmx-request.htmx-indicator {
  opacity: 1;
  animation: pulse 1s infinite;
}

.button-secondary {
  border: #025bff;
  background-color: #001335;
}

.button-secondary::hover,
.button-secondary::active,
.button-secondary::focus {
  background-color: #025bff;
  color: #fff;
}

#loading-spinner {
  display: none;
  /* Hidden by default */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: blue;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}

h2 {
  text-align: center;
}

h2 span {
  color: #00ffa9;
}

.input {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 1em;
  max-width: 350px;
  width: calc(100% - 2em);
  vertical-align: top;
}

.input_field {
  position: relative;
  display: block;
  padding: 0.8em;
  width: 60%;
  border: none;
  border-radius: 0;
  background: #f0f0f0;
  color: #aaa;
  font-weight: bold;
  font-family: "Roboto", Arial, sans-serif;
  -webkit-appearance: none;
  /* for box shadows to show on iOS */
}

.input_field:focus {
  outline: none;
}

.input_label {
  display: inline-block;
  float: right;
  padding: 0 1em;
  width: 40%;
  color: #6a7989;
  font-weight: bold;
  font-size: 70.25%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.input_fx {
  overflow: hidden;
}

.input_field_fx {
  max-width: none;
  margin-top: 1em;
  padding: 0.85em 0.15em;
  width: 100%;
  background: transparent;
  color: #595f6e;
}

.input_label_fx {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0 0.25em;
  width: 100%;
  height: calc(100% - 1em);
  text-align: left;
  pointer-events: none;
}

.input_label-content_fx {
  position: absolute;
}

.input_label_fx::before,
.input_label_fx::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 10px);
  border-bottom: 1px solid #b9c1ca;
}

.input_label_fx::after {
  margin-top: 2px;
  border-bottom: 4px solid red;
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
}

.input_label_fx-color-1::after {
  border-color: hsl(200, 100%, 50%);
}

.input_label_fx-color-2::after {
  border-color: hsl(160, 100%, 50%);
}

.input_label_fx-color-3::after {
  border-color: hsl(20, 100%, 50%);
}

b.fx-color-1 {
  color: hsl(200, 100%, 50%);
}

b.fx-color-2 {
  color: hsl(160, 100%, 50%);
}

b.fx-color-3 {
  color: hsl(20, 100%, 50%);
}

.input_field_fx:focus + .input_label_fx::after,
.input_filled .input_label_fx::after {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.input_field_fx:focus + .input_label_fx .input_label-content_fx,
.input_filled .input_label-content_fx {
  -webkit-animation: anim-1 0.3s forwards;
  animation: anim-1 0.3s forwards;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select option {
  border: #ccc;
}

.success {
  text-align: center;
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #c9feda;
  border-color: #d6e9c6;
  color: #00ffa9;
}

.error {
  text-align: center;
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fedee2;
  border-color: #ebccd1;
  color: #ff496e;
}

a.back,
a.back:visited {
  display: inline-block;
  margin-top: 3.5em;
  color: #aaa;
  font-size: 16pt;
  text-decoration: none;
  transition: all 0.5s ease;
  moz-transition: all 0.5s ease;
  webkit-transition: all 0.5s ease;
}

a.back:hover,
a.back:focus {
  color: #555;
  text-decoration: underline;
}

a.switch,
a.switch:visited {
  display: inline-block;
  text-decoration: none;
  color: #ccc;
  font-size: 16pt;
  width: 100%;
  padding: 10px;
  padding-top: 25px;
  padding-bottom: 25px;
  margin-bottom: 3em;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  outline: none;
  cursor: pointer;
  transition: all 0.5s ease;
  moz-transition: all 0.5s ease;
  webkit-transition: all 0.5s ease;
}

a.switch:hover,
a.switch:focus {
  color: #595f6e;
  border-top: 1px solid #595f6e;
  border-bottom: 1px solid #595f6e;
}

a.switch.lang {
  font-size: 15px;
  padding-bottom: 0px;
  margin-bottom: 1em;
  border-bottom: 0;
}

.input_checkbox {
  margin-top: 2.3em;
}

input[type="checkbox"] {
  height: 10px;
  width: 10px;
  -webkit-appearance: checkbox;
}

input[type="submit"] {
  display: inline-block;
  height: 2.5em;
  width: 9.5em;
  margin-top: 60px;
  background-color: #50ff42;
  border: 5px solid #50ff42;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: 24pt;
  outline: none;
  cursor: pointer;
  transition: all 0.5s ease;
  moz-transition: all 0.5s ease;
  webkit-transition: all 0.5s ease;
}

input[type="button"] {
  display: inline-block;
  height: 2.5em;
  width: 7.5em;
  margin-top: 60px;
  color: #404d5b !important;
  background-color: white !important;
  border-color: #404d5b !important;
  border: 5px solid #595f6e;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  font-size: 24pt;
  outline: none;
  cursor: pointer;
  transition: all 0.5s ease;
  moz-transition: all 0.5s ease;
  webkit-transition: all 0.5s ease;
}

input[type="submit"]:hover,
input[type="submit"]:focus {
}

input.deny[type="submit"]:hover,
input.deny[type="submit"]:focus {
  color: #ff5500;
  background-color: #fff;
  cursor: pointer;
  border: 5px solid #ff5500;
}

input[type="submit"]:active {
  opacity: 1;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1) inset;
}

.confirmation span.flag {
  font-weight: bold;
  text-decoration: underline;
  white-space: nowrap;
}

.confirmation {
  padding: 25px;
}

.confirmation p.block {
  font-size: 18px;
  text-align: justify;
}

.confirmation p.centerblock {
  font-size: 18px;
}

.changes {
  display: table;
  border-collapse: collapse;
  max-width: 80%;
  margin: 0 auto;
  font-size: 16px;
  padding: 10px;
  border-radius: 5px;
  background-color: #eee;
  text-align: left;
  margin-top: 25px;
  margin-bottom: 25px;
}

.changes .row:nth-child(even) {
  background: #fff;
}

.changes .row td {
  min-width: 150px;
  padding: 5px;
}

.changes thead tr {
  background: #fff;
}

.confirmation span.trigger {
  margin-top: 3em;
}

.domainlist {
  font-family: monospace;
  height: 200px;
  width: 500px;
  resize: none;
  text-align: left;
  font-size: 16px;
}

a,
a:visited,
a:active {
  color: hsl(200, 100%, 50%);
}

div.wrap ul {
  font-size: 18px;
  text-align: justify;
}

.body-wrapper {
  margin-top: 1rem;
  margin-left: 2rem;
  margin-right: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.button_container {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  margin-top: -2rem;
}

.back {
  cursor: pointer;
}
.generic-info,
.page-description,
#content-wrapper {
  margin-left: 3rem;
  margin-right: 3rem;
}

#content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: space-between;
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid #003865;
  border-radius: 0.375rem;
}

.control-btns {
  display: flex;
  flex-direction: row;
  justify-content: left;
  margin-bottom: 1rem;
}

.input_form {
  text-align: center;
}

button {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;

  color: #fff;

  background-color: #00a3e0;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes fade-out {
  to {
    opacity: 0;
  }
}

@keyframes slide-from-right {
  from {
    transform: translateX(90px);
  }
}

@keyframes slide-to-left {
  to {
    transform: translateX(-90px);
  }
}

/* define animations for the old and new content */
::view-transition-old(slide-it) {
  animation:
    90ms cubic-bezier(0.4, 0, 1, 1) both fade-out,
    300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-to-left;
}

::view-transition-new(slide-it) {
  animation:
    210ms cubic-bezier(0, 0, 0.2, 1) 45ms both fade-in,
    300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-from-right;
}

/* tie the view transition to a given CSS class */
.sample-transition {
  view-transition-name: slide-it;
}

.action-btn {
  color: #404d5b !important;
  background-color: white !important;
  border-color: #404d5b !important;
}

.switch-btn {
  margin-top: -0.8rem !important;
  color: #404d5b !important;
  background-color: white !important;
  border-color: #404d5b !important;
  border: 0.1rem solid #404d5b !important;
  min-height: fit-content !important;
  display: inline-block !important;
  border-radius: 5px;
  font-weight: 300 !important;
  text-align: center !important;
  font-size: 24pt;
}
