@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");

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

:root {
  background: linear-gradient(180deg, #fbfdff 0%, #ddedfd 100%);

  color: #636e8f;

  font-weight: 400;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;

  -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar {
  width: 1.25rem;
  height: 1.25rem;
}

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb {
  background-color: #ced3d9;

  border: 0.437rem solid rgba(0, 0, 0, 0);
  border-radius: 11.58rem;

  background-clip: content-box;

  cursor: grab;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #b2b8bf;
}

@media (max-width: 56.25rem) {
  ::-webkit-scrollbar {
    width: 0.937rem;
    height: 0.937rem;
  }

  ::-webkit-scrollbar-thumb {
    border-width: 0.312rem;
  }
}

body {
  height: 100dvh;

  scroll-behavior: smooth;
}

input,
textarea,
button,
a {
  font-weight: 400;
  font-size: 0.875rem;
  color: #636e8f;
  font-family: "Poppins", serif;

  -webkit-font-smoothing: antialiased;
}

.footer-content .links .language-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-content .links .language-switcher label {
  color: #444b62;
  font-size: 0.875rem;
  line-height: 1.218rem;
  font-weight: 500;
  border-radius: 0.25rem;
}

.footer-content .links .language-switcher select {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: white;
  color: #444b62;
  font-size: 0.875rem;
  margin-right: 10px;
}

a {
  text-decoration: none;

  border-radius: 0.25rem;

  transition: box-shadow 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

a:focus {
  outline: none;

  box-shadow: 0 0 0 4px #ffffff, 0 0 0 5.5px #4a73f3;
}

button {
  cursor: pointer;

  border: none;
  background: none;
}

button:focus {
  outline: none;
}

button:disabled {
  cursor: not-allowed;
}

h1,
h2,
h3,
h4 {
  color: #252935;
  font-weight: 700;
}

.auth-card {
  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 25rem;
  width: 100%;

  border-radius: 1.25rem;

  margin: auto;

  padding: 1.5rem;

  background-color: white;

  box-shadow: 0px 10px 25px 0px rgba(149, 180, 218, 0.24);
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;

  position: relative;
}

.label {
  color: #444b62;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;

  width: fit-content;

  cursor: pointer;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  width: 100%;
}

.input {
  width: 100%;
  height: 2.75rem;

  background-color: white;

  border: 1px solid #d2d5e0;
  border-radius: 0.625rem;

  padding: 0 0.875rem;

  color: #444b62;
  font-size: 0.875rem;
  line-height: 1.25rem;

  transition: border-color 0.3s ease, box-shadow 0.3s ease,
  background-color 0.3s ease;
}

.input:not(:focus):hover {
  background-color: #f8f9fb;
}

.input::placeholder {
  color: #8e96b1;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.input:focus {
  outline: none;
  border-color: #4d77f3;

  box-shadow: 0px 0px 0px 4px rgba(235, 240, 254, 1);
}

.primary-btn,
.primary-link,
.ghost-btn,
.ghost-link {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 2.75rem;

  padding: 0 1.25rem;

  border: 1px solid #4d77f3;
  border-radius: 27px;

  position: relative;
  z-index: 1;

  background-image: linear-gradient(90deg, #4d77f4 0%, #2c59df 100%);

  color: white;
  font-size: 0.875rem;
  line-height: 1.5rem;
  font-weight: 500;

  transition: box-shadow 0.3s ease;
}

.ghost-btn,
.ghost-link {
  border-color: #d2d5e0;

  background-color: #ffffff;
  background-image: none;

  color: #545c79;

  transition: background-color 0.3s ease, border-color 0.3s ease,
  color 0.3s ease, box-shadow 0.3s ease;
}

.ghost-btn:not(:disabled):focus,
.ghost-link:focus {
  outline: none;

  box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px #d2d5e0;
}

.ghost-btn:not(:disabled, :focus):hover,
.ghost-link:not(:focus):hover {
  border-color: #4d77f3;

  background-color: #ebf0fe;

  color: #4d77f3;
}

.primary-btn:not(:disabled):focus,
.primary-link:focus {
  outline: none;

  box-shadow: 0 0 0 4px white, 0 0 0 6px #4d77f4;
}

.primary-btn:not(:disabled)::before,
.primary-link::before {
  content: "";

  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;

  background: #7595f6;

  opacity: 0;
  transition: opacity 0.3s ease;

  border-radius: 1.687rem;
}

.primary-btn:not(:disabled):hover::before,
.primary-link:hover::before {
  opacity: 1;
}

.primary-btn:disabled,
.ghost-btn:disabled {
  background: #bbc0d0;
  border-color: #a6adc7;
}

.primary-link:hover,
.ghost-link:hover {
  text-decoration: none;
}

@media (max-width: 37.5rem) {
  .primary-btn,
  .primary-link,
  .ghost-btn,
  .primary-link:hover {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .only-desktop-btn {
    display: none;
  }
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 2.5rem;
  height: 2.5rem;

  border-radius: 50%;

  background-color: #eff7ff;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  width: fit-content;

  -webkit-line-clamp: 1;
  line-clamp: 1;
  word-break: break-all;

  word-wrap: normal;
}

.login-register-with-google-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  width: 100%;
}

.languageSwitcher {
  display: flex;
  align-items: center;

  height: 2.125rem;

  font-size: 0.9375rem;
  font-weight: 600;

  color: white;

  gap: 0.5rem;
}

.languageSwitcher a:focus {
  border-radius: 50%;
}

.login-register-with-google-content span {
  display: flex;
  align-items: center;
  gap: 0.625rem;

  color: #a6adc7;
  font-size: 1rem;
  line-height: 1.4rem;
}

.login-register-with-google-content span::before,
.login-register-with-google-content span::after {
  content: "";
  display: block;
  flex: 1;

  height: 1px;

  background-color: #d2d5e0;
}

.login-register-with-google-content .login-register-with-google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;

  width: 100%;
  height: 3rem;

  padding: 0 0.875rem;

  border: 1px solid #d2d5e0;
  border-radius: 0.5rem;

  background-color: #ffffff;

  color: #444b62;
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 500;

  transition: background-color 0.3s ease, border-color 0.3s ease,
  box-shadow 0.3s ease;
}

.login-register-with-google-content .login-register-with-google-button:hover {
  background-color: #f8f9fb;

  border-color: #a6adc7;
}

.login-register-with-google-content .login-register-with-google-button:focus {
  border-width: 2px;
  border-color: #636e8f;

  box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px #636e8f;
}

.login-register-with-google-content .login-register-with-google-button img {
  width: 1.5rem;
  height: 1.5rem;
}

.error-message {
  position: absolute;
  bottom: -1.125rem;
  left: 0.312rem;

  color: #fd2425;
  font-size: 0.75rem;
  line-height: 1rem;

  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.animeFadeIn {
  animation: fade-in 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.animeLeft {
  animation: slide-left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;

  transform: translateX(-30px);
}

@keyframes slide-left {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

#terms-and-policy-container {
  display: flex;
  flex-direction: column;

  position: relative;
}

#terms-and-policy-container div {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

#terms-and-policy-container p {
  color: #a6adc7;
  font-size: 0.75rem;
}

#terms-and-policy-container p a {
  color: #636e8f;
  font-size: 0.75rem;
}

#terms-and-policy-container p a:focus {
  box-shadow: 0 0 0 4px #e6f1fe, 0 0 0 5.5px #4a73f3;
}

#terms-and-policy-container #checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  position: relative;

  width: 1.06rem;
  height: 1.06rem;

  border: 1.5px solid #bbc0d0;
  border-radius: 0.26rem;

  cursor: pointer;

  transition: background-color 0.3s ease, border-color 0.3s ease,
  box-shadow 0.3s ease;
}

#terms-and-policy-container #checkbox:has(input:checked) {
  background-color: #4d77f3;

  border-color: #4d77f3;
}

