@import "./normalize.min.css";
@import "./avatar.css";
@import "./badges.css";
@import "./buttons.css";
@import "./dialog.css";
@import "./fonts.css";
@import "./forms.css";
@import "./general.css";
@import "./icon.css";
@import "./paper.css";
@import "./recharts.css";
@import "./toasts.css";
@import "./typo.css";


.login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 8rem);
}
.login__logo {
    display: block;
    max-width: 153px;
    width: 100%;
    margin: 0 auto 2rem;
}
.login__title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.login__form {
    max-width: 338px;
    width: 100%;
    margin: 0 auto;
    border: .1rem solid #e0e0e1;
    border-radius: .5rem;
    background: #fff;
    padding: 2rem;
}
.login__error {
    background-color: rgb(var(--color-error));
    color: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: bold;
}
/* Checkbox styles */
.checkbox-label {
    position: relative;
    margin: auto;
    cursor: pointer;
    clear: both;
}
.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.checkbox-label .checkbox-custom {
    position: absolute;
    top: 0px;
    left: auto;
    right: 0;
    height: 24px;
    width: 24px;
    background-color: transparent;
    border-radius: 0;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    border: 2px solid green;
}
.checkbox-label input:checked ~ .checkbox-custom {
    background-color: green;
    border-radius: 0;
    -webkit-transform: rotate(0deg) scale(1);
    -ms-transform: rotate(0deg) scale(1);
    transform: rotate(0deg) scale(1);
    opacity:1;
}
.checkbox-label .checkbox-custom::after {
    position: absolute;
    content: "";
    left: 12px;
    top: 12px;
    height: 0px;
    width: 0px;
    border-radius: 0;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(0deg) scale(0);
    -ms-transform: rotate(0deg) scale(0);
    transform: rotate(0deg) scale(0);
    opacity:1;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
}
.checkbox-label input:checked ~ .checkbox-custom::after {
  -webkit-transform: rotate(45deg) scale(1);
  -ms-transform: rotate(45deg) scale(1);
  transform: rotate(45deg) scale(1);
  opacity:1;
  left: 6.5px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  background-color: transparent;
  border-radius: 0;
}

.approve-page .login__form {
    max-width: 550px;
}

.approve-page .checkbox-label {
    display: flex;
    align-items: center;
}

.approve-page .checkbox-label span {
    width: 100%;
}

.login__form-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.scope-name {
    text-transform: capitalize;
}

.login__form-footer {
    margin-top: .5rem;
    text-align: center;
    font-size: 80%;
}

.login__form-footer a {
    color: rgb(var(--color-text));
}

.login__form-footer a:hover {
    color: rgb(var(--color-text-hover));
}

.centered-text {
    text-align: center;
}

