@font-face {
  font-family: 'Nunito';
  src: url('/assets/fonts/Nunito.ttf') format('truetype');
}
html {
  font-family: 'Nunito', sans-serif;
  line-height: 1;
  height: 100%;
}
body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
html,
body,
.main {
  min-height: 100%;
}
[x-href] {
  cursor: pointer;
}
.main {
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page_contents {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1000px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page_contents > div {
  width: 100%;
  box-sizing: border-box;
}
.text-error {
  color: #f84444;
}
.text-info {
  color: #5a5afd;
}
.text-success {
  color: #34d91e;
}
a {
  color: #306bec;
  text-decoration: none;
  cursor: pointer;
}
.text-smaller {
  font-size: 80%;
}
.hide {
  display: none !important;
}
.modal-out {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.modal-in {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  padding: 20px;
  width: 90%;
  max-width: 600px;
  box-sizing: border-box;
  overflow: auto;
  max-height: 80vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.navbar {
  display: flex;
  width: 100%;
  justify-content: center;
  position: relative;
  background: linear-gradient(to right, #1a1a1a, #262626);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar_left,
.navbar_right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.navbar_left {
  margin-right: auto;
}
.navbar_right {
  margin-left: auto;
}
.navbar_contents {
  display: flex;
  width: 100%;
  max-width: 1300px;
  padding: 0px 20px;
}
.navbar_search {
  position: relative;
}
.navbar_search input[type="text"] {
  padding: 8px 16px;
  border: 1px solid #404040;
  border-radius: 20px;
  font-size: 0.95rem;
  width: 200px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.navbar_search input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.navbar_search input[type="text"]:focus {
  outline: none;
  width: 250px;
  border-color: #3498db;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
.navbar_button {
  padding: 10px 18px;
  margin: 8px 0;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.85);
  text-wrap: nowrap;
  font-weight: 500;
  position: relative;
  transition: all 0.2s ease;
  border-radius: 6px;
}
.navbar_button:hover {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  color: #3498db;
  transform: translateY(-1px);
}
.navbar_button:after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #3498db;
  transition: all 0.2s ease;
  transform: translateX(-50%);
}
.navbar_button:hover:after {
  width: 30px;
}
.navbar_button.text-error {
  color: #ff6b6b;
}
.navbar_button.text-error:hover {
  background: rgba(231, 76, 60, 0.1);
  color: #ff8787;
}
.navbar_button.text-error:after {
  background: #ff6b6b;
}
.navbar_picture {
  margin: 8px 0;
  height: 42px;
  aspect-ratio: 1/1;
  background-size: cover;
  border-radius: 50%;
  border: 2px solid #3498db;
  transition: all 0.2s ease;
  cursor: pointer;
}
.navbar_picture:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}
.navbar_extend {
  display: none;
  padding: 8px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.navbar_extend:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #3498db;
}
@media (max-width: 1000px) {
  .navbar_extend {
    display: block;
  }
  .navbar_left .navbar_button,
  .navbar_right .navbar_button {
    display: none;
  }
  .navbar_left.open,
  .navbar_right.open {
    position: absolute;
    top: 100%;
    margin: 5px;
    padding: 12px;
    border-radius: 12px;
    background: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
  .navbar_left.open .navbar_button,
  .navbar_right.open .navbar_button {
    display: block;
    width: 100%;
    text-align: left;
    border-radius: 8px;
  }
  .navbar_left.open .navbar_button:hover,
  .navbar_right.open .navbar_button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
  }
  .navbar_left.open {
    flex-direction: column;
    left: 0;
    min-width: 200px;
  }
  .navbar_left.open .navbar_search {
    display: none;
  }
  .navbar_right.open {
    flex-direction: column-reverse;
    right: 0;
    min-width: 200px;
  }
}
.main_header {
  width: 100%;
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.main_header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}
.main_header:after {
  content: '';
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #3498db;
  transition: width 0.3s ease;
}
.main_header:hover:after {
  width: 100px;
}
@media (max-width: 768px) {
  .main_header {
    font-size: 2.5rem;
    padding: 1.5rem 0;
  }
}
input {
  font-family: 'Nunito', sans-serif;
}
input[type=text],
input[type=number] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border: none;
  border-radius: 5px;
  outline: 1px solid rgba(104, 147, 241, 0.24);
}
input[type=text].error,
input[type=number].error {
  outline: 1px solid #f84444;
}
.checkbox-container {
  width: fit-content;
  display: flex;
  align-items: center;
  column-gap: 10px;
  margin: 5px;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  outline: 1px solid rgba(48, 107, 236, 0.24);
}
.checkbox-container.checked {
  background-color: rgba(48, 107, 236, 0.1);
  outline: 1px solid rgba(48, 107, 236, 0.5);
}
input[type=checkbox] {
  width: 20px;
  height: 20px;
}
select {
  font-family: 'Nunito', sans-serif;
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0);
  border: none;
  border-radius: 5px;
  outline: 1px solid rgba(48, 107, 236, 0.24);
}
button {
  font-family: 'Nunito', sans-serif;
  width: 100%;
  padding: 12px 20px;
  margin: 2px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0);
  border: none;
  border-radius: 5px;
  outline: 1px solid rgba(48, 107, 236, 0.24);
}
button:hover {
  cursor: pointer;
  background-color: rgba(48, 107, 236, 0.1);
  outline: 1px solid rgba(48, 107, 236, 0.5);
}
button.error {
  color: #f84444;
  outline: 1px solid #f84444;
}
button.error:hover {
  background-color: rgba(248, 68, 68, 0.1);
  outline: 1px solid rgba(248, 68, 68, 0.5);
}
button.success {
  color: #34d91e;
  outline: 1px solid #34d91e;
}
button.success:hover {
  background-color: rgba(52 217 30, 0.1);
  outline: 1px solid rgba(52 217 30, 0.5);
}
button.loading {
  opacity: 0.5;
  cursor: not-allowed;
}
div.field-label {
  font-weight: bold;
  width: fit-content;
  margin: 8px 0 5px 0;
  padding: 0 5px;
}
.btn.btn-round {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #5a5afd;
  color: #5a5afd;
}
.btn.error {
  border: 1px solid #f84444;
  color: #f84444;
}
.btn.success {
  border: 1px solid #34d91e;
  color: #34d91e;
}
.btn:hover {
  cursor: pointer;
  opacity: 0.8;
}
.btn.btn-full {
  background-color: #d8d8ff;
}
.btn.btn-full.error {
  background-color: #ffcaca;
}
.link-button {
  display: flex;
  align-items: center;
  column-gap: 5px;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  color: rgba(48, 107, 236);
  text-wrap: nowrap;
}
.link-button:hover {
  cursor: pointer;
  outline: 1px solid rgba(48, 107, 236, 0.24);
  border-radius: 5px;
}
.link-button.text-error {
  color: #f84444;
}
.link-button.text-error a {
  color: #f84444;
}
.link-button.text-error:hover {
  outline: 1px solid rgba(248, 68, 68, 0.24);
}
.link-button.text-success {
  color: #34d91e;
}
.link-button.text-success a {
  color: #34d91e;
}
.link-button.text-success:hover {
  outline: 1px solid rgba(52, 217, 30, 0.24);
}
.crop-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}
.crop-container > img {
  display: block;
  max-width: 100%;
}
.buttons-image-crop {
  display: flex;
  flex-direction: column;
}
.buttons-image-crop .edit-show {
  display: none;
}
.buttons-image-crop.edit .edit-show {
  display: block;
}
.buttons-image-crop.edit .edit-hide {
  display: none;
}
.imagepicker-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}
.imagepicker-container > img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}
.buttons-imagepicker {
  display: flex;
  flex-direction: column;
}
.buttons-imagepicker .edit-show {
  display: none;
}
.buttons-imagepicker.edit .edit-show {
  display: block;
}
.buttons-imagepicker.edit .edit-hide {
  display: none;
}
.file-upload input[type="file"] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}
textarea {
  width: 100%;
  height: 200px;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border: none;
  border-radius: 5px;
  outline: 1px solid rgba(104, 147, 241, 0.24);
}
.main_footer {
  flex-shrink: 0;
  width: 100%;
  background: linear-gradient(to bottom, #1a1a1a, #262626);
  color: #fff;
  padding: 2rem;
  box-sizing: border-box;
  margin-top: auto;
}
.main_footer .footer_content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.main_footer .footer_content .footer_section {
  flex: 1;
  min-width: 200px;
}
.main_footer .footer_content .footer_section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.main_footer .footer_content .footer_section h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #3498db;
}
.main_footer .footer_content .footer_section p {
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}
.main_footer .footer_content .footer_section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.main_footer .footer_content .footer_section ul li {
  margin-bottom: 0.8rem;
}
.main_footer .footer_content .footer_section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-block;
}
.main_footer .footer_content .footer_section ul li a:hover {
  color: #fff;
  transform: translateX(5px);
}
.main_footer .footer_content .footer_section .social_links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.main_footer .footer_content .footer_section .social_links .social_link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  transition: all 0.2s ease;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.main_footer .footer_content .footer_section .social_links .social_link:hover {
  color: #fff;
  background: #3498db;
  transform: translateY(-3px);
}
.main_footer .footer_bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.main_footer .footer_bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}
@media (max-width: 768px) {
  .main_footer .footer_content {
    flex-direction: column;
    text-align: center;
  }
  .main_footer .footer_content .footer_section h3:after {
    left: 50%;
    transform: translateX(-50%);
  }
  .main_footer .footer_content .social_links {
    justify-content: center;
  }
}
