/*
 * ================================
 * Copyright (c) by Aelyn <https://aelysia.net> and Cerine <https://caelestis.nu>
 *
 * This domain exists in a state of continual development, and its governing codes
 * are subject to ongoing revision. While critical study and analytical engagement
 * are permitted, any form of reproduction, appropriation, or misattribution of
 * this work is strictly prohibited.
 * ================================
 */

/* ================================
   FONTS
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap');






/* ================================
   GLOBALS
   ================================ */

div#qTip {
  background: #fefefe;
  font: normal 0.8em 'Fira Sans', sans-serif;
  line-height: 20px;
  color: #444;
  display: none;
  padding: 10px;
  z-index: 1000;
  text-shadow: none;
  text-align: justify;
  position: absolute;
  border: 0;
  border-radius: 5px;
  max-width: 350px;
}

.req {
  color: #ff0000;
}

.showCredit,
.form-check {
  display: none;
}

.center {
    display: flex;
    justify-content: center;
    gap: 1px;
    flex-wrap: wrap;
    align-items: center;
}

.stat {
    width: 100%;
    text-align: center;
}





/* ================================
   FORMS
   ================================ */

.select optgroup {
  font-weight: normal;
  font-style: normal;
}

.form {
  font-size: 1rem;
  margin: 0 auto;
  width: 750px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.form-inline {
  display: flex;
  flex-direction: column;
  gap: 0px;
  box-sizing: border-box;
  width: 48%;
  margin-bottom: 10px;
  margin-top: auto;
}

.form-inline label,
.form-inline div.label {
  display: block;
  margin: 0px;
}

.form-inline input, .form-inline select {
  width: 100%;
  padding: 0.8em;
  margin-top: 5px;
  margin-bottom: 10px;
  box-sizing: border-box;
  font-size: 1rem;
}

.pw-container {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-bottom: 0;
}

.pw-container input {
  flex: 1 1 45%;
  padding: 0.8em;
  margin: 5px 0;
  box-sizing: border-box;
}

.form-inline.password-field {
  width: 100%;
  flex-direction: column;
  gap: 0;
}

.form-inline.password-field label {
  margin-bottom: 10px;
}

.form-inline-2 {
  text-transform: none;
  text-align: justify;
  display: block;
  vertical-align: top;
  overflow: hidden;
  width: 100%;
  margin: 3px auto;
}

label,
div.label {
  display: block;
  text-align: left;
  margin-bottom: 0;
  padding-bottom: 0;
}

input,
select,
option {
  font-weight: normal;
  font-size: 1rem;
  border: 0;
  padding: 0.8em;
  line-height: 20px;
  resize: none;
  width: 100%;
  margin: 5px 0;
}

input:hover[type="text"],
input:hover[type="email"],
input:hover[type="url"],
input:hover[type="password"],
textarea:hover,
option:hover,
select:hover {
  border: 0;
}

input[type="submit"],
input[type="button"],
button {
  width: 200px;
  background-image: linear-gradient(-180deg, #00d775, #00bd68);
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px;
  color: #fff;
  white-space: nowrap;
  padding: 0.8em;
  border: 0;
  cursor: pointer;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
  background: #00bd68;
}

input[type="reset"] {
  width: 200px;
  background-image: linear-gradient(-180deg, #fe7b2f, #e73005);
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px;
  color: #fff;
  white-space: nowrap;
  padding: 0.8em;
  border: 0;
  cursor: pointer;
}

input[type="reset"]:hover {
  background: #e73005;
}

input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  height: 20px;
}

textarea {
  border: 0;
  padding: 0.8em;
  resize: none;
  width: 100%;
  height: 200px;
}

.form-btn {
  margin: 0 auto;
  text-align: center;
}

.upload-block {
  margin-bottom: 25px;
  padding-bottom: 15px;
}


/* ================================
   RESPONSIVE DESIGN (WIP)
   ================================ */

@media (max-width: 768px) {
  .form {
    flex-direction: column;
  }

  .form-inline {
    width: 100%;
  }
}




/* ================================
   ALERTS
   ================================ */

.alert .inner {
  display: block;
  padding: 6px;
  margin: 6px;
  border-radius: 3px;
  border: 1px solid rgb(180, 180, 180);
  background-color: rgb(212, 212, 212);
  text-shadow: none;
}

.alert.error .inner {
  border: 1px solid rgb(238, 211, 215);
  background-color: rgb(242, 222, 222);
  color: rgb(185, 74, 72);
  text-shadow: none;
}

.alert.error .inner b {
  color: rgb(185, 74, 72);
  text-shadow: none;
}

.alert.success .inner {
  border: 1px solid rgb(214, 233, 198);
  background-color: rgb(223, 240, 216);
  color: rgb(70, 136, 71);
  text-shadow: none;
}

.alert.success .inner b {
  color: rgb(70, 136, 71);
  text-shadow: none;
}