
/* Base Reset and Font */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fb;
    color: #2c3e50;
}

/* Sidebar */
.sidebar {
    width: 240px;
    background-color: #111827;
    position: fixed;
    height: 100vh;
    padding-top: 30px;
    color: white;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
}

.sidebar h3 {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 15px;
    transition: 0.3s ease;
}

.sidebar a:hover, .sidebar a.active {
    background-color: #1f2937;
    color: #ffffff;
}

/* Main Content */
.main-content {
    margin-left: 260px;
    padding: 30px;
}

/* Card Widgets */
.card {
    background: white;
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.card h2 {
    margin: 0;
    font-size: 20px;
}

/* Buttons */
.button {
    background-color: #2563eb;
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.button:hover {
    background-color: #1d4ed8;
}

/* Tables */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

table thead {
    background-color: #f1f5f9;
    color: #1e293b;
}

table th, table td {
    padding: 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #e2e8f0;
}

table tr:last-child td {
    border-bottom: none;
}

table tbody tr:hover {
    background-color: #f9fafb;
}

/* Action Links */
.action-link {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.action-link:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

/* Messages */
.message {
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 500;
}

.message.success {
    background-color: #dcfce7;
    color: #15803d;
}

.message.error {
    background-color: #fee2e2;
    color: #b91c1c;
}
