body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f4f6f9;
}

nav {
    background: #1f1f1f;
    padding: 12px;
}

nav a {
    color: white;
    margin-right: 15px;
    text-decoration: none;
    font-weight: bold;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

h1 {
    margin-top: 0;
}

/* Inputs */
input, textarea, select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Buttons */
button, .button {
    background: #0077cc;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

button:hover, .button:hover {
    background: #005fa3;
}

/* Messages */
.success {
    background: #d4edda;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
}

.error {
    background: #f8d7da;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
}

table th {
    background: #f0f0f0;
}

/* Simple cards (Dashboard) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.card {
    background: #f0f0f0;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.card:hover {
    background: #e0e0e0;
}