body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f4f6f9;
}

/* Navbar */
.navbar {
    background: #2c3e50;
    padding: 15px;
    color: white;
}

.navbar a {
    color: white;
    margin-right: 15px;
    text-decoration: none;
    font-weight: bold;
}

/* Container */
.container {
    padding: 20px;
}

/* Card */
.card {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: #3498db;
    color: white;
}

td, th {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

/* Button */
button {
    background: #3498db;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
}

button:hover {
    background: #2980b9;
}
.btn {
    background: #2ecc71;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar a {
        margin: 5px 0;
    }

    .container {
        padding: 10px;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    h2 {
        font-size: 20px;
    }

    .card {
        padding: 15px;
    }
}
.menu-toggle {
    display: none;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        color: white;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-links a {
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }
}

/* Navbar Base */
.navbar {
    background: #2c3e50;
    padding: 10px;
    color: white;
	position: sticky;
    top: 0;
    z-index: 1000;
}

/* Header */
.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Menu links */
.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

/* Toggle button */
.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        margin-top: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
        border-top: 1px solid #444;
    }
	 table {
        font-size: 14px;
    }
    
       .dashboard-cards {
        grid-template-columns: 1fr;
    }
}
.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

table {
    min-width: 300px;
    width: 100%;
    border-collapse: collapse;
}
td, th {
    white-space: nowrap;
}
form{
	margin-left: 70px;
}
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 10px;
    color: #555;
}

.card p {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
}

.card:nth-child(1) {
    border-left: 5px solid #3498db;
}

.card:nth-child(2) {
    border-left: 5px solid #2ecc71;
}

.card:nth-child(3) {
    border-left: 5px solid #e74c3c;
}
.actions {
    margin-top: 20px;
}

.actions a {
    display: inline-block;
    padding: 10px 15px;
    background: #2ecc71;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
}

canvas {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 20px;
}
