@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  box-sizing: border-box;
  font-family: 'inter', sans-serif !important;
}

span {
  line-height: 20px;
  font-size: 14px;
}

::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
  border: 1px solid transparent !important;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px !important;
  background-color: #d9d9d9 !important;
}

::-webkit-scrollbar-track {
  background-color: transparent !important;
}

#sanofi-page {
  .sanofi__banner {
    .sanofi__banner__list {
      list-style: none;
    }
    .sanofi__banner__list li {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
    }
    .sanofi__banner__list li::before {
      color: rgba(122, 0, 230, 1);
      content: '\2022';
      font-size: 30px;
      vertical-align: middle;
      line-height: 20px;
    }
    .sanofi__banner__list li + li {
      margin-top: 16px;
    }
    .sanofi__banner__list a {
      text-decoration: underline;
      color: var(--sanofi-text);
      &:hover {
        color: #69b1ff;
      }
    }
  }
}

.search {
  display: flex;
  align-items: center;
  width: 100%;
  height: 38px; /* makes the pill height */
  background: white; /* light background */
  border-radius: 999px;
  padding: 6px 8px; /* outer padding */
  box-sizing: border-box;
  gap: 10px;
  border: 1px solid rgba(16, 24, 40, 0.06);
}

/* input takes available space */
.search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  line-height: 1;
  padding: 8px 12px;
  color: #1f2937; /* main text color */
  caret-color: #0b3b66;
}

/* placeholder color */
.search input::placeholder {
  color: #616161; /* muted placeholder */
  opacity: 0.3;
}

/* circular dark button on the right */
.search-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #122e63; /* dark circle */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}

/* small screens tweak */
@media (max-width: 480px) {
  .search {
    height: 40px;
    gap: 8px;
  }
  .search-btn {
    width: 34px;
    height: 34px;
  }
  .search input {
    font-size: 13px;
  }
}
