/* Style épuré type Linear / Vercel : fond uni, bordures fines, pas d'ombre, cartes compactes. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0a0a0a;
  --border: #1f1f1f;
  --border-hover: #333333;
  --surface-hover: #111111;
  --text: #ededed;
  --muted: #8f8f8f;
  --accent: #7c8cff;
}

html, body, #page_wrapper, #inner_wrapper {
  background: var(--bg) !important;
  background-image: none !important;
}
body, button, input {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
#inner_wrapper { max-width: 1100px; margin: 0 auto; }

/* Pas d'ombres ni de flou nulle part */
*, *::before, *::after { box-shadow: none !important; backdrop-filter: none !important; text-shadow: none !important; }

/* En-tête : titre + ressources, sobre */
#information-widgets { border-bottom: 1px solid var(--border); padding-bottom: 1rem; margin-bottom: 1.5rem; }
#information-widgets * { color: var(--muted) !important; }
#information-widgets .information-widget-greeting, #information-widgets .information-widget-greeting * { color: var(--text) !important; font-weight: 600; letter-spacing: -0.02em; }
#information-widgets svg { opacity: .6; }
#information-widgets [class*="bg-theme"] { background: var(--border) !important; }

/* Onglets */
#myTab { border: none !important; gap: .25rem; background: transparent !important; }
#myTab li, #myTab button { background: transparent !important; border: 1px solid transparent !important; border-radius: 6px !important; color: var(--muted) !important; font-size: .875rem; font-weight: 500; }
#myTab button:hover { color: var(--text) !important; }
#myTab button[aria-selected="true"] { color: var(--text) !important; border-color: var(--border) !important; background: var(--surface-hover) !important; }

/* Titres de groupe */
.service-group-name { color: var(--muted) !important; font-size: .75rem !important; font-weight: 500 !important; text-transform: uppercase; letter-spacing: .08em; }

/* Cartes compactes : logo + nom */
.service-card {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  transition: border-color .15s ease, background-color .15s ease;
}
.service-card:hover { border-color: var(--border-hover) !important; background: var(--surface-hover) !important; }
.service-card:hover .service-name { color: var(--accent) !important; }
.service-name { color: var(--text) !important; font-size: .875rem; font-weight: 500; }
.service-description { display: none !important; }
.service-icon img, .service-icon svg { width: 22px !important; height: 22px !important; }

/* Pied de page et éléments superflus */
#footer, #version, #revalidate { display: none !important; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
