@font-face {
  font-family: 'Urbanist';
  src: url('../assets/fonts/Urbanist.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --foreground: #04060F;
  --background: #ffffff;
  --primary: #246BFD;
  --secondary: #9FA8BC;
  --danger: #F33F19;
  --cinder: #E7E5E4;
  --bluegray: #E9F0FF;
  --gray: #E7EBF3;
}

[ data-theme="dark"] {
  --background: #04060F;
  --foreground: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --foreground: #2a2a2a;
    --background: #ffffff;
    --cinder: #999;
    --bluegray: --primary;
  }
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Urbanist, sans-serif !important;
}
*{
  margin: 0;
  padding: 0;
}
.input-form {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5dc;
  border-radius: 9999px;
  color: black;

  &:focus {
    outline-color: none;
  }
}

.input-label {
  position: absolute;
  left: 12px;
  top: -0.45rem;
  padding: 1px 5px;
  line-height: normal;
  color: var(--secondary);
  background-color: var(--background);
  border-radius: 400px;
  z-index: 1;
}

.form-error {
  font-size: 14px;
  color: var(--danger);
}

.btn-floating-right {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-floating-left {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-auth {
  border-radius: 9999px;
  background-color: #246BFD;
  color: white;
  width: 100%;
  padding: 8px;
  cursor: pointer;

  &:hover {
    background-color: rgb(22, 77, 185);
  }
}

.btn-auth-loading {
  border-radius: 9999px;
  background-color: #93b4f8;
  color: white;
  width: 100%;
  padding: 8px;
}

.responsive-icon {
  min-width: 16px;
  min-height: 16px;
  width: 24px;
  height: 24px;
  transition: width 0.2s, height 0.2s;
}

button {
  background-color: transparent;
  border: none;
}

.cta {
  padding: 10px 24px;
  width: max-content;
  height: max-content;
  color: white;
  background-color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--primary);
  border-radius: 100px;
  cursor: pointer;
  text-wrap: nowrap;
}

.cta.modal-cta {
  padding: 9px;
  margin-top: 32px;
  width: 240px;
}

.cta.cancel {
  color: var(--secondary);
  border: 1px solid var(--gray);
  background-color: var(--gray);
}

.cta.info {
  color: var(--primary);
  background-color: var(--background);
}

.cta.danger {
  border: 1px solid var(--danger);
  background-color: var(--danger);
}


.bg-bluegray {
  background-color: var(--bluegray);
}

.bg-gray {
  background-color: var(--gray);
}

hr {
  color: var(--gray);
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 24px;
  height: 24px;
  border: 1px solid var(--secondary) !important;
  border-radius: 6px !important;
  background-color: transparent;
  cursor: pointer;
  position: relative;
}


input[type="checkbox"]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}


input[type="checkbox"]:checked::before {
  content: "✔";
  font-size: 18px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-input {
  width: 490px;
  margin-left: auto;
  margin-right: auto;
}


/* Splash Screnn */

.splash-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bluegray);
  z-index: 99;
}
.splash-screen p{
  width: max-content;
  font-size: 32px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.splash-screen span {
  /* font-family: "Inter 200"; */
  font-weight: 100 !important;
}



/* Scroll Bar  */

::-webkit-scrollbar {
  width: 7px;
  padding: 0;
  margin: 0;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
}

::-webkit-scrollbar-track:hover {
  background: var(--background);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}


@media (max-width: 768px) {
  .responsive-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .responsive-icon {
    width: 16px;
    height: 16px;
  }
}




/* Login Header */
.login-header {
  padding: 20px 0;
  box-shadow: 0 0 24px #0000001A;
}

.word {
  font-size: 24px;
  font-weight: bold;
  color: black;
  position: relative;
  line-height: normal;
}

.dot {
  /* font-size: 14px; */
  color: blue;
  position: absolute;
  top: -10px;
  left: 22px;
  animation: bounce 1s infinite ease-in-out;
}
.splash-screen .dot{
  font-size: 48px;
  top: -28px;
  left: 28px;
  animation: bounce 1s infinite ease-in-out;
}


@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

.login-main {
  min-height: 100vh;
}


.form-container {
  padding: 48px 64px;
  margin: auto;
  width: max-content;
  max-width: 624px;
  border-radius: 8px;
  box-shadow: 0 0 24px #0000001A;
}

.form-fields {
  gap: 24px;
}




@media (max-width: 768px) {

  .splash-screen p{
    font-size: 24px;
  }

  .login-main{
    width: 100%;
  }
  .form-container {
    padding: 24px 32px;
    margin: 0 4%;
    width: 80%;
  }

  .form-fields {
    gap: 12px;
  }
  
  .modal-input {
    width: 100%;
    min-width: 100%;
  }
  .form-title{
    margin-bottom: 2px!important;
  }

  .cta.modal-cta{
    margin: 0!important;
  }
  .input-form{
    margin: 0 auto;
  }
}