* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background: #f4f5f7;
    color: #222;
    padding: 30px;
}

h1 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.toolbar {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    background: #3b82f6;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn:hover {
    background: #2563eb;
}

.btn-danger {
    background: #ef4444;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-secondary {
    background: #9ca3af;
}

.btn-secondary:hover {
    background: #6b7280;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

th {
    background: #2c3e50;
    color: #fff;
    font-weight: 600;
}

tr:hover {
    background: #f9fafb;
}

td.actions {
    white-space: nowrap;
}

td.actions .btn {
    padding: 6px 12px;
    font-size: 13px;
    margin-right: 6px;
}

.form-card {
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    max-width: 480px;
    margin-bottom: 30px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.form-card h2 {
    margin-bottom: 15px;
    color: #2c3e50;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-actions .btn-secondary {
    text-decoration: none;
    line-height: 1.6;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    background: #fff;
    border-radius: 8px;
}

.message {
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: none;
    font-size: 14px;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}
