* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f4f6f9;
    color: #333;
}

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.login-box {
    background: #fff;
    padding: 30px;
    width: 360px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
}

.login-box label,
.panel form label {
    display: block;
    margin: 12px 0 6px;
    font-weight: bold;
}

.login-box input,
.panel form input,
.panel form textarea,
.panel form select,
.panel select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.login-box button,
.panel form button,
.panel button {
    margin-top: 15px;
    padding: 12px 18px;
    border: none;
    background: #2563eb;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.login-box button:hover,
.panel form button:hover,
.panel button:hover {
    background: #1d4ed8;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.alert.error {
    background: #ffdddd;
    color: #b30000;
}

.alert.success {
    background: #ddffea;
    color: #0f7a36;
}

.wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #1f2937;
    color: white;
    padding: 20px;
}

.sidebar h2 {
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 12px;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
}

.sidebar ul li a:hover {
    background: rgba(255,255,255,0.15);
}

.logout-link {
    background: #b91c1c !important;
}

.content {
    flex: 1;
    padding: 25px;
}

.topbar {
    margin-bottom: 20px;
}

.cards {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    flex: 1;
    min-width: 240px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.big-number {
    font-size: 30px;
    margin-top: 10px;
    font-weight: bold;
    color: #1d4ed8;
}

.panel {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.panel h2 {
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background: #e5e7eb;
}

table th,
table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
}

.action-links a {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 4px;
    text-decoration: none;
    color: #1d4ed8;
    font-weight: bold;
}