/* =============================================
   CRM B2B GHN - Base Styles & Reset
   Redesign: Caravan Style (Nunito, Teal, Minimalist)
   ============================================= */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--neutral-800);
  background-color: var(--bg-page);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--neutral-900);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-md); }

a {
  color: var(--primary-700);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--primary-500); }

img { max-width: 100%; display: block; }

button {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

table {
  width: 100%;
  border-collapse: collapse;
}

ul, ol { list-style: none; }

/* Scrollbar — Thinner, Teal tint */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--primary-200);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-400); }

/* Selection */
::selection {
  background: var(--primary-100);
  color: var(--primary-900);
}

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
