* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
}

.form-container h1 {
    text-align: center;
    color: #667eea;
    margin-bottom: 10px;
    font-size: 24px;
}

.form-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #2d3748;
    color: white;
    padding: 20px;
    position: fixed;
    height: 100%;
}

.sidebar h2 {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #4a5568;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    color: #cbd5e0;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.sidebar ul li a:hover {
    background: #4a5568;
    color: white;
}

.main-content {
    margin-left: 250px;
    padding: 30px;
    width: calc(100% - 250px);
    background: #f7fafc;
    min-height: 100vh;
}

.main-content h1 {
    color: #2d3748;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #4a5568;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 5px rgba(102,126,234,0.3);
}

button, .btn-add, .btn-edit, .btn-delete, .btn-read, .btn-cancel {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

button, .btn-add {
    background: #667eea;
    color: white;
}

button:hover, .btn-add:hover {
    background: #5a67d8;
}

.btn-edit {
    background: #48bb78;
    color: white;
}

.btn-edit:hover {
    background: #38a169;
}

.btn-delete {
    background: #f56565;
    color: white;
}

.btn-delete:hover {
    background: #e53e3e;
}

.btn-read {
    background: #4299e1;
    color: white;
}

.btn-cancel {
    background: #a0aec0;
    color: white;
}

table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

th {
    background: #667eea;
    color: white;
    padding: 12px;
    text-align: left;
}

td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}

tr:hover {
    background: #f7fafc;
}

.stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex: 1;
    text-align: center;
}

.stat-card h3 {
    color: #4a5568;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #667eea;
}

.error-msg {
    background: #fed7d7;
    color: #c53030;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.success-msg {
    background: #c6f6d5;
    color: #276749;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.notification-table tr.unread {
    font-weight: bold;
    background: #ebf8ff;
}

.notification-table tr.read {
    opacity: 0.7;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.form-row input, .form-row select {
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
}

.create-user-form, .edit-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}