﻿:root {
  --bg-def: #f9f9f9;
  --bg-def-hov: #cecece;
  --bg-def-light: #eaeaea;
  --txt-def: #54575f;
  --txt-neg: #fafafa;
  --gray-1: #54575f;
  --gray-1-op: #9598a3;
  --accent-1: #ff5a68;
  --accent-2: #5656b2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

[data-icon] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  overflow: hidden;
}
[data-icon] svg {
  width: 100%;
  height: 100%;
}
[data-icon] * {
  fill: var(--txt-def);
}
[data-icon].neg * {
  fill: var(--txt-neg) !important;
}
[data-icon].stroked svg {
  stroke: var(--txt-def);
  stroke-width: 0.7px;
}
[data-icon].stroked.neg svg {
  stroke: var(--txt-neg) !important;
}
[data-icon].biggened {
  width: 1.25rem;
  height: 1.25rem;
}

.user_message {
  position: fixed;
  top: 0;
  left: 0;
  background-color: red;
  width: 100%;
  z-index: 3;
  min-height: 3rem;
  background-color: var(--bg-def-hov);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-1);
  animation: user_message_animation 4s linear forwards;
}
@keyframes user_message_animation {
  90% {
    opacity: 1;
  }
  95% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    display: none;
  }
}
.user_message > span {
  display: inline-block;
  width: calc(100% - 4rem);
  padding: 0.3rem;
  font-size: 0.8rem;
}
.user_message > button {
  width: 4rem !important;
  height: 4rem;
  background-color: transparent;
  border-left: 2px solid var(--txt-neg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.user_message > .bar_wrap {
  position: absolute;
  bottom: 0;
  background-color: transparent;
  width: 100%;
  height: 1px;
}
.user_message > .bar_wrap > div {
  position: absolute;
  bottom: 0;
  left: 0;
}
.user_message > .bar_wrap > .bar_bg {
  background-color: #afafaf;
  width: 100%;
  height: 1px;
  z-index: 1;
}
.user_message > .bar_wrap > .bar_move {
  width: 100%;
  height: 2px;
  animation: user_message_bar_wrap_animation 4s linear forwards;
  background-color: var(--txt-neg);
  z-index: 2;
}
@keyframes user_message_bar_wrap_animation {
  0% {
    width: 100%;
  }
  90% {
    width: 0%;
  }
  95% {
    width: 0%;
  }
  100% {
    width: 0%;
  }
}
.user_message * {
  color: var(--txt-neg);
  fill: var(--txt-neg);
}
.user_message:has(span:empty) {
  display: none;
}
@media (min-width: 480px) {
  .user_message {
    bottom: 1rem;
    top: unset;
    left: 1rem;
    max-width: 30vw;
    /*max-height:5rem;*/
    z-index: 7;
  }
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  border-bottom: 1px solid var(--gray-1-op);
  padding: 0 1rem;
  /* position:sticky;
  top:0;
  z-index:5;
  background-color:$bg-def;*/
}
nav > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
nav > .nav_left {
  height: 100%;
}
nav > .nav_left #menu_button {
  background-color: transparent;
  border: none;
}
nav > .nav_left #menu_button .when_active {
  display: none;
}
nav > .nav_left #menu_button.active .when_active {
  display: flex;
}
nav > .nav_left #menu_button.active .when_passive {
  display: none;
}
nav > .nav_left > .logo_wrap {
  height: 30%;
}
nav > .nav_left > .logo_wrap > img {
  width: auto;
  height: 100% !important;
  object-fit: contain;
}

.disabled {
  pointer-events: none;
  opacity: 0.5;
}

menu {
  position: fixed;
  left: -100%;
  width: 100vw;
  height: calc(100vh - 4rem);
  background-color: var(--bg-def);
  transition: 0.15s;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
  padding-top: 2rem;
  z-index: 3;
}
menu.active {
  left: 0;
}
menu > a {
  width: 100%;
  padding: 1rem;
  background-color: var(--bg-def-hov);
  text-decoration: none;
  border-radius: 0.5rem;
  color: var(--txt-def);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
menu > a:nth-last-child(1) {
  margin-top: auto;
}

#form_section_1 {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
#form_section_1 > h1 {
  color: var(--gray-1);
  font-size: 1.8rem;
  font-weight: 500;
}
#form_section_1 > p {
  color: var(--gray-1);
  font-weight: 400;
  font-size: 0.9rem;
}
#form_section_1 > form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#form_section_1 > form .form_group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
  width: 100%;
}
#form_section_1 > form .form_group > label {
  position: relative;
  font-size: 0.9rem;
  /*top: 50%;*/
  left: 0.5rem;
  /*transform: translateY(-65%);*/
  color: var(--gray-1);
  pointer-events: none;
}
#form_section_1 > form .form_group > input {
  padding: 1rem 0.5rem;
  font-size: 1rem;
  border: none;
  background-color: var(--bg-def-light);
  border-radius: 0.5rem;
  outline: none;
  border-bottom: 2px solid transparent;
}
#form_section_1 > form .form_group > input:focus {
  border-bottom: 2px solid var(--accent-1);
}
#form_section_1 > form .form_group > span {
  font-size: 0.8rem;
  color: var(--accent-1);
  font-weight: 600;
}
#form_section_1 > form .form_group_merge {
  display: flex;
  gap: 1rem;
}
#form_section_1 > form .form_group_merge .form_group {
  width: calc(50% - 0.5rem);
}
#form_section_1 > form .form_confirmation {
  margin-top: 1rem;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
#form_section_1 > form .form_confirmation > p {
  font-size: 0.9rem;
  color: var(--gray-1);
}
#form_section_1 > form .form_button_wrap {
  margin-top: 1rem;
}
#form_section_1 > form .form_button_wrap button {
  background-color: var(--accent-1);
  border: none;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--txt-neg);
}

#table_section_1 {
  padding: 2rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
#table_section_1 > table {
  width: 100%;
  overflow: auto;
  background-color: var(--bg-def-light);
  font-size: 0.9rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border-collapse: collapse;
  overflow: hidden;
}
#table_section_1 > table tr {
  height: 3rem;
}
#table_section_1 > table thead tr {
  background-color: var(--bg-def-hov);
}
#table_section_1 > table th, #table_section_1 > table td {
  text-align: start;
  min-width: 1.5rem;
}
#table_section_1 > table th:nth-child(1), #table_section_1 > table td:nth-child(1) {
  text-align: center;
}

#sucessful_form_1 {
  padding: 2rem 1rem;
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}
#sucessful_form_1 > h1 {
  color: #26272a;
  font-weight: 500;
  font-size: 1.75rem;
}
#sucessful_form_1 > h2 {
  color: var(--gray-1);
  font-weight: 500;
}
#sucessful_form_1 > a {
  padding: 1rem;
  background-color: var(--accent-1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: fit-content;
  color: var(--txt-neg);
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 0.5rem;
}
#sucessful_form_1 > a * {
  fill: var(--txt-neg);
}
#sucessful_form_1 .bg_image {
  width: 100%;
  position: absolute;
}
#sucessful_form_1 .example_image {
  width: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}
