:root {
  font-size: 62.5%;
}
/* 1rem = 10px */

:root {
  /* Font Sizes */
  --font-size-xs: 0.8rem;
  --font-size-s: 1rem;
  --font-size-sm: 1.2rem;
  --font-size-md: 1.4rem;
  --font-size-lg: 1.6rem;
  --font-size-xl: 2rem;

  /* Colors */
  --primary-text-color: #101010;
  --secondary-text-color: #ffffff;
  --tertiary-text-color: #969696;
  --border-color: #d3d8e3;
  --placeholder-color: #677a8e;

  /* Background colors */
  --primary-background-color: #ffffff;
  --secondary-background-color: #f4f6f8;
  --tertiary-bg-color: #041d37;
  --icon-bg-color: #f0f5f9;
}
/* 1rem = 10px */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  font-family: "Inter", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  flex: 1;
  padding-top: 54px;
}

/* Scrollbar (optional styling) */
::-webkit-scrollbar {
  width: 0.5rem;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 4px;
}

.scroll-container {
  overflow: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  transition: padding-right 0.3s ease;
  padding-right: 0; /* initial padding to hide scrollbar area */
}

.scroll-container::-webkit-scrollbar {
  width: 8px;
  transition: opacity 0.3s ease;
  opacity: 0; /* hidden initially */
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 4px;
}

.scroll-container.scrolling::-webkit-scrollbar {
  opacity: 1; /* fade in on scroll */
}

.scroll-container.scrolling {
  scrollbar-width: thin;
  padding-right: 8px; /* push content to the left when scrollbar appears */
}
