/* ─────────────────────────────────────────────
   BudgetGuard – Yoast Style Admin UI
───────────────────────────────────────────── */
#wpcontent,
#wpfooter {
  margin-left: 180px;
}

body.budgetguard-page {
  background-color: #f7f8fa !important;
}

.budgetguard-admin {
  display: flex;
  color: #1e1e1e;
  min-height: calc(100vh - 32px);
}

/* ─────────────────────────────────────────────
   Sidebar
───────────────────────────────────────────── */
.budgetguard-sidebar {
  width: 240px;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.budgetguard-sidebar .logo {
  width: 80%;
  height: auto;
  opacity: 1;
  margin-right: auto;
  margin-top: 10px;
}

.budgetguard-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.budgetguard-nav a {
  display: flex;
  align-items: center;
  padding: 10px 20px 10px 15px;
  color: #444;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 15px;
}

.budgetguard-nav a svg {
  width: 30px;
  height: 30px;
  fill: #444;
  flex-shrink: 0;
  margin-right: 10px;
  transition: fill 0.2s ease;
}

.budgetguard-nav a:hover,
.budgetguard-nav a.active:hover {
  background: #004567;
  color: #fff;
}
.budgetguard-nav a:hover svg,
.budgetguard-nav a.active:hover svg {
  filter: brightness(0) invert(1);
}

.budgetguard-nav a.active {
  background: #d7dae9;
  font-weight: 500;
  color: #444;
}

.budgetguard-nav i {
  font-size: 18px;
}

/* ─────────────────────────────────────────────
   Main content
───────────────────────────────────────────── */
.budgetguard-main {
  flex: 1;
  padding: 40px 60px;
}

.budgetguard-main h1 {
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 30px;
}

.budgetguard-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

/* ─────────────────────────────────────────────
   Cards
───────────────────────────────────────────── */
.budgetguard-card {
  background: #fff;
  border: 1px solid #e4e6eb;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}

.budgetguard-card:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.budgetguard-card.full {
  grid-column: 1 / -1;
}

.budgetguard-card h2 {
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
}

.status-active {
  color: #9ac43a;
  font-weight: 600;
  font-size: 16px;
}

.status-inactive {
  color: #d93025;
  font-weight: 600;
  font-size: 16px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-line p {
  margin: -2px 0 0 0;
}

.status-icon svg {
  width: 33px;
  height: 33px;
}

.status-icon.active svg path {
  fill: #9ac43a;
}

.status-icon.inactive svg path {
  fill: #b71c1c;
}

/* ─────────────────────────────────────────────
   Buttons
───────────────────────────────────────────── */
.button.button-primary {
  background: #004567;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 400;
  padding: 8px 18px;
  font-size: 14px;
  transition: background 0.2s;
}

.button.button-primary:hover {
  background: #9ac43a;
}

/* ─────────────────────────────────────────────
   Consent Section
───────────────────────────────────────────── */
.budgetguard-consent-block {
  margin-bottom: 12px;
  line-height: 1.5;
}

.budgetguard-consent-block input {
  margin-right: 6px;
}

.budgetguard-consent-block a {
  text-decoration: none;
  color: #0057b7;
}

.budgetguard-consent-block a:hover {
  text-decoration: underline;
}
