/* =========================
   RESET
========================= */
* {
    box-sizing: border-box;
}

/* =========================
   CONTAINER
========================= */
.dms-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   FIXED HEADER (FINAL)
========================= */
.dms-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px; /* SINGLE SOURCE OF TRUTH */
    background: #111827;
    color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center; /* vertical center */
}

/* INNER HEADER LAYOUT */
.dms-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.dms-logo a {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

/* NAV */
.dms-nav a {
    color: #ccc;
    margin: 0 10px;
    text-decoration: none;
}

.dms-nav a:hover {
    color: #fff;
}

/* BUTTONS */
.dms-btn {
    background: #22c55e;
    padding: 8px 14px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
}

.dms-btn-outline {
    border: 1px solid #fff;
    padding: 8px 14px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    margin-left: 10px;
}

/* =========================
   MAIN CONTENT
========================= */
.dms-main {
    min-height: calc(100vh - 70px);
    padding: 20px 0;
}

/* =========================
   GLOBAL FOOTER (NON-DASHBOARD)
========================= */
.dms-footer {
    background: #111827;
    color: #ccc;
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
}

/* =========================
   HARD FIX — HEADER + WP ADMIN BAR
========================= */

html {
    margin-top: 0px !important;
}

/* kill wordpress top spacing completely */
html, body {
    margin-top: 0 !important;
}

/* force header to never move */
.dms-header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 99999;
}

/* override admin bar behavior */
body.admin-bar .dms-header {
    top: 0 !important;
}

/* ensure content starts correctly */
body {
    padding-top: 70px !important;
}