body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 20px;
    background-color: #f4f4f4;
}

.centered-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
}

.container {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.small-container {
    max-width: 400px;
}

.centered-text {
    text-align: center;
}

h1,
h2 {
    color: #333;
}

form {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.inline-form {
    margin: 0;
    padding: 0;
    border: none;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="number"],
select {
    width: 95%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.full-select {
    width: 98.5%;
}

input[type="submit"],
button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover,
button:hover {
    background-color: #0056b3;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #f8f8f8;
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.form-col {
    flex: 1;
}

.toggle-link {
    text-decoration: none;
}

.toggle-button {
    background-color: #6c757d;
    font-size: 0.9em;
    padding: 8px 12px;
}

.action-button {
    background-color: #28a745;
    font-size: 0.9em;
    padding: 5px 10px;
}

.action-button:hover {
    background-color: #218838;
}

.danger-button {
    background-color: #dc3545 !important;
}

.refresh-link {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    text-decoration: none;
    color: black;
}
