/* Modernized CSS Design */

/* General Styles */
body {
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
}

/* Sidebar */
.sidebar-wrapper {
    width: 260px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-wrapper .metismenu a {
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.sidebar-wrapper .metismenu a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Topbar */
.topbar {
    background: #fff;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.button {
    background: linear-gradient(135deg, #ff512f, #dd2476);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.button:hover {
    background: linear-gradient(135deg, #dd2476, #ff512f);
}

/* Cards */
.card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Footer */
.page-footer {
    background: #fff;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    border-top: 1px solid #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar-wrapper {
        width: 100%;
        position: relative;
    }
    .topbar {
        justify-content: center;
    }
}
