body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    margin: 20px;
    line-height: 1.5;
}

h2 {
    margin-bottom: 0.5rem;
}

h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    text-decoration: underline;
}

.top-form {
    margin: 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.top-form label {
    display: flex;
    gap: 4px;
    align-items: center;
}

input[type="text"],
input[type="number"],
select {
    padding: 4px 6px;
    font-size: 14px;
}

button {
    padding: 6px 10px;
    font-size: 14px;
    cursor: pointer;
}

button[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
}

.card {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.card-header {
    font-weight: bold;
    margin-bottom: 4px;
}

.card-sub {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.slot-form {
    margin-top: 4px;
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.link-bar {
    margin-bottom: 12px;
}

.link-bar a {
    margin-right: 10px;
}

.error {
    color: #c53030;
}

.info {
    color: #2b6cb0;
}

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

.table th,
.table td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    font-size: 14px;
}

.table th {
    background-color: #f0f0f0;
}

@media (max-width: 600px) {
    .row-flex {
        flex-direction: column;
        align-items: flex-start;
    }
}
