*, ::after, ::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: "Roboto", sans-serif;
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color:var(--white);
}

:root {
    --background: #F1F3FA;
    --blue: #4c9aee;
    --blue-primary: #028fcc;
    --blue-secondary: #006bcf;
    --border: #d1d3e2;
    --white: #fff;
    --white-primary: #fdfdfd;
    --white-secondary: #f1f4fce3;
    --text-dark: #404040;
    --gray: #707070;
    --text-primary: #1E2148;
    --text-secondary: #858790;
    --hover: #e3e6f0;
    --orange: #FFA500; /* orange */
    --danger: #dc3545;
  }

body .logo {
    margin: 0 auto;
    margin-top: 48px;
    display: flex;
    align-items: center;
}

body .logo img {
    user-select: none;
    max-height: 46px;
}

body h2 {
    margin-top: 8px;
    margin-bottom: 34px;
    color: var(--text-primary);
    font-size: 26px;
    text-align: center;
}

body .logo, #register-sucess {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#type-user {
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    padding: 36px;
    flex-direction: column;
    border-radius: 0.35rem;
    width: 400px;
    max-width: 480px;
    margin: 40px auto auto;
    position: relative;
}

#type-user h2 {
    margin-bottom: 12px;
    font-weight: bold;
}

#type-user  a {
    width: 100%;
    font-size: 1em;
    color: #f0f0f5;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    appearance: none;
    border: 0px;
    box-shadow: none;
    height: 52px;
    text-align: center;
    border-radius: 5px;
    background-color: var(--text-primary);
    cursor: pointer;
    color: var(--white);
    font-weight: 400;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#type-user a:hover {
    background-color: #24296d;
}

#form {
    background: #37474f;
    display: flex;
    padding: 36px 52px;
    flex-direction: column;
    border-radius: 0.35rem;
    width: 400px;
    max-width: 480px;
    margin: 40px auto auto;
    position: relative;
}

#form h2 {
    font-family: "Roboto", sans-serif;
    margin-bottom: 32px;
    text-align: center;
    color: #eceff1;
    font-weight: bold;
    font-size: 1.8rem;
}

#form #register {
    text-align: center;
    margin-top: 30px;
}

#form #register a {
    color: #eceff1;
    font-weight: 600;
    text-decoration: none;
    background-color: transparent;
}

#form #register a:hover {
    color: #fff;
    text-decoration: underline;
}


#form div.input {
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 24px;
    border-bottom: 1px solid #546e7a;
}

#form div.select {
    margin-bottom: 24px;
}

#form input,
#form select,
#form button {
    -moz-appearance: field;
    -webkit-appearance: field;
    appearance: field;
    width: 100%;
    padding: 16px 0;
    border: none;
    outline: none;
    font-size: 1em;
    background-color: transparent;
}

#form label {
    color: #eceff1;
}

#form select, #form input {
    color: #37474f;
    background-color: #f0f0f5;
    padding: 12px;
    border-radius: 0.2rem;
}

#form button {
    color: #f0f0f5;
    background-color: #546e7a;
    cursor: pointer;
    border-radius: 0.3rem;
}

#form button:hover {
    background-color: #607d8b;
}

#form .alert {
  position: relative;
  padding: 0.6rem 0.95rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 600;
  font-size: 90%;
}

#form .alert-warning {
  color: #806520;
  background-color: #fdf3d8;
  border-color: #fceec9;
}

#form .alert-warning hr {
  border-top-color: #fbe6b1;
}

#form .alert-warning b {
  color: #574516;
}

#form .alert-danger {
  color: #78261f;
  background-color: #fadbd8;
  border-color: #f8ccc8;
}

#form .alert-danger hr {
  border-top-color: #f5b7b1;
}

#register-sucess {
    margin: 0 auto;
    color: #546e7a;
    margin-top: 40px;
    font-size: 1.6rem;
}

#register-sucess i {
    margin-top: 12px;
    font-size: 2.8rem;
}

#register-sucess div a {
    margin-top: 1.5rem;
    font-size: 1.3rem;
    padding: 0.3rem 3rem; 
}
