.sv-fade-page {
  display: none;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 10;
  top: 0;
  left: 0;
  position: fixed;
}

.sv-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  width: 400px;
  max-width: calc(100% - 20px);
  max-height: 100%;
  overflow: auto;
}

/* based on https://codepen.io/AntoineBoulanger/pen/VwgmrJ */
/* Resets */
input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  outline: none;
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Label */
.sv-label {
  display: block;
  margin-bottom: 0.25em;
  color: white;
}

/* Input */
.sv-input {
  padding: 10px;
  border: 1px solid lightgray;
  border-radius: 5px;
  background-color: white;
}

.sv-input:focus {
  border-color: gray;
}

.sv-input::placeholder {
  color: gray;
}

/* Submit */
.sv-input-submit {
  background-color: #13a2ff;
  color: white;
  font-size: 1rem;
  border: 0;
  width: auto;
  margin: 0 auto;
  padding: 10px 25px;
}

.sv-input-submit:focus,
.sv-input-submit:hover {
  background-color: #3cb2ff;
}

.sv-input-submit:disabled {
  background-color: rgba(19, 162, 255, 0.7);
}

/* Form */
.sv-form {
  font-family: Arial, Helvetica, sans-serif;
  padding: 5px 20px 10px 20px;
  max-width: 350px;
  background-color: #5f6064;
  border-radius: 5px;
}

.sv-form h1 {
  display: inline-block;
  margin: 0.5em 0;
  color: white;
}

.sv-form a {
  text-decoration: none;
  color: #64f1ff;
}
.sv-form a:focus,
.sv-form a:hover {
  color: #fff364;
}

.sv-form .sv-input {
  margin-bottom: 1em;
}

.sv-form p {
  margin: 0.5em 0;
}
.sv-form p.sv-warn {
  margin-bottom: 0.8em;
  color: yellow;
}
.sv-form p.sv-info {
  margin-bottom: 0.8em;
}

/* Close */
.sv-close {
  margin-top: 8px;
  float: right;
  background: none;
  border: transparent 2px solid;
  border-radius: 5px;
  padding: 0 8px;
  color: white;
  font-size: 32px;
}

.sv-close:hover,
.sv-close:focus {
  border-color: white;
}
