/* INVO main stylesheet (imports + base reset) */

@import url('./tokens.css');
@import url('./components-core.css');
@import url('./pages/layout-shell.css');
@import url('./pages/auth.css');
@import url('./pages/surfaces-doc.css');
@import url('./pages/tables-widgets.css');
@import url('./pages/app-chrome.css');
@import url('./pages/help-search-skeleton.css');
@import url('./pages/panels-charts-domain.css');
@import url('./pages/pdf-preview.css');
@import url('./pages/templates-mobile-static.css');
@import url('./pages/responsive.css');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-variant-numeric: normal;
  font-feature-settings:
    'tnum' 0,
    'zero' 0;
}
* {
  font-variant-numeric: normal;
  font-feature-settings:
    'tnum' 0,
    'zero' 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nzero {
  font-family: Arial, sans-serif;
  font-variant-numeric: normal;
  font-feature-settings: 'zero' 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  font-family: inherit;
}
button:focus-visible,
a:focus-visible,
[role='button']:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
input,
select,
textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--control-bg);
  border: 1px solid var(--control-border);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  width: 100%;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.06s;
}
input,
select {
  min-height: var(--control-h);
}
textarea {
  line-height: 1.5;
}
input::placeholder,
textarea::placeholder {
  color: rgba(148, 168, 190, 0.75);
}
input:hover,
textarea:hover {
  background: var(--control-bg-hover);
  border-color: var(--control-border-hover);
}
select:hover {
  background-color: var(--control-bg-hover);
  border-color: var(--control-border-hover);
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 20px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: var(--ring);
}
input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
input[type='file'] {
  padding: 8px 12px;
}
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type='number'] {
  -moz-appearance: textfield;
}
/* Placeholder visible sur les inputs date vides (Safari/iOS) */
input[type='date']:not(:valid):not(:focus) {
  color: var(--text3);
}
input[type='date']::-webkit-datetime-edit {
  color: var(--text);
}
input[type='date']:not(:valid):not(:focus)::-webkit-datetime-edit {
  color: transparent;
}
input[type='date']:not(:valid):not(:focus)::before {
  content: attr(placeholder);
  color: var(--text3);
  pointer-events: none;
}
/* Menus déroulants natifs (<select>) — lisibilité + flèche visible */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  border-color: rgba(9, 188, 138, 0.28);
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 20px;
}
select:hover {
  border-color: rgba(9, 188, 138, 0.45);
}
select:focus {
  border-color: var(--teal);
  box-shadow: var(--ring);
}
select::-ms-expand {
  display: none;
}
select option,
select optgroup {
  background: var(--surface2);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 12px;
}
select option:checked,
select option:hover {
  background: rgba(9, 188, 138, 0.25);
  color: var(--text);
}
.inv-line select {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 36px 8px 10px;
  min-height: 36px;
}
label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  display: block;
  margin-bottom: 4px;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

