/* ------------------------------
   GLOBAL LAYOUT
------------------------------ */
body {
    margin: 0;
    padding: 0;
    background: #f5f7fa;
    font-family: Arial, sans-serif;
    color: #222;
}

.inv-wrapper {
    padding: 30px;
    max-width: 1100px;
    margin: auto;
}

/* ------------------------------
   TOP NAVIGATION BAR
------------------------------ */
.inv-topbar {
    background: #0d6efd;
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inv-topbar-right a {
    color: white;
    margin-left: 18px;
    text-decoration: none;
    font-weight: bold;
}
.inv-topbar-right a.logout {
    color: #ffdddd;
}

.inv-topbar-right a:hover {
    text-decoration: underline;
}

/* ------------------------------
   DASHBOARD CARDS
------------------------------ */
.page-container {
    margin-top: 25px;
}

.page-title {
    font-size: 26px;
    margin-bottom: 5px;
}

.page-subtitle {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.dash-card {
    background: white;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.dash-card h3 {
    margin: 0 0 10px 0;
}

.dash-value {
    font-size: 26px;
    font-weight: bold;
    color: #0d6efd;
}

/* ------------------------------
   FORMS & INPUTS
------------------------------ */
input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 6px;
    margin-bottom: 18px;
}

button, .inv-btn {
    background: #0d6efd;
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    width: 100%;
}

button:hover, .inv-btn:hover {
    background: #0956c7;
}

/* ------------------------------
   ALERTS
------------------------------ */
.inv-alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.inv-error {
    background: #ffd6d6;
    color: #a70000;
}

.inv-success {
    background: #d4f7d4;
    color: #246b24;
}
