body {
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    margin: 0;
    color: #222;
}

.header {
    background: #0b3d91;
    color: white;
    padding: 20px 40px;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

button {
    background: #0b3d91;
    color: white;
    border: none;
    padding: 13px 22px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #092f70;
}

.card {
    background: #eef4ff;
    border-left: 5px solid #0b3d91;
    padding: 18px;
    border-radius: 8px;
    margin-top: 20px;
}

a {
    color: #0b3d91;
    font-weight: bold;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

th {
    background: #0b3d91;
    color: white;
    text-align: left;
    padding: 12px;
}

td {
    border-bottom: 1px solid #ddd;
    padding: 12px;
}

tr:hover {
    background: #f1f5ff;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 25px 0;
}

.stat-card {
    background: #eef4ff;
    border-left: 5px solid #0b3d91;
    padding: 20px;
    border-radius: 10px;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.stat-card p {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    color: #0b3d91;
}
select {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}
.portal {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background: #0b3d91;
    color: white;
    padding: 25px;
}

.sidebar h2 {
    margin-bottom: 30px;
    color: white;
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
}

.sidebar a:hover {
    background: rgba(255,255,255,0.15);
}

.main-content {
    flex: 1;
    padding: 40px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-card h3 {
    margin-bottom: 10px;
    color: #0b3d91;
}

.stat-card p {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}
.message-toolbar {
    margin-bottom: 25px;
}

.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-form input {
    flex: 1;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #17479e;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.filter-btn:hover {
    background: #12397d;
}
.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.search-form input {
    flex: 1;
    height: 44px;
    margin: 0;
}

.search-form button {
    height: 44px;
    padding: 0 24px;
    margin: 0;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 25px 0 30px 0;
}

.stat-card {
    background: #eef4ff;
    border-left: 5px solid #0b3d91;
    padding: 20px;
    border-radius: 10px;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 15px;
    color: #333;
}

.stat-card p {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
    color: #0b3d91;
}
.action-btn {
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: bold;
    margin-right: 6px;
}

.edit-btn {
    background: #17479e;
}

.reset-btn {
    background: #f0ad4e;
}

.delete-btn {
    background: #d9534f;
}

.action-btn:hover {
    opacity: 0.9;
}
.flash {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
}

.flash.success {
    background: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
}

.flash.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
}