:root {
    --blue: #1762a8;
    --blue-dark: #0a355b;
    --blue-mid: #0d67b0;
    --teal: #07a8bc;
    --gray-bg: #ececec;
    --line: #2e2e2e;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Poppins", "Segoe UI", sans-serif;
    background: #ffffff;
    color: #111;
}

a { text-decoration: none; }

.wbs-topbar {
    background: #f7f7f7;
    border-bottom: 4px solid #a3d7ff;
    padding: 12px 0;
}

.wbs-shell {
    width: min(1400px, 96%);
    margin: 0 auto;
}

.wbs-shell p {
    font-size: 20px;
}

.wbs-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wbs-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.wbs-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wbs-nav-link {
    color: #1a1a1a;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
}

.wbs-nav-link.is-active {
    font-weight: 700;
}

.wbs-login-pill {
    background: linear-gradient(135deg, #1c59ba, #073e6b);
    color: #fff;
    padding: 8px 16px;
    border-radius: 11px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
    display: inline-block;
    transition: transform .12s ease;
    -webkit-tap-highlight-color: transparent;
}

.wbs-login-pill:hover,
.wbs-login-pill:focus-visible {
    background: linear-gradient(135deg, #1c59ba, #073e6b);
    color: #fff;
    transform: translateY(-1px);
}

.wbs-login-pill:active {
    transform: translateY(0);
}

.wbs-main {
    padding-bottom: 24px;
}

.wbs-alert {
    margin: 14px auto;
    width: min(1120px, 92%);
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.wbs-alert-danger { background: #ffe8e8; border: 1px solid #f3a2a2; }
.wbs-alert-success { background: #e7fff0; border: 1px solid #92dcb1; }

.wbs-gradient-banner {
    background: linear-gradient(90deg, var(--blue-dark), var(--blue-mid));
    color: #fff;
    padding: 28px 0;
    margin-bottom: 20px;
}

.wbs-section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
}

.wbs-page {
    padding: 26px 0 30px;
}

.wbs-card {
    border: 1px solid var(--line);
    background: #ffffff;
}

.wbs-card-head {
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
    font-size: 28px;
    font-weight: 600;
}

.wbs-card-body {
    padding: 18px;
}

.wbs-form-grid {
    display: grid;
    margin-left: 80px;
    grid-template-columns: 240px 1fr;
    gap: 16px 20px;
    align-items: center;
}

.wbs-form-grid label {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.wbs-form-grid label,
.wbs-form-grid .label {
    font-size: 16px;
    font-weight: 500;
}

.wbs-field-label-top {
    align-self: start;
    padding-top: 10px;
}

.wbs-field-stack {
    display: grid;
    gap: 10px;
}

.wbs-datetime-wrap {
    position: relative;
}

.wbs-datetime-input {
    padding-right: 54px;
}

.wbs-datetime-trigger {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 46px;
    height: 40px;
    border: none;
    border-left: 1px solid #4a4a4a;
    background: transparent;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0 7px 7px 0;
}

.wbs-datetime-trigger i {
    font-size: 22px;
}

.wbs-datetime-native {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.flatpickr-calendar {
    z-index: 1080;
}

@media (max-width: 480px) {
    .flatpickr-calendar {
        left: 8px !important;
        right: 8px;
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
    }
}

.wbs-input,
.wbs-select,
.wbs-textarea,
.wbs-file {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid #4a4a4a;
    border-radius: 7px;
    background: #ffffff;
    padding: 10px 12px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wbs-input,
.wbs-select,
.wbs-textarea,
.wbs-file,
.select2-container--default .select2-selection--single {
    min-width: 0;
}

.wbs-input:disabled,
.wbs-select:disabled,
.wbs-textarea:disabled,
.wbs-file:disabled {
    background: #e2e2e2;
    color: #666;
    cursor: not-allowed;
}

.wbs-input,
.wbs-select,
.wbs-file { height: 42px; }

.wbs-select-placeholder {
    color: #666;
}

.wbs-select-placeholder option {
    color: #111;
}

.wbs-textarea { min-height: 90px; resize: vertical; }

.select2-container--default .select2-selection--single {
    height: 42px !important;
    border: 1px solid #4a4a4a; 
    border-radius: 7px;
    background: #ffffff;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    color: #111;
    padding-left: 12px;
    padding-right: 36px;
    margin: 0;
    min-height: 40px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
}

.select2-results__option {
    white-space: normal;
}

.select2-dropdown {
    border: 1px solid #4a4a4a;
    box-sizing: border-box;
    max-width: calc(100vw - 32px) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    right: 8px;
    top: 0;
    width: 20px;
}

.select2-container {
    display: block;
    vertical-align: middle;
    min-height: 42px;
    width: 100% !important;
}

/* Apply width only to closed containers, not dropdown popups */
.select2-container--closed {
    width: 100% !important;
}

.select2-container .selection {
    display: block;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background: #e2e2e2;
}

.select2-search--dropdown {
    padding: 8px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    width: 100% !important;
    box-sizing: border-box;
    border: 1px solid #4a4a4a;
    border-radius: 4px;
    padding: 8px 10px;
}

.wbs-radio-row {
    display: flex;
    gap: 28px;
    align-items: center;
    font-size: 15px;
}

.wbs-modal .wbs-form-grid .wbs-radio-row {
    min-height: 42px;
    margin-bottom: 0 !important;
    padding-top: 0;
}

.wbs-modal .wbs-form-grid .wbs-radio-row label {
    margin: 0;
}

.wbs-btn {
    display: inline-block;
    border: none;
    color: #fff;
    background: var(--blue);
    font-size: 18px;
    padding: 8px 20px;
    min-width: 130px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,.25);
    cursor: pointer;
    border-radius: 8px;
    transition: transform .12s ease;
}

.wbs-btn-sm {
    font-size: 17px;
    min-width: 0;
    padding: 8px 14px;
}

.wbs-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.wbs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.wbs-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.wbs-table th,
.wbs-table td {
    border: 1px solid #2f2f2f;
    padding: 10px;
    font-size: 14px;
    background: #f1f1f1;
}

.wbs-table th {
    font-weight: 600;
    text-align: center;
}

.wbs-table td {
    text-align: center;
}

.wbs-icon-btn {
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

.wbs-option-cell {
    white-space: nowrap;
}

.wbs-option-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wbs-option-actions .suspect-delete-form {
    display: inline-flex;
    margin: 0;
}

.wbs-option-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 10px;
    box-shadow: 0 6px 10px rgba(0,0,0,.22);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.wbs-option-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.wbs-option-icon i {
    font-size: 14px;
    line-height: 1;
}

.wbs-btn:hover,
.wbs-btn:focus-visible {
    transform: translateY(-1px);
}

.wbs-btn:active {
    transform: translateY(0);
}

.btn.btn-secondary,
button.btn-secondary,
.btn.btn-primary,
button.btn-primary {
    transition: transform .12s ease;
}

.btn.btn-secondary:hover,
button.btn-secondary:hover,
.btn.btn-secondary:focus-visible,
button.btn-secondary:focus-visible {
    background-color: var(--bs-btn-bg, #6c757d) !important;
    border-color: var(--bs-btn-border-color, #6c757d) !important;
    color: var(--bs-btn-color, #fff) !important;
    transform: translateY(-1px);
}

.btn.btn-primary:hover,
button.btn-primary:hover,
.btn.btn-primary:focus-visible,
button.btn-primary:focus-visible {
    background-color: var(--bs-btn-bg, #0d6efd) !important;
    border-color: var(--bs-btn-border-color, #0d6efd) !important;
    color: var(--bs-btn-color, #fff) !important;
    transform: translateY(-1px);
}

.btn-close {
    transition: transform .12s ease;
}

.btn-close:hover,
.btn-close:focus-visible {
    transform: translateY(-1px);
}

.wbs-option-icon:hover,
.wbs-option-icon:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 14px rgba(0,0,0,.25);
    filter: brightness(.98);
}

.wbs-option-delete:hover,
.wbs-option-delete:focus-visible {
    color: var(--bs-btn-color, #fff);
}

.wbs-option-edit:hover,
.wbs-option-edit:focus-visible {
    color: var(--bs-btn-color, #fff);
}

.wbs-social-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wbs-social-link {
    color: #0e4c82;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .12s ease;
    -webkit-tap-highlight-color: transparent;
}

.wbs-social-link:hover,
.wbs-social-link:focus-visible {
    color: #0e4c82;
    transform: translateY(-1px);
    text-decoration: none;
}

.wbs-social-link:active {
    transform: translateY(0);
}

button,
.wbs-btn,
.wbs-option-icon,
.btn,
.btn-close,
a.wbs-btn {
    -webkit-tap-highlight-color: transparent;
}

.wbs-btn:focus,
.wbs-btn:focus-visible,
.btn:focus,
.btn:focus-visible,
.btn-close:focus,
.btn-close:focus-visible,
.wbs-option-icon:focus,
.wbs-option-icon:focus-visible {
    outline: none;
}

.wbs-dashboard-city {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    padding: 28px 0;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.712), rgba(255, 255, 255, 0.178)),
        url('../images/wbs/city.png') left bottom / auto 100% repeat-x;
    background-color: #f7f7f7;
}

.dataTables_filter {
  margin-bottom: 20px;
}

.wbs-dashboard-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.wbs-dashboard-title {
    font-size: 38px;
    line-height: 1.05;
    font-weight: 700;
    margin: 0;
}

.wbs-dashboard-title span { color: #1c59ba; }

.wbs-how {
    background: #1762a8;
    color: white;
    padding: 24px 0 30px;
}

.wbs-how h2 {
    text-align: center;
    font-size: 34px;
    margin: 0 0 20px;
}

.wbs-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.wbs-how-item {
    background: rgb(7, 62, 107);
    border-radius: 8px;
    padding: 14px;
    min-height: 120px;
    font-size: 16px;
}

.wbs-info-wrap {
    background: #f6f9fc;
    padding: 24px 0;
}

.wbs-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wbs-block {
    background: rgba(255,255,255,.9);
    border: 1px solid #cdd7e2;
    border-radius: 9px;
    padding: 14px;
    font-size: 14px;
}

.wbs-footer {
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
    background: #ffffff;
    padding: 0;
}

.wbs-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 13px;
}

.wbs-dashboard-hero-grid {
    min-height: 250px;
    grid-template-columns: minmax(340px, 560px) minmax(320px, 1fr);
    gap: 24px;
    align-items: center;
}

.wbs-dashboard-copy {
    position: relative;
    padding: 4px 0 20px;
    z-index: 1;
}

/* Unused (currently not referenced in active Blade/JS)
.wbs-dashboard-illustration {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    min-height: 100%;
    position: relative;
    z-index: 1;
}

.wbs-dashboard-illustration img {
    width: min(440px, 100%);
    max-height: 420px;
    object-fit: contain;
    opacity: .92;
}
*/

.wbs-dashboard-hero-image {
    width: min(400px, 100%);
    max-width: 100%;
    height: auto;
    opacity: .7;
    justify-self: end;
}

.wbs-dashboard-swoosh {
    display: none;
}

.wbs-dashboard-title {
    max-width: 520px;
    font-size: 32px;
    line-height: 1.12;
    letter-spacing: -.02em;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.wbs-dashboard-title span {
    display: block;
    margin-top: 6px;
    color: #1c59ba;
}

.wbs-dashboard-subtitle {
    margin: 10px 0 22px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.wbs-dashboard-cta {
    background: linear-gradient(180deg, #1c59ba, #073e6b);
    border-radius: 14px;
    padding: 14px 24px;
    min-width: 0;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(27, 52, 89, .28);
    position: relative;
    z-index: 1;
}

.wbs-how-redesign {
    padding: 10px 0 20px;
    background: #1c59ba;
}

.wbs-how-redesign h2 {
    margin-bottom: 30px;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -.02em;
}

.wbs-how-redesign .wbs-how-grid {
    gap: 30px;
    align-items: start;
}

.wbs-how-redesign .wbs-how-item {
    background: transparent;
    padding: 0;
    min-height: 0;
}

.wbs-how-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}

.wbs-how-icon {
    width: 82px;
    height: 82px;
    border-radius: 10px;
    background: #efefef;
    color: #27446a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    box-shadow: 0 8px 18px rgba(0,0,0,.22);
}

.wbs-how-chip {
    min-width: 180px;
    min-height: 82px;
    border-radius: 10px;
    background: #223d68;
    color: #fff;
    padding: 14px 18px;
    font-size: 15px;
    line-height: 1.45;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.wbs-how-redesign .wbs-how-item p {
    max-width: 300px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
}

.wbs-dashboard-info-wrap {
    padding: 25px 0 13px;
    background-color: #f6f9fc;

    background:
        linear-gradient(to right, rgba(255,255,255,0.7), rgba(255,255,255,0)),
        url('../images/wbs/traconppl.jpg') 95px bottom / contain no-repeat,
        linear-gradient(to bottom, rgba(255,255,255,0.76), rgba(255,255,255,0.85)),
        url('../images/wbs/traconpabrik.jpg') center bottom / contain repeat-x;
}

.wbs-dashboard-info-wrap .wbs-info-grid {
    grid-template-columns: minmax(420px, 1.04fr) minmax(420px, .96fr);
    gap: 28px;
    align-items: start;
}

.wbs-dashboard-info-shell {
    padding-left: 160px;
}

.wbs-dashboard-story {
    display: block;
}

.wbs-dashboard-story-card {
    border: none;
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 10px 22px rgba(0,0,0,.1);
}

.wbs-dashboard-story-head {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.wbs-dashboard-story-head img {
    width: 72px;
    height: 72px;
    object-fit: cover;
}

.wbs-dashboard-story-head h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.18;
    letter-spacing: -.02em;
}

.wbs-dashboard-story-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.wbs-dashboard-criteria {
    display: grid;
    gap: 14px;
    align-content: start;
}

.wbs-dashboard-criteria-copy {
    padding-top: 2px;
}

.wbs-dashboard-caption {
    margin: 0 0 2px;
    color: #1c59ba;
    font-size: 15px;
    font-weight: 600;
}

.wbs-dashboard-criteria-copy h3 {
    margin: 0 0 8px;
    font-size: 29px;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.wbs-dashboard-criteria-lead {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 620px;
}

.wbs-dashboard-criteria-body {
    display: grid;
    grid-template-columns: 142px 1fr;
    gap: 14px;
    align-items: start;
}

.wbs-dashboard-topic-card {
    background: rgba(255,255,255,.94);
    border-radius: 14px;
    padding: 14px 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
    text-align: center;
    font-size: 13px;
    line-height: 1.45;
}

.wbs-dashboard-topic-icon {
    margin-bottom: 8px;
    color: #1c59ba;
    font-size: 32px;
}

.wbs-dashboard-list-wrap {
    padding-top: 4px;
}

.wbs-dashboard-list-title {
    margin-bottom: 8px;
    color: #1c59ba;
    font-size: 17px;
    font-weight: 700;
}

.wbs-dashboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}

.wbs-dashboard-list li {
    display: grid;
    grid-template-columns: 18px 1fr;
    column-gap: 10px;
    align-items: start;
    color: #1c59ba;
    font-size: 13px;
    line-height: 1.4;
}

.wbs-dashboard-list i {
    width: 18px;
    display: block;
    color: #1c59ba;
    text-align: center;
    font-size: 14px;
    margin-top: 2px;
}

.wbs-dashboard-list span {
    display: block;
}

.wbs-dashboard-confidential {
    margin-top: 6px;
    margin-right: auto;
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    padding: 12px 18px 12px 72px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1c59ba, #073e6b);
    color: #fff;
    position: relative;
    box-shadow: 0 12px 24px rgba(18, 44, 81, .18);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
}

.wbs-dashboard-confidential-badge {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, #49e0d2, #1762a8 65%, #0b8fa5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 16px rgba(0,0,0,.18);
}

.wbs-dashboard-footer {
    background: #fff;
    border: none;
    border-top: 1px solid rgba(33, 61, 104, .08);
    padding: 16px 0 40px;
}

.wbs-dashboard-footer .wbs-footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 20px;
}

.wbs-dashboard-footer-left {
    display: grid;
    gap: 10px;
    align-content: end;
}

.wbs-dashboard-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 11px;
    line-height: 1.45;
}

.wbs-dashboard-footer-brand .wbs-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
}

/* Unused (currently not referenced in active Blade/JS)
.wbs-dashboard-footer-copy {
    font-size: 11px;
    line-height: 1.3;
    color: #111;
}

.wbs-dashboard-footer-meta {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-end;
    justify-content: flex-end;
    font-size: 14px;
    min-height: 0;
    padding-top: 0;
}

.wbs-socials {
    display: flex;
    gap: 12px;
    font-size: 22px;
    color: #111;
}
*/

.wbs-info-page {
    min-height: 100vh;
}

.wbs-box-muted {
    background: #d9d9d9;
    padding: 16px;
    font-size: 20px;
    margin-top: 30px;
}

.wbs-admin-bg {
    background: linear-gradient(140deg, #1c59ba, #548cd6);
    min-height: 100vh;
    padding: 36px 0;
}

.wbs-admin-wrap {
    background: #f4f4f4;
    border: 1px solid #2f2f2f;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

.wbs-admin-head {
    border-bottom: 1px solid #2f2f2f;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wbs-admin-content { padding: 20px; }

.wbs-logout-link {
    border: none;
    background: transparent;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    padding: 0;
    cursor: pointer;
    transition: transform .12s ease;
    -webkit-tap-highlight-color: transparent;
}

.wbs-logout-link:hover,
.wbs-logout-link:focus-visible {
    background: transparent;
    color: #0d6efd;
    transform: translateY(-1px);
}

.wbs-logout-link:active {
    transform: translateY(0);
}

.wbs-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.wbs-detail-head {
    font-size: 18px;
    padding: 12px 14px;
}

.wbs-detail-form-grid {
    grid-template-columns: 120px 1fr;
}

.wbs-report-detail-dialog {
    max-width: min(1180px, 96vw) !important;
}

.wbs-detail-suspect-table {
    table-layout: fixed;
}

.wbs-detail-suspect-table th:nth-child(1),
.wbs-detail-suspect-table td:nth-child(1) {
    width: 25%;
}

.wbs-detail-suspect-table th:nth-child(2),
.wbs-detail-suspect-table td:nth-child(2) {
    width: 21%;
}

.wbs-detail-suspect-table th:nth-child(3),
.wbs-detail-suspect-table td:nth-child(3) {
    width: 40%;
}

.wbs-detail-suspect-table th:nth-child(4),
.wbs-detail-suspect-table td:nth-child(4) {
    width: 14%;
}

.wbs-detail-suspect-table td {
    text-align: center;
    vertical-align: top;
    overflow-wrap: break-word;
    word-break: break-word;
}

.wbs-detail-status-table {
    table-layout: fixed;
}

.wbs-detail-status-table th:nth-child(1),
.wbs-detail-status-table td:nth-child(1) {
    width: 18%;
}

.wbs-detail-status-table th:nth-child(2),
.wbs-detail-status-table td:nth-child(2) {
    width: 25%;
}

.wbs-detail-status-table th:nth-child(3),
.wbs-detail-status-table td:nth-child(3) {
    width: 23%;
}

.wbs-detail-status-table th:nth-child(4),
.wbs-detail-status-table td:nth-child(4) {
    width: 20%;
}

.wbs-detail-status-table th:nth-child(5),
.wbs-detail-status-table td:nth-child(5) {
    width: 14%;
}

.wbs-detail-status-table td {
    text-align: center;
    vertical-align: top;
    overflow-wrap: break-word;
    word-break: break-word;
}

.wbs-empty-cell {
    text-align: center !important;
    vertical-align: middle;
}

.wbs-modal .modal-content {
    border-radius: 12px !important;
    overflow: hidden;
    border-radius: 0;
    border: 1px solid #222;
    background: #f4f4f4;
    opacity: 1;
}

.wbs-modal .modal-dialog {
    width: 100%;
    max-width: min(880px, 95vw);
}

.wbs-modal .modal-body {
    overflow-wrap: anywhere;
}

.wbs-modal .wbs-form-grid {
    grid-template-columns: 190px minmax(0, 1fr);
}

@media (max-width: 900px) {
    .wbs-modal .wbs-form-grid {
        margin-left: 0;
        grid-template-columns: 1fr;
    }

    .wbs-modal .wbs-form-grid label {
        white-space: normal;
    }
}

.wbs-modal .wbs-field-stack {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.wbs-modal .wbs-form-grid > * {
    min-width: 0;
}

.wbs-modal .select2-container,
.wbs-modal .select2-container .selection,
.wbs-modal .select2-container .select2-selection--single {
    max-width: 100%;
}

.wbs-modal .select2-selection__rendered,
.wbs-modal .select2-results__options {
    max-width: 100%;
}

.wbs-modal .wbs-assignment-select + .select2-container {
    width: 100% !important;
    max-width: 100% !important;
}

.wbs-modal .wbs-assignment-select + .select2-container .select2-selection--single,
.wbs-modal .select2-container--wbs-assignment .select2-selection--single {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    box-sizing: border-box;
}

.wbs-modal .wbs-assignment-select + .select2-container .select2-selection__rendered,
.wbs-modal .select2-container--wbs-assignment .select2-selection__rendered {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    padding-right: 36px !important;
    box-sizing: border-box;
}

.wbs-modal .select2-dropdown--wbs-assignment {
    width: auto !important;
    min-width: 0 !important;
}

.wbs-modal .select2-dropdown--wbs-assignment .select2-results__options {
    max-height: 220px;
}

.wbs-modal .select2-dropdown--wbs-assignment .select2-results__option {
    white-space: normal !important;
    word-break: break-word;
    line-height: 1.35;
    padding-top: 8px;
    padding-bottom: 8px;
}

.wbs-modal .modal-header,
.wbs-modal .modal-body,
.wbs-modal .modal-footer {
    background: #ffffff;
}

.wbs-report-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
}

.wbs-report-status-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    min-width: 0;
    flex: 1 1 auto;
}

.wbs-report-status-actions #reportStatusSelect {
    flex: 0 1 260px;
    min-width: 180px;
    max-width: 260px;
    height: 42px;
}

.wbs-report-status-actions #reportStatusUpdateBtn {
    flex: 0 0 auto;
    min-width: 108px;
    height: 42px;
    padding: 0 18px;
    white-space: nowrap;
}

.modal-backdrop.show {
    opacity: 0.55;
}

.wbs-login-page {
    min-height: 100vh;
    background: linear-gradient(0deg, rgba(133, 205, 238, 0.226), rgba(133, 199, 238, 0.24)), url('../images/wbs/background3.png') center no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-size: 100% auto;
    overflow-x: hidden;
}

.wbs-login-card {
    width: min(940px, 94%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.wbs-login-left {
    background: var(--blue);
    color: #fff;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wbs-login-left h1 {
    font-size: 56px;
    line-height: 1.08;
    margin: 0;
}

.wbs-login-right {
    background: #f1f1f1;
    padding: 22px 34px;
}

.wbs-thanks-page {
    min-height: 100vh;
    background: #0f4f86;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    overflow-x: hidden;
}

.wbs-thanks-box {
    width: min(1400px, 150%);
}

.wbs-thanks-text {
    font-size: 50px;
    line-height: 1.25;
    font-weight: 300;
}

.wbs-heart {
    font-size: 55px;
    color: #ff2a3a;
    margin: 12px 0 50px;
}

@media (max-width: 1200px) {
    .wbs-dashboard-title { font-size: 36px; }
    .wbs-how h2 { font-size: 30px; }
    .wbs-btn { font-size: 16px; }
    .wbs-form-grid label, .wbs-form-grid .label, .wbs-table th, .wbs-table td { font-size: 14px; }
    .wbs-dashboard-criteria-copy h3 { font-size: 27px; }
    .wbs-dashboard-story-head h3 { font-size: 18px; }
    .wbs-dashboard-story-card p,
    .wbs-dashboard-criteria-lead,
    .wbs-dashboard-list li { font-size: 13px; }
}

@media (max-width: 860px) {
    .wbs-dashboard-row,
    .wbs-how-grid,
    .wbs-info-grid,
    .wbs-detail-grid,
    .wbs-login-card { grid-template-columns: 1fr; }

    .wbs-form-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-left: 0;
    }
    .wbs-login-left h1 { font-size: 42px; }
    .wbs-thanks-text { font-size: 30px; }
    .wbs-nav-inner { flex-wrap: wrap; gap: 10px; }
    /* Unused (currently not referenced in active Blade/JS) */
    /* .wbs-dashboard-hero-redesign { min-height: auto; padding: 20px 0 0; } */
    .wbs-dashboard-hero-grid { min-height: 0; }
    .wbs-dashboard-hero-image {
        justify-self: center;
        width: min(320px, 86vw);
    }
    .wbs-dashboard-copy { padding: 70px 0 28px; }
    /* Unused (currently not referenced in active Blade/JS)
    .wbs-dashboard-illustration {
        justify-content: center;
        padding-bottom: 16px;
    }
    .wbs-dashboard-illustration img {
        width: min(320px, 88%);
        max-height: 300px;
    }
    */
    .wbs-dashboard-title,
    .wbs-dashboard-criteria-copy h3 { font-size: 30px; }
    .wbs-dashboard-subtitle,
    .wbs-dashboard-criteria-lead { font-size: 16px; }
    .wbs-how-redesign h2 { font-size: 34px; margin-bottom: 26px; }
    .wbs-how-card { flex-direction: column; }
    .wbs-how-chip,
    .wbs-how-redesign .wbs-how-item p { text-align: center; }
    .wbs-dashboard-info-wrap .wbs-info-grid,
    .wbs-dashboard-story,
    .wbs-dashboard-criteria-body { grid-template-columns: 1fr; }
    .wbs-dashboard-info-shell { padding-left: 0; }
    /* Unused (currently not referenced in active Blade/JS) */
    /* .wbs-dashboard-photo { min-height: 260px; } */
    .wbs-dashboard-story-card { padding: 22px 18px; }
    .wbs-dashboard-story-head { align-items: center; }
    .wbs-dashboard-story-head h3 { font-size: 24px; }
    .wbs-dashboard-confidential {
        width: 100%;
        padding: 18px 18px 18px 78px;
        border-radius: 18px;
    }
    .wbs-dashboard-confidential-badge {
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 52px;
        height: 52px;
        font-size: 24px;
    }
    .wbs-dashboard-footer .wbs-footer-inner { align-items: flex-start; }
    .wbs-dashboard-footer .wbs-footer-inner { grid-template-columns: 1fr; }
    /* Unused (currently not referenced in active Blade/JS) */
    /* .wbs-dashboard-footer-meta { align-items: flex-start; gap: 14px; min-height: 0; } */
    .wbs-dashboard-footer-brand { font-size: 11px; }
    .wbs-page { padding: 18px 0 24px; }
    .wbs-shell { width: min(1400px, calc(100% - 24px)); }
    .wbs-table { min-width: 720px; }
    .wbs-actions {
        justify-content: stretch;
        gap: 12px;
    }
    .wbs-actions .wbs-btn,
    .wbs-actions button.wbs-btn {
        flex: 1 1 0;
        text-align: center;
    }
    .wbs-modal .modal-dialog {
        margin: 0.75rem auto;
        max-width: min(880px, calc(100vw - 20px));
    }

    .wbs-report-detail-footer {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .wbs-report-status-actions {
        width: 100%;
        margin-right: 0;
    }

    .wbs-report-status-actions #reportStatusSelect {
        flex: 1 1 auto;
        max-width: none;
        min-width: 0;
    }

}

@media (max-width: 576px) {
    .wbs-shell { width: calc(100% - 16px); }
    .wbs-how-redesign .wbs-how-grid {
        gap: 22px;
    }
    .wbs-how-card {
        gap: 10px;
    }
    .wbs-how-icon {
        width: 72px;
        height: 72px;
        font-size: 38px;
        flex: 0 0 72px;
    }
    .wbs-how-chip {
        min-width: 0;
        width: 100%;
        min-height: 72px;
        padding: 12px 14px;
        font-size: 14px;
    }
    .wbs-how-redesign .wbs-how-item p {
        max-width: none;
        font-size: 13px;
    }
    .wbs-dashboard-story-head {
        align-items: flex-start;
    }
    .wbs-dashboard-story-head img {
        width: 56px;
        height: 56px;
    }
    .wbs-dashboard-story-head h3 {
        font-size: 18px !important;
    }
    .wbs-dashboard-confidential {
        width: 100%;
        border-radius: 18px;
        padding-right: 14px;
    }
    .wbs-btn { font-size: 15px; }
    .wbs-btn-sm {
        min-width: 0;
        padding: 10px 16px;
    }
    .wbs-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .wbs-actions .wbs-btn,
    .wbs-actions button.wbs-btn {
        width: 100%;
    }
    .wbs-modal .modal-body,
    .wbs-modal .modal-header,
    .wbs-modal .modal-footer {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .wbs-report-detail-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .wbs-report-status-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .wbs-report-status-actions #reportStatusSelect,
    .wbs-report-status-actions #reportStatusUpdateBtn,
    .wbs-report-detail-footer > .wbs-btn {
        width: 100%;
        max-width: none;
    }
    .wbs-radio-row {
        gap: 18px;
        flex-wrap: wrap;
    }
}
