/** Add css rules here for your application. */
.redBackground {
    background-color: red;
}

.yellowBackground {
    background-color: yellow;
}

.greenBackground {
    background-color: green;
}

.paddedHorizontalPanel {
    padding-left: 20px;
}

.material-icons.md-18 {
    font-size: 18px;
}

.material-icons.md-24 {
    font-size: 24px;
}

.material-icons.md-36 {
    font-size: 36px;
}

.material-icons.md-48 {
    font-size: 48px;
}

.material-icons.md-dark {
    color: rgba(77, 82, 88, 0.54);
}

.material-icons.md-dark.md-inactive {
    color: rgba(77, 82, 88, 0.26);
}

.waterGoTextBox {
    background-image: url('images/WaterGo.png');
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 5px;
}

.fieldGoTextBox {
    background-image: url('images/FieldGo18.png');
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 5px;
}

.font-awesome .fa {
    font-family: "Font Awesome 5 Free", Open Sans, serif;
}

i.fa-filter.filter-icon-active {
    color: #FF7F50 !important;
}

.filter-popup {
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.filter-popup-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-input {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    width: 150px;
}

.filter-button {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.violations-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.violations-table thead th {
    text-align: left;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 12px;
    white-space: nowrap;
    background: #f8fafc;
}

.violations-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    color: #0f172a;
}

.violations-table tbody tr:nth-child(odd) td {
    background: #fcfdff;
}

/* helpers */
.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
}

.wrap {
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* severity badges */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.6;
    color: #fff;
}

.badge[data-sev="BLOCKING"] {
    background: #ef4444;
}

.badge[data-sev="WARN"] {
    background: #f59e0b;
    color: #111827;
}

.badge[data-sev="INFO"] {
    background: #3b82f6;
}

.badge[data-sev="UNKNOWN"] {
    background: #111827;
}

.icon-link {
    margin-left: 8px;
    color: #374151;
    text-decoration: none;
}

.icon-link:hover {
    color: #111827;
}

.notyf__toast {
    border-radius: 0.75rem !important; /* ≈ 12px */
    overflow: hidden;
}