#terms-and-policy-container #checkbox img {
  visibility: hidden;
}

#terms-and-policy-container #checkbox:has(input:checked) img {
  visibility: visible;
}

#terms-and-policy-container #checkbox input {
  opacity: 0;
  position: absolute;
  z-index: -10;
}

#terms-and-policy-container #checkbox:not(:has(input:checked)):hover {
  background-color: #eff7ff;

  border-color: #4d77f3;
}

#terms-and-policy-container #checkbox:has(input:checked):hover {
  background-color: #7595f6;

  border-color: #7595f6;
}

#terms-and-policy-container #checkbox:focus-within {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #4a73f3;
}

.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;

  width: 95%;

  margin: auto;
  padding: 1.5rem;

  border: 1px solid #e8eaef;
  border-radius: 1.375rem;

  background-color: #ffffff;

  box-shadow: 0px 8px 15px 0px rgba(0, 57, 98, 0.11);
}

.progress-bar-wrapper {
  width: 100%;
  height: 1.25rem;

  overflow: hidden;

  border-radius: 100px;

  background-color: #e9f0f8;
}

.progress-bar {
  width: 100%;
  height: 100%;

  position: relative;
  z-index: 1;

  border: 1px solid #d2d5e0;
  border-radius: 100px;

  background-color: inherit;

  transform: translateZ(0);
}

.progress-bar .progress-indicator {
  position: absolute;
  left: 0;
  top: -1px;
  z-index: 2;

  width: calc(100% + 4px);
  height: 1.25rem;

  border-radius: 100px;

  background: linear-gradient(93.76deg, #fdd93e 46.91%, #ffca2f 76.64%);

  box-shadow: 0px 1px 7px 0px #ffc22366;

  transition: transform 660ms cubic-bezier(0.65, 0, 0.35, 1);
}

.progress-bar .progress-indicator::after {
  content: "";

  position: absolute;
  top: 50%;
  right: 0.375rem;

  width: 0.52rem;
  height: 0.52rem;

  border-radius: 50%;

  background-color: #ffffff;

  transform: translateY(-50%);
}

aside .points-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

aside .points-content .points-wrapper {
  display: flex;
  align-items: center;
  gap: 0.375rem;

  color: #636e8f;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

aside .points-content .points-wrapper img {
  margin-right: 0.375rem;
}

aside .points-content .points-wrapper .points {
  display: flex;
  align-items: center;

  color: #a6adc7;
  font-weight: 500;
}

aside .points-content .points-wrapper .current-points {
  color: #252935;
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 600;
}

#points-content-mobile .points {
  display: flex;
  align-items: center;

  color: #a6adc7;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
}

#points-content-mobile .current-points {
  color: #252935;
  font-size: 1.25rem;
  line-height: 1.875rem;
  font-weight: 600;
}

@media (max-width: 50rem /* 800px */) {
  aside .points-content .points-wrapper {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  aside .points-content .points-wrapper .current-points {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

@media (max-width: 37.5rem) {
  .auth-card {
    margin: 0 auto;
  }

  .login-register-with-google-content .login-register-with-google-button {
    font-size: 0.875rem;
    line-height: 1.218rem;
  }
}
