/* ===============================
   GLOBAL RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ===============================
   BODY
================================ */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0b0f14;
    color: #e5e7eb;
    line-height: 1.6;
}


/* ===============================
   HEADER
================================ */
header {
    background-color: #0f1115;
    padding: 25px;
    text-align: center;
    border-bottom: 2px solid #76b900;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

header h1 {
    color: #76b900;
    font-size: 2rem;
    margin-bottom: 6px;
}

header p {
    color: #94a3b8;
    margin-bottom: 12px;
}


/* ===============================
   NAVIGATION
================================ */
nav a {
    color: #cbd5e1;
    margin: 0 12px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #76b900;
}


/* ===============================
   MAIN
================================ */
main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}


/* ===============================
   SECTION HEADINGS
================================ */
h2 {
    color: #76b900;
    margin-bottom: 10px;
    font-size: 1.6rem;
}

section p {
    color: #cbd5e1;
    margin-bottom: 15px;
    font-weight: 500;
}


/* ===============================
   TABLE STYLING (NVIDIA THEME)
================================ */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #141922;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;

    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}


/* TABLE HEADERS */
th {
    background-color: #76b900;
    color: #000;
    padding: 12px;
    font-weight: 600;
    text-transform: capitalize;
}


/* TABLE CELLS */
td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #1f2937;
    color: #e5e7eb;
}


/* ZEBRA STRIPES */
tr:nth-child(even) {
    background-color: #111827;
}


/* HOVER EFFECT */
tr:hover {
    background-color: #1f2937;
}


/* ===============================
   LOW STOCK WARNING (optional)
================================ */
td.low-stock {
    color: #facc15;
    font-weight: 600;
}


/* ===============================
   OUT OF STOCK
================================ */
td.out-stock {
    color: #ef4444;
    font-weight: 700;
}


/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {

    header h1 {
        font-size: 1.6rem;
    }

    table {
        font-size: 0.85rem;
    }

    nav a {
        display: inline-block;
        margin: 6px;
    }
}

