/*
Theme Name:   WireTracker Theme
Theme URI:    https://example.com/wiretracker-theme
Author:       WireTracker
Description:  Thème minimaliste sombre conçu pour WireTracker CRM. Masque tous les éléments WordPress superflus (en-tête, pied de page, sidebar) pour laisser l'application CRM occuper tout l'espace.
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  wiretracker-theme
Tags:         dark, crm, minimal, full-width
*/

/* ── Variables ── */
:root {
  --wt-bg:        #0f1117;
  --wt-bg-card:   #1a1d27;
  --wt-border:    #2a2e44;
  --wt-accent:    #6c63ff;
  --wt-text:      #e2e8f0;
  --wt-muted:     #8892b0;
  --wt-font:      'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ── Reset général ── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--wt-bg);
  color: var(--wt-text);
  font-family: var(--wt-font);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Masquer les éléments WordPress non désirés ── */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

.site-header,
.site-footer,
.widget-area,
.entry-title,
.entry-meta,
.entry-footer,
.post-navigation,
.breadcrumb,
.comments-area,
#comments {
  display: none !important;
}

/* ── Layout de page ── */
body.page-template-default .site-content,
body.page .site-content,
.site-main,
.content-area {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.entry-content {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

/* Suppression des marges Gutenberg */
.wp-block-group,
.wp-block-group__inner-container {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Liens ── */
a { color: var(--wt-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Scrollbar personnalisée ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--wt-bg); }
::-webkit-scrollbar-thumb { background: var(--wt-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--wt-muted); }
