



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f9;
    display: flex;
}


.leftbar {
    width: 230px;
    height: 100vh;
    background: #2c3e50;
    color: white;
    position: fixed;
    left: 0;
    top: 0;
    padding-top: 20px;
}

.leftbar h2 {
    text-align: center;
    margin-bottom: 30px;
}

.leftbar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: 0.3s;
}

.leftbar a:hover {
    background: #34495e;
    padding-left: 30px;
}

.main {
    margin-left: 250px;
    padding: 30px;
    width: calc(100% - 250px);
}

.main h1 {
    margin-bottom: 25px;
    color: #2c3e50;
}

.cards {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.card {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    color: #555;
    margin-bottom: 10px;
}

.card p {
    font-size: 30px;
    font-weight: bold;
    color: #3498db;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

table th,
table td {
    padding: 14px;
    border: 1px solid #ddd;
    text-align: center;
}

table th {
    background: #3498db;
    color: white;
}

table tr:nth-child(even) {
    background: #f2f2f2;
}

table tr:hover {
    background: #eaf4ff;
}

h2 {
    margin: 20px 0;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .leftbar {
        width: 180px;
    }

    .main {
        margin-left: 180px;
        width: calc(100% - 180px);
    }

    .cards {
        flex-direction: column;
    }
}