body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f6f8;
}
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 240px;
    height: 100vh;
    background: linear-gradient(135deg, #7b90b0 60%, #7b90b0 100%);
    color: #fff;
    padding: 40px 0 0 0;
    box-shadow: 2px 0 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sidebar h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    letter-spacing: 2px;
    font-weight: 600;
}
.sidebar ul {
    list-style: none;
    padding: 0;
    width: 100%;
}
.sidebar ul li {
    margin: 24px 0;
    width: 100%;
}
.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15em;
    padding: 12px 24px;
    display: block;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    width: calc(100% - 16px);
    margin: 0 auto;
    box-sizing: border-box;
}
.sidebar ul li a:hover {
    background: #1a2230;
    color: #ffd700;
}
.main-content {
    margin-left: 270px;
    padding: 48px 32px;
    min-height: 100vh;
    background: #f4f6f8;
    transition: margin-left 0.3s;
}
.sidebar.collapsed ~ .main-content {
    margin-left: 0;
}
.flash {
    margin-top: 24px;
    padding: 12px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 500;
}
.flash.danger {
    background: #ffdddd;
    color: #a00;
    border: 1px solid #a00;
}
 .flash.success {
    background: #ddffdd;
    color: #0a0;
    border: 1px solid #0a0;
}
.hamburger {
    margin-top: 20px;
    margin-bottom: 24px;
}
.sidebar .logo {
    margin-top: 56px;
    margin-bottom: 24px;
    display: block;
    max-width: 120px;
    padding-top: 40px;
}

.main-content h1 {
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 32px;
    color: #222e3c;
}
.main-content p {
    font-size: 1.15em;
    color: #444;
    margin-bottom: 24px;
}
#add-user-form {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}
#add-user-form input {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #b6c3d6;
    font-size: 1em;
    outline: none;
}
#add-user-form button {
    padding: 10px 24px;
    border-radius: 6px;
    background: #7b90b0;
    color: #fff;
    border: none;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
#add-user-form button:hover {
    background: #1a2230;
}
#user-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 8px;
    overflow: hidden;
}
#user-table th, #user-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e3eaf7;
}
#user-table th {
    background: #f4f6f8;
    font-weight: 600;
    color: #222e3c;
}
#user-table tr:last-child td {
    border-bottom: none;
}
#user-table button {
    padding: 6px 16px;
    border-radius: 6px;
    background: #ffd700;
    color: #222e3c;
    border: none;
    font-size: 0.95em;
    cursor: pointer;
    transition: background 0.2s;
}
#user-table button:hover {
    background: #7b90b0;
    color: #fff;
}
