.status-box {
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13px;
    border-radius: 6px;
}

.status-box.error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.status-box.success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

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

.action-buttons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.search-box {
    position: relative;
}

.search-results {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    max-height: 280px;
    overflow-y: auto;
    display: none;
}

.search-results.show {
    display: block;
}

.search-item {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid #e2e8f0;
}

.search-item:last-child {
    border-bottom: 0;
}

.search-item:hover {
    background: #f8fafc;
}

.management-panel {
    display: none;
    margin: 12px 2mm 0;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.management-panel h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.management-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.management-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.management-table th,
.management-table td {
    border: 1px solid #d1d5db;
    padding: 6px;
    text-align: left;
}

.management-table th {
    background: #f8fafc;
    font-weight: bold;
}

@media print {
    .screen-only,
    .modal,
    .modal-backdrop {
        display: none !important;
    }
}
