/* Virus Guardia Enterprise — Management Console theme (Breeze Blue).
   Matches the Endpoint Protection client's breeze palette; the teal-shield logo is the shared brand. */
:root {
  --vg-accent: #2E8FD0;
  --vg-accent-bright: #4FB0E5;
  --vg-accent-pressed: #175E96;
  --vg-deep: #0E3A5A;
  --vg-deep-2: #0C3A5C;
  --vg-page: #EDF4FB;
  --vg-ink: #1b2430;
  --vg-muted: #5a6b7b;
  --vg-border: #d4e2ef;
  --vg-card: #ffffff;
  --vg-ok: #0a7d55;
  --vg-warn: #b06f00;
  --vg-danger: #b3261e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--vg-ink);
  background: var(--vg-page);
  line-height: 1.45;
}

/* ---- top bar ---- */
.vg-topbar {
  background: linear-gradient(100deg, var(--vg-deep), var(--vg-deep-2));
  color: #fff;
  box-shadow: 0 2px 10px rgba(14, 58, 90, .25);
}
.vg-topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: .7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
}
.vg-brand { display: flex; align-items: center; gap: .6rem; }
.vg-brand img { height: 34px; width: auto; display: block; }
.vg-brand-title { font-size: 1.12rem; font-weight: 600; letter-spacing: .2px; }
.vg-brand-title .vg-accent-text { color: var(--vg-accent-bright); }
.vg-brand-sub { font-size: .72rem; color: #a9c6de; letter-spacing: .4px; text-transform: uppercase; }

.vg-nav { display: flex; align-items: center; gap: .2rem; flex-wrap: wrap; margin-left: auto; }
.vg-nav a, .vg-nav .vg-signout {
  color: #d3e6f6;
  text-decoration: none;
  padding: .35rem .7rem;
  border-radius: 7px;
  font-size: .9rem;
  line-height: 1;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.vg-nav a:hover, .vg-nav .vg-signout:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.vg-nav a.active { background: var(--vg-accent); color: #fff; }
.vg-nav .vg-signout { color: #a9c6de; }
.vg-nav form { margin: 0; display: inline-flex; }

/* ---- login ---- */
.vg-login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; margin: 0; padding: 1rem; }
.vg-login-card { background: var(--vg-card); border: 1px solid var(--vg-border); border-radius: 14px; box-shadow: 0 10px 40px rgba(14, 58, 90, .15); padding: 2rem; width: 100%; max-width: 23rem; }
.vg-login-brand { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-bottom: 1.2rem; text-align: center; }
.vg-login-brand img { height: 56px; }
.vg-login-brand .vg-login-title { font-size: 1.2rem; font-weight: 600; color: var(--vg-deep); }
.vg-login-brand .vg-login-title .vg-accent-text { color: var(--vg-accent); }
.vg-login-brand .vg-login-sub { font-size: .8rem; color: var(--vg-muted); text-transform: uppercase; letter-spacing: .5px; }
.vg-login-form { display: flex; flex-direction: column; gap: .7rem; }
.vg-login-form label { font-size: .85rem; color: var(--vg-muted); display: flex; flex-direction: column; gap: .25rem; }
.vg-login-form button { margin-top: .4rem; padding: .55rem 1rem; font-size: 1rem; }

/* ---- content shell ---- */
.vg-shell { max-width: 1120px; margin: 0 auto; padding: 1.4rem 1.25rem 3rem; }
.vg-footer { max-width: 1120px; margin: 0 auto; padding: 1rem 1.25rem 2rem; color: var(--vg-muted); font-size: .78rem; }

/* ---- typography ---- */
h1, h2, h3 { color: var(--vg-deep); margin-top: 0; }
h2 { font-size: 1.35rem; }
a { color: var(--vg-accent-pressed); }
a:hover { color: var(--vg-accent); }
code { background: #e7eff8; padding: .05rem .3rem; border-radius: 4px; font-size: .9em; }

/* ---- controls ---- */
button {
  background: var(--vg-accent);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: .45rem 1rem;
  font: inherit;
  cursor: pointer;
  transition: background .12s ease;
}
button:hover { background: var(--vg-accent-pressed); }
.vg-btn-danger { background: var(--vg-danger); }
.vg-btn-danger:hover { background: #8f1e17; }
input, textarea, select {
  border: 1px solid var(--vg-border);
  border-radius: 6px;
  padding: .4rem .5rem;
  font: inherit;
  background: #fff;
  color: var(--vg-ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--vg-accent-bright); outline-offset: 0; border-color: var(--vg-accent); }

fieldset { border: 1px solid var(--vg-border); border-radius: 10px; background: var(--vg-card); padding: .85rem 1rem; }
legend { color: var(--vg-deep); font-weight: 600; padding: 0 .4rem; }

/* ---- tables ---- */
table { border-collapse: collapse; width: 100%; background: var(--vg-card); border-radius: 8px; overflow: hidden; }
th, td { border-bottom: 1px solid var(--vg-border); padding: .5rem .65rem; text-align: left; }
th { background: #e3eefb; color: var(--vg-deep); font-weight: 600; }
tr:last-child td { border-bottom: none; }

/* a simple card for page sections that want one */
.vg-card { background: var(--vg-card); border: 1px solid var(--vg-border); border-radius: 10px; padding: 1rem 1.1rem; box-shadow: 0 1px 3px rgba(14, 58, 90, .06); }
