/***********************
******** BASE ********** 
************************/
* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  background: var(--color-dark-primary);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/***************************
******** ELEMENTS ********** 
****************************/

/** TEXT **/

p,
label,
span {
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
}

p {
  font-weight: 300;
  color: var(--color-res-pale);
  margin: 0;
  padding: 0 0 28px 0;
}

h1 {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  color: var(--color-light-primary);
  font-size: 28px;
  margin: 0;
  padding: 0;
  text-align: left;
  display: block;
  width: 100%;
  margin-bottom: 18px;
}

/** BUTTONS **/

button {
  color: var(--color-dark-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  line-height: 25px;
  background: var(--color-light-primary);
  border-radius: 28px;
  height: 56px;
  transition: 0.3s;
  font-size: 14px;
  border: none;
  width: 100%;
}

button:active {
  transform: scale(0.95);
  box-shadow: -3px -3px 6px 0px rgba(131, 165, 175, 0.25),
    3px 3px 6px 0px rgba(19, 41, 47, 0.3);
}

button:focus {
  outline: none;
}

button:disabled {
  opacity: 0.55;
  box-shadow: -2px -2px 5px 0px rgba(131, 165, 175, 0.25),
    2px 2px 5px 0px rgba(19, 41, 47, 0.3);
}

button:disabled:active {
  transform: scale(1);
  box-shadow: -2px -2px 5px 0px rgba(131, 165, 175, 0.25),
    2px 2px 5px 0px rgba(19, 41, 47, 0.3);
}

/** FORMS **/

form {
  width: 100%;
  margin-bottom: 5px;
}

.form-errors {
  font-size: 12px;
  color: var(--color-res-pale);
  font-weight: 300;
}

label {
  display: block;
  border-radius: 28px;
  height: 56px;
  background: var(--color-dark-primary);
  color: var(--color-res-pale);
  font-weight: bold;
  position: relative;
  margin: 0 auto 15px auto;
  width: 100%;
}

label.filled {
  box-shadow: -6px -6px 12px 0px rgba(131, 165, 175, 0.25) inset,
    6px 6px 12px 0px rgba(19, 41, 47, 0.3) inset;
}

label.filled input {
  background-clip: padding-box;
  border: 1px solid rgba(var(--color-dark-light-rgb), 0.15);
  background: transparent;
  padding: 0 42px 0 100px;
  text-overflow: ellipsis;
}

label.filled .label-container {
  display: flex;
}

label .label-container {
  display: none;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100px;
  padding: 0 10px 0 20px;
  justify-content: flex-start;
  align-items: center;
}

label .label-container span {
  color: var(--color-light-lighter);
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
}

label input {
  -webkit-appearance: none;
  appearance: none;
  background-clip: padding-box;
  border-radius: 28px;
  width: 100%;
  height: 100%;
  background: var(--color-dark-primary);
  color: var(--color-res-pale);
  border: 1px solid rgba(var(--color-light-primary-rgb), 0.5);
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

label input:focus {
  outline: none;
  padding: 0 20px;
  background: var(--color-dark-primary);
  border: 1px solid rgba(var(--color-light-primary-rgb), 0.5);
}

label input:focus .label-container {
  display: none;
}

label input::placeholder {
  color: var(--color-light-lighter);
  font-weight: 300;
}

label input:disabled {
  opacity: 0.55;
}

/***************************
***** RE-USABLE CLASSES ****
****************************/

.primary-shadow {
  box-shadow: -6px -6px 12px 0px rgba(131, 165, 175, 0.25),
    6px 6px 12px 0px rgba(19, 41, 47, 0.3);
}
.primary-shadow.filled {
  box-shadow: -6px -6px 12px 0px rgba(131, 165, 175, 0.25) inset,
    6px 6px 12px 0px rgba(19, 41, 47, 0.3) inset;
}

.hidden {
  display: none !important;
}

/***************************
****** CUSTOM ELEMENTS *****
****************************/

.password-reset-container,
.password-change-success-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 32px;
}

#saveNewPassword {
  margin-top: 28px;
}

.compas-circle-image {
  margin-bottom: 28px;
}
