/*
Theme Name: IT Tools Child Theme
Template: twentytwentyfive
*/
/* ============================================
   UBIQUITI / CLOUDFLARE DASHBOARD THEMA
   High-end zwarte UI met perfecte thematoggle
============================================ */

/* THEMA ROOT */
:root {
  --bg: #f4f6f8;
  --bg2: #ffffff;
  --text: #0a0a0a;
  --text2: #3a3a3a;
  --card: #ffffff;
  --border: rgba(0,0,0,0.07);
  --shadow: 0 2px 6px rgba(0,0,0,0.08);
  --accent: #2683ff;
}

:root.dark {
  --bg: #0d1117;
  --bg2: #161b22;
  --text: #e6e6e6;
  --text2: #a0a0a0;
  --card: #161b22;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 4px 12px rgba(0,0,0,0.4);
  --accent: #429fff;
}

/* GLOBALE BACKGROUND OVERRIDE (fix voor Elementor/Hello) */
html, body {
  background: var(--bg) !important;
  transition: background 0.28s ease;
}

/* Verwijder ALLE Elementor/Theme achtergrondlagen */
body::before, body::after,
html::before, html::after,
.elementor, .elementor * {
  background: transparent !important;
}

/* DASHBOARD STRUCTUUR */
#dashboard {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* HEADER */
#header {
  text-align: center;
  margin-bottom: 40px;
}

#header h1 {
  font-size: 2.4rem;
  margin-bottom: 8px;
  color: var(--text);
}

#header p {
  color: var(--text2);
  font-size: 1.1rem;
}

/* GRID */
#grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

/* CARDS */
.card {
  text-decoration: none;
  padding: 24px;
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: 0.25s ease;
  display: block;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* ICON */
.icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

/* TITEL + TEXT */
.card h2 {
  margin-bottom: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
}

.card p {
  color: var(--text2);
  font-size: 0.95rem;
}

/* THEMA KNOP */
#themeBtn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

#themeBtn:hover {
  transform: scale(1.1);
  border-color: var(--accent);
}