body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    margin: 0;
}
.navbar {
    background-color: #343a40;
    padding: 1rem;
    color: white;
}
.navbar a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
}
.navbar a:hover {
    background-color: #495057;
}
.navbar .brand {
    font-size: 1.5rem;
    font-weight: bold;
}
.navbar .nav-right {
    float: right;
}
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
h1, h2, h3 {
    color: #0056b3;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 12px;
    border: 1px solid #dee2e6;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}
tr:nth-child(even) {
    background-color: #f8f9fa;
}
.btn {
    display: inline-block;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.btn-primary { background-color: #007bff; color: white; }
.btn-secondary { background-color: #6c757d; color: white; }
.btn-danger { background-color: #dc3545; color: white; }
.btn-success { background-color: #28a745; color: white; }
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}
.form-control {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
}
.card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fdfdfd;
}
.tabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 20px;
}
.tabs a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #007bff;
    font-size: 1.1em;
    border: 2px solid transparent;
}
.tabs a.active {
    border-color: #dee2e6;
    border-bottom-color: #fff;
    background: #fff;
    border-radius: 5px 5px 0 0;
    position: relative;
    top: 2px;
}
.status {
    padding: 5px 10px;
    border-radius: 15px;
    color: white;
    font-size: 0.8em;
    font-weight: bold;
}
.status-draft { background-color: #6c757d; }
.status-active { background-color: #28a745; }
.status-closed { background-color: #dc3545; }

.login-container {
    max-width: 400px;
    margin: 100px auto;
}
.error, .success {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid transparent;
}
.error { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }
.success { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }