* {
  margin: 0;
  box-sizing: border-box;
  transition: color 0.4s ease, background-color 0.4s ease, font-family 0.4s ease;
}


a {
  text-decoration: none;
  color: inherit;
}



body{
font-family: 'Inter', sans-serif;
margin:0;
background:var(--bg-color, black);
}

.topbar{
color: var(--text-color, black);
padding: 1rem 3rem;
display:flex;
justify-content:space-between;
background: var(--header-bg, #ffffffcc);
backdrop-filter: blur(8px);
border-bottom: 1px solid rgba(0,0,0,0.1);
width: 100%;
position: fixed;
top: 0;
left: 0;
display: flex;
z-index: 100;
align-items: center;
}

.user-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.user-action {
  color: var(--text-color, black);
}

.user-action:hover {
  color: var(--accent-color, black);
}

.container{
margin-top: 4rem;
display:flex;
}

.logo {
    font-size: 1.5rem;
}

.sidebar {
  width: 220px;
  background: var(--pricing-bg, #007BFF);
  color: var(--text-color, #007BFF);
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

.sidebar h3 {
  margin-bottom: 20px;
  font-size: 18px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 10px;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 8px;

  color: var(--text-color, #007BFF);
  background: var(--pricing-bg, #007BFF);
  text-decoration: none;

  transition: all 0.2s ease;
}

.svg {
    color: var(--text-color, #007BFF);
}

/* ICON */
.sidebar a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* HOVER EFFECT */
.sidebar a:hover {
  color: var(--accent-color, #007BFF);
  background: var(--header-bg, #007BFF);
  transform: translateX(3px);
}

/* ACTIVE (optional but recommended) */
.sidebar a.active {
  background: var(--pricing-bg, #007BFF);
  color: var(--accent-color, #007BFF);
}

.sidebar a.active img {
  filter: brightness(0) saturate(100%) invert(36%) sepia(92%) saturate(748%) hue-rotate(183deg);
}

.content{
flex:1;
padding:30px;
}



.headline {
    color: var(--text-color, black);
    padding: 1.6rem 0;
}



.footer{
text-align:center;
padding:20px;
background: var(--pricing-bg, #007BFF);
color: var(--text-color, black);
}

.cp-text-normal {
  color: var(--text-color, black);
}



/* ========== BASE (MODERN LIGHT) ========== */
body {
  --bg-color: linear-gradient(145deg, #fafafa 0%, #f3f4f6 100%);
  --text-color: #1a1a1a;
  --subtext-color: #6b7280;
  --accent-color: #3b82f6;
  --header-bg: #ffffffcc;
  --browser-bg: #f9fafb;
  --pricing-bg: #f0f0f5;
  --card-border: #e5e7eb;
  --link-hover: #2563eb;
  --table-bg: #ffffffcc;

  font-family: 'Inter', sans-serif;
}

/* instead of body.dark-mode */
html.dark-mode body {
  --bg-color: linear-gradient(145deg, #050B1D 0%, #0A163A 100%);
  --text-color: #E5E8F0;
  --subtext-color: #A0A8C0;
  --accent-color: #5B8CFF;
  --header-bg: #0b132b99;
  --browser-bg: #0F1735;
  --pricing-bg: #0F1735;
  --card-border: #2a3355;
  --link-hover: #5B8CFF;
  --table-bg: #2b365699;
}

/* ========== DARK MODE TOGGLE BUTTON ========== */
.darkmode-toggle {
  margin-left: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.darkmode-toggle svg {
  transition: transform 0.3s ease, color 0.3s ease;
  color: var(--text-color);
}

.darkmode-toggle.active svg {
  color: #ffffff;
  transform: rotate(360deg);
}