body {
    font-family: Arial, sans-serif;
    margin: 0; padding: 0;
    background: #f4f4f4;
}
.container {
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 20px;
    margin-top: 30px;
    border-radius: 8px;
}
h1 {
    margin-top: 0;
}
.btn {
    background: #007bff;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover {
    background: #0056b3;
}
.btn.secondary {
    background: #6c757d;
}
.btn.secondary:hover {
    background: #545b62;
}
.btn.danger {
    background: #dc3545;
}
.btn.danger:hover {
    background: #a71d2a;
}
.btn.small {
    padding: 4px 8px;
    font-size: 0.85em;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
}
table th {
    background: #f8f9fa;
}
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 6px;
    max-width: 400px;
    width: 90%;
}
label {
    display: block;
    margin-top: 10px;
}
input[type="text"], select {
    width: 100%;
    padding: 6px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
@media(max-width: 600px) {
    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }
    tr {
        margin-bottom: 10px;
        background: #f9f9f9;
        padding: 8px;
        border-radius: 4px;
    }
    td {
        border: none;
        padding: 4px 0;
    }
}
