* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f4f6f8;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1100px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 6px;
}

h1 {
    margin-top: 0;
    font-size: 22px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.section {
    margin-bottom: 25px;
}

.section h2 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #444;
}

.row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.field {
    flex: 1;
    min-width: 220px;
}

.field label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #555;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.field input[readonly] {
    background: #f0f0f0;
}

.actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

button {
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary {
    background: #0077cc;
    color: #fff;
}

.btn-secondary {
    background: #ccc;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

table th {
    background: #f9f9f9;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.badge.active {
    background: #d4edda;
    color: #155724;
}
