/* TASK-180: presentation only, scoped to the five legacy NOC pages. */
.ln-operations { color: var(--ln-text); max-width: 1440px; min-width: 0; }
.ln-operations .ln-page-title { font-size: clamp(24px, 3vw, 36px); margin: 0 0 24px; text-align: left; }
.ln-operations .ln-section { padding: 0; margin: 0 0 24px; width: 100%; }
.ln-operations .ln-card, .ln-operations .ln-modal { background: var(--ln-surface); border: 1px solid var(--ln-border); border-radius: 12px; color: var(--ln-text); }
.ln-operations .card-header, .ln-operations .modal-header, .ln-operations .modal-footer { background: transparent; border-color: var(--ln-border); font-family: var(--ln-heading); }
.ln-operations .card-header { padding: 18px 24px; }
.ln-operations .card-body { padding: 24px; }
.ln-operations .ln-callout { border-left: 3px solid #FFCA7A; }
.ln-operations .ln-callout .card-header { color: #FFCA7A !important; }
.ln-operations .ln-callout .card-body { line-height: 1.65; }
.ln-operations label { color: var(--ln-muted); font-size: 14px; }
.ln-operations .form-control, .ln-operations .dataTables_wrapper input, .ln-operations .dataTables_wrapper select { background: var(--ln-bg); color: var(--ln-text); border: 1px solid var(--ln-border); border-radius: 6px; padding: 8px 12px; min-height: 42px; max-width: 100%; color-scheme: dark; }
.ln-operations input:focus, .ln-operations select:focus { outline: 2px solid var(--ln-logo-dot); outline-offset: 2px; box-shadow: none; }
.ln-operations .btn { border-radius: 8px; padding: 10px 16px; min-height: 44px; white-space: normal; margin-bottom: 8px; }
.ln-operations .btn-primary, .ln-operations .btn-success { color: #FFF; background: var(--ln-accent); border-color: var(--ln-accent); }
.ln-operations .btn-warning { color: #FFCA7A; background: #302719; border-color: #806139; }
.ln-operations .btn-danger { color: #FFB0B8; background: #321D24; border-color: #85404C; }
.ln-operations .btn:hover { filter: brightness(1.2); }
.ln-operations .ln-section, .ln-operations .card-body { overflow-x: auto; }
.ln-main .ln-operations .ln-table { color: var(--ln-text); background: var(--ln-surface); border: 1px solid var(--ln-border); border-collapse: collapse !important; }
.ln-operations .ln-table th, .ln-operations .ln-table td { border-color: var(--ln-border); padding: 16px; vertical-align: middle; }
.ln-operations .ln-table th { background: var(--ln-raised); color: var(--ln-muted); font: 500 12px var(--ln-mono); white-space: nowrap; }
.ln-operations .ln-table tbody tr, .ln-operations .ln-table tbody td { background: transparent; }
.ln-operations .ln-table tbody tr:hover { background: var(--ln-raised); }
.ln-operations .ln-table td { font-variant-numeric: tabular-nums; }
.ln-operations #sim-datatable td:nth-child(2), .ln-operations #simAlarms-datatable td:nth-child(3), .ln-operations #activecalls-datatable td:nth-child(4), .ln-operations #activecalls-datatable td:nth-child(5) { font-family: var(--ln-mono); white-space: nowrap; }
.ln-main .ln-operations .dataTables_wrapper { background: var(--ln-surface); color: var(--ln-muted); padding-top: 16px; }
.ln-operations .dataTables_wrapper .dataTables_length, .ln-operations .dataTables_wrapper .dataTables_filter, .ln-operations .dataTables_wrapper .dataTables_info, .ln-operations .dataTables_wrapper .dataTables_paginate { color: var(--ln-muted); padding-bottom: 16px; }
.ln-operations .dataTables_wrapper .dataTables_paginate .paginate_button { color: var(--ln-text) !important; border-radius: 6px; }
.ln-operations .dataTables_wrapper .dataTables_paginate .paginate_button.current { background: var(--ln-raised); border-color: var(--ln-border); }
.ln-operations .dataTables_wrapper .dataTables_paginate .paginate_button.disabled { color: var(--ln-muted) !important; }
.ln-operations .dataTables_processing { background: var(--ln-raised); color: var(--ln-text); }
/* These buttons exist only for the corresponding true alarm / inactive destination.
   Numeric flags describe each row's existing state, never aggregate counters. */
.ln-operations .ln-sim-states .btn-warning::before,
.ln-operations .ln-sim-states .btn-danger::before,
.ln-operations .ln-destination-states .btn-danger::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: currentColor; }
.ln-operations .ln-sim-states .btn-warning::after,
.ln-operations .ln-sim-states .btn-danger::after { content: ' · 1'; font-family: var(--ln-mono); }
.ln-operations .ln-destination-states .btn-danger::after { content: ' · 0'; font-family: var(--ln-mono); }
@media (max-width: 767.98px) {
    .ln-operations { padding: 0 16px; }
    .ln-operations .card-body, .ln-operations .card-header { padding: 16px; }
    .ln-operations .dataTables_filter { text-align: left; }
    .ln-operations .dataTables_filter input { width: 160px; }
    .ln-operations .modal-dialog { margin: 12px; }
}
