@font-face {
  font-family: "Comic_Relief";
  src: local("Comic_Relief"), url("/fonts/Comic_Relief/ComicRelief-Regular.ttf") format("truetype"), url("/fonts/Comic_Relief/ComicRelief-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Rubik";
  src: local("Rubik"), url("/fonts/Rubik/Rubik-VariableFont_wght.ttf") format("truetype");
}
* {
  padding: 0px;
  margin: 0px;
  border: none;
  box-sizing: border-box;
}
*::before {
  box-sizing: border-box;
}
*::after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}
a:link {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

aside {
  display: block;
}

nav {
  display: block;
}

footer {
  display: block;
}

header {
  display: block;
}

section {
  display: block;
}

main {
  display: block;
}

h1 {
  font-size: inherit;
  font-weight: inherit;
}

h2 {
  font-size: inherit;
  font-weight: inherit;
}

h3 {
  font-size: inherit;
  font-weight: inherit;
}

h4 {
  font-size: inherit;
  font-weight: inherit;
}

h5 {
  font-size: inherit;
  font-weight: inherit;
}

h6 {
  font-size: inherit;
  font-weight: inherit;
}

p {
  font-size: inherit;
  font-weight: inherit;
}

ul {
  list-style: none;
}
ul li {
  list-style: none;
}

img {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}
input::-ms-clear {
  display: none;
}
input:focus {
  outline: none;
}
input:active {
  outline: none;
}

textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}
button:focus {
  outline: none;
}
button:active {
  outline: none;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

input[type=file] {
  max-width: 100%;
}

body {
  font-family: "Rubik";
  background-color: #f9fafb;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.modal-message {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-message.active {
  opacity: 1;
  visibility: visible;
}
.modal-message__content {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 400px;
  border: 1px solid #e5e7eb;
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.active .modal-message__content {
  transform: translateY(0);
  opacity: 1;
}
.modal-message__icon {
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}
.modal-message__icon svg {
  width: 48px;
  height: 48px;
  display: none;
}
.modal-message__icon .icon-success {
  color: #10b981;
}
.modal-message__icon .icon-error {
  color: #ef4444;
}
.active .modal-message__icon {
  transform: scale(1.1);
}
.modal-message__title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
  font-family: "Comic_Relief";
  transition: color 0.3s ease;
}
.modal-message__text {
  font-size: 16px;
  color: #111827;
  margin-bottom: 32px;
  line-height: 1.5;
  transition: opacity 0.3s ease;
}
.modal-message__button {
  background-color: #6366f1;
  color: #ffffff;
  border: none;
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  width: 100%;
  max-width: 200px;
}
.modal-message__button:hover {
  background-color: #4f46e5;
  box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}
.modal-message--success .modal-message__icon .icon-success {
  display: inline-block;
  animation: bounce 0.6s ease;
}
.modal-message--success .modal-message__title {
  color: #10b981;
}
.modal-message--error .modal-message__icon .icon-error {
  display: inline-block;
  animation: shake 0.6s ease;
}
.modal-message--error .modal-message__title {
  color: #ef4444;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  20%, 60% {
    transform: translateX(-5px);
  }
  40%, 80% {
    transform: translateX(5px);
  }
}
@media (max-width: 576px) {
  .modal-message__content {
    padding: 24px;
    margin: 0 16px;
  }
  .modal-message__title {
    font-size: 18px;
  }
  .modal-message__text {
    font-size: 14px;
  }
  .modal-message__button {
    padding: 8px 16px;
    font-size: 14px;
    max-width: 160px;
  }
}

.login-page {
  width: 100%;
  max-width: 400px;
  padding: 16px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}
@media (max-width: 576px) {
  .login-page {
    padding: 8px;
    align-items: flex-start;
    padding-top: 32px;
  }
}

.modal-form {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
  border: 1px solid #e5e7eb;
}
.modal-form__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
  color: #6366f1;
  font-family: "Comic_Relief";
}
.modal-form__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.modal-form__label {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  display: block;
  margin-bottom: 4px;
}
.modal-form__control {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  background-color: #f9fafb;
}
.modal-form__control:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.modal-form__input::placeholder {
  color: #4b5563;
  opacity: 0.7;
}
.modal-form__link {
  color: #6366f1;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s ease;
  display: block;
  margin-top: 16px;
}
.modal-form__link:hover {
  color: #4f46e5;
  text-decoration: underline;
}
.modal-form__submit {
  background-color: #6366f1;
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 16px;
  margin-top: 16px;
}
.modal-form__submit:hover {
  background-color: #4f46e5;
  box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}
.modal-form__submit:active {
  transform: translateY(1px);
}
@media (max-width: 576px) {
  .modal-form {
    padding: 24px;
  }
  .modal-form__title {
    font-size: 20px;
    margin-bottom: 24px;
  }
  .modal-form__label, .modal-form__control, .modal-form__link, .modal-form__submit {
    font-size: 14px;
  }
  .modal-form__control {
    padding: 8px;
  }
  .modal-form__submit {
    padding: 8px;
  }
}
.modal-form .dropdown {
  position: relative;
}
.modal-form .dropdown__select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7'%3e%3cpath fill='%236B7280' d='M1 1l5 5 5-5'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  cursor: pointer;
  padding-right: 32px;
}
@media (max-width: 576px) {
  .modal-form .dropdown__select {
    background-position: right 8px center;
    padding-right: 24px;
  }
}
@media (max-width: 480px) {
  .modal-form {
    padding: 24px 16px;
  }
  .modal-form__title {
    font-size: 18px;
  }
  .modal-form__content {
    gap: 16px;
  }
}
@media (max-width: 360px) {
  .modal-form__title {
    font-size: 16px;
    margin-bottom: 16px;
  }
  .modal-form__link {
    font-size: 12px;
  }
}

.footer {
  background-color: #6366f1;
  color: white;
  text-align: center;
  padding: 15px 0;
  bottom: 0;
  width: 100%;
  font-size: 14px;
}

.footer a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
}

.login-page {
  padding-bottom: 60px;
}