/* FONT IMPOR */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.fira-sans-thin {
  font-family: "Fira Sans", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.fira-sans-extralight {
  font-family: "Fira Sans", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.fira-sans-light {
  font-family: "Fira Sans", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.fira-sans-regular {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.fira-sans-medium {
  font-family: "Fira Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.fira-sans-semibold {
  font-family: "Fira Sans", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.fira-sans-bold {
  font-family: "Fira Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.fira-sans-extrabold {
  font-family: "Fira Sans", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.fira-sans-black {
  font-family: "Fira Sans", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.fira-sans-thin-italic {
  font-family: "Fira Sans", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.fira-sans-extralight-italic {
  font-family: "Fira Sans", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.fira-sans-light-italic {
  font-family: "Fira Sans", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.fira-sans-regular-italic {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.fira-sans-medium-italic {
  font-family: "Fira Sans", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.fira-sans-semibold-italic {
  font-family: "Fira Sans", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.fira-sans-bold-italic {
  font-family: "Fira Sans", sans-serif;
  font-weight: 700;
  font-style: italic;
}

/* END FONT IMPORT */


/* ROOT VARIABLES */
:root {
  --color-gray-100: #f2f2f2;
  --color-gray-200: #c7c7c7;
  --color-gray-600: #888888;
  --color-gray-900: #2d2d2d;

  --color-blue-900: #0756b8;

  --color-red-900: #b80707;
  --color-red-300: #e76e69;

  --color-green-600: #0aa62b;
}

/* END ROOT VARIABLES */


/* CSS RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1.5;
  font-family: sans-serif;
  color: #000;
  font-family: "Fira Sans", sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* END CSS RESET */

.content-box {
  max-width: 425px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

.input {
  width: 100%;
  background-color: #fff;
  padding: 8px 10px;
  border-radius: 12px;
  border: #dbdbdb 1px solid;
  transition: box-shadow 0.2s ease;
}

.input--gray {
  background-color: var(--color-gray-900);
  color: #fff;
}

.input--gray::placeholder {
  color: #fff;
}

.input:focus {
  outline: none;
  box-shadow: 0 0 0 3px #346fb680;
}

.input--no-focus:focus {
  outline: none;
  box-shadow: none;
}

.input.error,
.input--error {
  outline: var(--color-red-300) 2px solid;
}

.input.error:focus,
.input--error:focus {
  box-shadow: unset;
}

span.input-error {
  display: none;
  color: var(--color-red-300);
  font-size: 12px;
}
span.input-error--visible {
  display: block;
}
.input-eye {
  position: relative;
}

.input-eye .eye {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  color: var(--color-gray-900);
}


/* BUTTONS */
.btn {
  --btn-bg: var(--color-gray-900);
  --btn-text: #fff;

  background-color: var(--btn-bg);
  color: var(--btn-text);
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn--min-content {
  width: min-content;
}

/* Variants set their own colors */
.btn--blue {
  --btn-bg: var(--color-blue-900);
  --btn-text: #fff;
}

.btn--red {
  --btn-bg: var(--color-red-900);
  --btn-text: #fff;
}

.btn--white {
  --btn-bg: #fff;
  --btn-text: #000;
  font-weight: 500;
}

.btn--gray {
  --btn-bg: #c6c6c6;
  --btn-text: #000;
  font-weight: 500;
}

/* Disabled state */
.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* Square corners */
.btn--square {
  border-radius: 0;
}

/* Invert logic */
.btn--no-bg {
  background-color: transparent;
  color: var(--btn-bg);
}

.btn--rounded {
  border-radius: 50px;
  width: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #000;
  outline: #000 2px solid;
  line-height: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 8px;
  width: 24px;
  height: 24px;
}

.btn--outlined {
  outline: var(--color-gray-200) 1px solid;
}

/* END BUTTONS */

.row {
  display: flex;
  gap: 8px;
}


/* Container geral dos toasts */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

/* Estilo básico do toast */
.toast {
  background-color: #333;
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateX(100%);
  animation: slideIn 0.4s forwards, fadeOut 0.5s ease 3s forwards;
}

/* Animações */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Variações de tipo */
.toast.success {
  background-color: #4caf50;
}

.toast.error {
  background-color: #f44336;
}

.toast.info {
  background-color: #2196f3;
}

.toast.warning {
  background-color: #ff9800;
}

.btn--blue.hide{
  display: none !important;
}