
/* =====================================================
   JNVU NOTES HUB – COMPLETE CSS
   Clean • Responsive • Project Ready
   ===================================================== */
   *{
       box-sizing: border-box;
   }
   

/* ---------- RESET ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f4f7fb;
    color: #222;
    overflow-x: hidden;
}

/* ---------- HEADER ---------- */
header {
    
    background: #301CA0;
    color: #fff;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

/* ---------- NAVIGATION ---------- */
nav {
    display: flex;
    gap: 12px;
    align-items:center;
    flex-wrap: wrap;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    background: rgba(255,255,255,0.2);
}

/* ---------- CONTAINER ---------- */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px 16px;
}

/* ---------- CARD ---------- */
.card {
    background: #ffffff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}

/* ---------- HEADINGS ---------- */
h1, h2, h3 {
    margin-bottom: 12px;
}

/* ---------- FORMS ---------- */
label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 14px;
}

input:focus, select:focus, textarea:focus {
    border-color: #301CA0;
    outline: none;
}

/* ---------- BUTTONS ---------- */
button,
.btn {
    background: #301CA0;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

button:hover,
.btn:hover {
    background: #24147a;
}

/* ---------- STATUS COLORS ---------- */
.status-approved {
    color: green;
    font-weight: bold;
}

.status-pending {
    color: #e69500;
    font-weight: bold;
}

.status-rejected {
    color: red;
    font-weight: bold;
}

/* ---------- TABLE ---------- */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th {
    background: #301CA0;
    color: #fff;
    padding: 10px;
    text-align: left;
}

td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

tr:hover td {
    background: #f1f1ff;
}

/* ---------- FILTER BAR ---------- */
.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

/* ---------- LINKS ---------- */
a {
    color: #301CA0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ---------- FOOTER ---------- */
footer {
    background: #301CA0;
    color: #fff;
    text-align: center;
    padding: 16px;
    margin-top: 40px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {

    .header-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    table {
        font-size: 14px;
    }
}
