@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&display=swap");
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  height: 100%;
}
html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #333;
  font-size: 16px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  background: #FFFBF3;
  position: relative;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: bold;
}

h1 {
  font-size: 1.5rem;
}

hr {
  height: 3px;
  margin: 50px 0;
  border: none;
  border-radius: 5px;
  background: #99C000;
}

p {
  margin: 0;
}
p:not(:last-child) {
  margin-bottom: 0.5rem;
}

form #error_explanation {
  margin: 1rem 0;
  padding: 1rem;
  border: solid 2px #F93C00;
  background: #FFF2F2;
}
form #error_explanation h2 {
  margin: 0 1rem 1rem;
  color: #F93C00;
}
form #error_explanation h2 svg {
  margin-right: 0.5em;
}
form #error_explanation ul {
  margin-left: 3rem;
}
form .field_with_errors {
  display: inline-block;
}
form .field_with_errors input[type=text],
form .field_with_errors input[type=email],
form .field_with_errors input[type=password],
form .field_with_errors input[type=date],
form .field_with_errors input[type=time],
form .field_with_errors input[type=datetime],
form .field_with_errors input[type=datetime-local],
form .field_with_errors input[type=number],
form .field_with_errors select {
  border-color: #F93C00;
}
form input[type=text],
form input[type=email],
form input[type=password],
form input[type=date],
form input[type=time],
form input[type=datetime],
form input[type=datetime-local],
form input[type=number],
form input[type=search],
form select {
  width: 100%;
  padding: 0.75em 1.5em;
  border: solid 2px #B6B6B6;
  border-radius: 10px;
}
form input[type=text]:focus,
form input[type=email]:focus,
form input[type=password]:focus,
form input[type=date]:focus,
form input[type=time]:focus,
form input[type=datetime]:focus,
form input[type=datetime-local]:focus,
form input[type=number]:focus,
form input[type=search]:focus,
form select:focus {
  outline-color: #99C000;
}
form textarea {
  width: 100%;
  padding: 0.75em 1.5em;
  border: solid 1px #B6B6B6;
  border-radius: 10px;
  position: relative;
}
form textarea::-webkit-resizer {
  background: url(/assets/icon/textarea_resizer-0a20962f3bf5f545b5f2d1a892b371cdd25211087c6c4150350837c702f505b3.svg) no-repeat center;
}
form .require {
  color: #F93C00;
  font-size: 0.75em;
  vertical-align: text-top;
}
form footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 40px;
}

table {
  border-collapse: collapse;
}
table th ul, table td ul {
  margin: 0;
  padding-left: 1.5rem;
}

table.form {
  margin-bottom: 30px;
}
table.form tbody tr {
  border-bottom: solid 15px transparent;
}
table.form tbody th {
  min-width: 7em;
  text-align: left;
}
table.form tbody td input[type=text],
table.form tbody td input[type=email],
table.form tbody td input[type=password] {
  width: 300px;
}

.btn-submit, div#container main#devise form .actions input[type=submit], .btn-green, .btn-green-mini {
  display: inline-block;
  padding: 8px 40px;
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border: solid 3px white;
  border-radius: 30px;
  cursor: pointer;
}

.btn-green, .btn-green-mini {
  font-weight: normal;
  background: #99C000;
  border: none;
}
.btn-green-mini {
  padding: 4px 20px;
  font-size: 0.8rem;
}

.btn-submit, div#container main#devise form .actions input[type=submit] {
  padding: 10px 40px;
  font-size: 1.1rem;
  background: #FFA633;
  box-shadow: 0px 6px 10px -5px rgba(0, 0, 0, 0.6);
  transition: all 0.2s;
}
.btn-submit:hover, div#container main#devise form .actions input[type=submit]:hover {
  box-shadow: none;
  transform: translateY(1px);
}
.btn-submit:disabled, div#container main#devise form .actions input[type=submit]:disabled {
  background: #f3bc91;
}
.btn-submit:disabled:hover, div#container main#devise form .actions input[type=submit]:disabled:hover {
  cursor: not-allowed;
  box-shadow: 0px 6px 10px -5px rgba(0, 0, 0, 0.6);
  transform: none;
}

.link-destroy {
  color: #FB7044;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
}

#flash_container {
  overflow: hidden;
  max-width: min(80%, 600px);
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  animation-name: fadeout;
  animation-duration: 1s;
  animation-delay: 3s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
#flash_container ul.flash_type {
  list-style: none;
  margin: 0;
  padding: 10px 20px;
  border-radius: 15px;
}
#flash_container ul.flash_type-success {
  background: #e4fdf3;
}
#flash_container ul.flash_type-notice {
  background: #e4fdf3;
}
#flash_container ul.flash_type-alert {
  background: #fde4ed;
}

@keyframes fadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
body.theme-teacher {
  background: #EDF4CF;
}
body.theme-student {
  background: #FFFBF3;
}

div#container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
div#container main#devise {
  margin: 20px;
  padding: 50px;
}
div#container main#devise header {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
div#container main#devise header #logo {
  font-size: 100px;
  text-align: center;
}
div#container main#devise header h1 {
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
}
div#container main#devise header h1 a {
  color: #453E39;
  text-decoration: none;
}
div#container main#devise header h2 {
  font-size: 1rem;
  text-align: center;
}
div#container main#devise #error_explanation {
  margin: 1rem 0;
  padding: 1rem;
  border: solid 2px #F93C00;
  background: #FFF2F2;
}
div#container main#devise #error_explanation h2 {
  margin: 0 1rem 1rem;
  color: #F93C00;
}
div#container main#devise #error_explanation h2 svg {
  margin-right: 0.5em;
}
div#container main#devise #error_explanation ul {
  margin-left: 3rem;
}
div#container main#devise form {
  max-width: 350px;
  margin: 0 auto;
}
div#container main#devise form .field {
  margin: 1rem 0;
}
div#container main#devise form .field label {
  display: inline-block;
  margin-bottom: 0.25em;
  font-weight: bold;
}
div#container main#devise form .field input[type=text],
div#container main#devise form .field input[type=email],
div#container main#devise form .field input[type=password] {
  width: 100%;
  padding: 1em 1.5em;
  border: solid 2px #B6B6B6;
  border-radius: 25px;
}
div#container main#devise form .field .field_with_errors {
  display: unset;
}
div#container main#devise form .field.remember_me {
  text-align: center;
}
div#container main#devise form .field.remember_me input[type=checkbox] {
  appearance: none;
  display: inline-block;
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
  border: none;
  border-radius: 0;
  background: #D9D9D9;
  position: relative;
}
div#container main#devise form .field.remember_me input[type=checkbox]:checked:after {
  content: "";
  display: block;
  width: 1em;
  height: 0.75em;
  border: solid 4px #99C000;
  border-top: none;
  border-right: none;
  position: absolute;
  left: 0;
  bottom: 0.5em;
  transform: rotate(-45deg);
}
div#container main#devise form .field.remember_me label {
  margin: 0;
}
div#container main#devise form .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0 0;
}
div#container main#devise form .actions a {
  text-decoration: none;
}
div#container main#devise .links {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  max-width: 500px;
  margin: 3rem auto 0;
}
div#container main#devise .links a {
  color: #453E39;
  font-weight: bold;
  text-decoration: none;
}
div#container main#devise #cancel_my_account {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/*# sourceMappingURL=devise.css.map */
