.irr-preview-model-header {
    background: #f8fafc;
    border-bottom: 1px solid #cbd5e1;
    color: #1f4e79;
    font-weight: 700;
}

.irr-preview-model-header i {
    color: #2f75b5;
}

.irr-preview-panel {
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-left: 4px solid #64748b;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.1);
    padding: 1rem;
}

.irr-preview-panel.irr-preview-valid {
    border-left-color: #198754;
}

.irr-preview-panel.irr-preview-invalid {
    border-left-color: #b02a37;
}

.irr-change-log-title {
    color: #334155;
    font-size: 1rem;
    font-weight: 700;
}

.irr-change-log-title i {
    color: #64748b;
}

.irr-preview-section-title {
    color: #334155;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.irr-preview-section-title i {
    color: #64748b;
}

.irr-change-log-panel,
.irr-validation-panel {
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-left: 4px solid #64748b;
    border-radius: 0.5rem;
    padding: 1rem;
}

.irr-validation-title {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 700;
}

.irr-validation-title i {
    color: #64748b;
}

.irr-validation-count,
.irr-status-chip {
    align-items: center;
    border: 1px solid transparent;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 700;
    gap: 0.35rem;
    line-height: 1;
}

.irr-validation-count {
    border-radius: 999px;
    padding: 0.5rem 0.7rem;
}

.irr-validation-count-error,
.irr-status-error {
    background-color: #fff1f2;
    border-color: #fecdd3;
    color: #9f1239;
}

.irr-validation-count-warning,
.irr-status-warning {
    background-color: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.irr-validation-table {
    background-color: #ffffff;
    border-color: #e2e8f0;
}

.irr-validation-table thead th {
    background-color: #eef2f7;
    border-bottom: 2px solid #cbd5e1;
    color: #334155;
    font-size: 14px;
    letter-spacing: 0.01em;
}

.irr-validation-table tbody td {
    color: #334155;
    padding-bottom: 0.85rem;
    padding-top: 0.85rem;
}

.irr-validation-table tbody tr:hover {
    background-color: #f1f5f9;
}

.irr-preview-static-table {
    table-layout: fixed;
    width: 100%;
}

.irr-preview-static-table th,
.irr-preview-static-table td {
    overflow-wrap: anywhere;
    vertical-align: middle;
}

.irr-preview-validation-table th:nth-child(1),
.irr-preview-validation-table td:nth-child(1) {
    width: 20%;
}

.irr-preview-validation-table th:nth-child(2),
.irr-preview-validation-table td:nth-child(2) {
    width: 15%;
}

.irr-preview-validation-table th:nth-child(3),
.irr-preview-validation-table td:nth-child(3) {
    max-width: 0;
    overflow-wrap: anywhere;
    white-space: normal !important;
    word-break: break-word;
    width: 50%;
}

.irr-preview-validation-table th:nth-child(4),
.irr-preview-validation-table td:nth-child(4) {
    width: 15%;
}

.irr-preview-change-table th:nth-child(1),
.irr-preview-change-table td:nth-child(1) {
    width: 18%;
}

.irr-preview-change-table th:nth-child(2),
.irr-preview-change-table td:nth-child(2) {
    width: 18%;
}

.irr-preview-change-table th:nth-child(3),
.irr-preview-change-table td:nth-child(3) {
    width: 22%;
}

.irr-preview-change-table th:nth-child(4),
.irr-preview-change-table td:nth-child(4) {
    width: 30%;
}

.irr-preview-change-table th:nth-child(5),
.irr-preview-change-table td:nth-child(5) {
    width: 12%;
}

.irr-status-chip {
    border-radius: 0.4rem;
    min-width: 5.5rem;
    padding: 0.45rem 0.6rem;
}

.irr-status-success,
.irr-status-info,
.irr-status-neutral {
    border-radius: 0.4rem;
    padding: 0.45rem 0.6rem;
}

.irr-status-success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #146c43;
}

.irr-toggle-choice-no {
    color: #b02a37;
    font-weight: 700;
}

.irr-toggle-choice-yes {
    color: #198754;
    font-weight: 700;
}

.irr-choice-toggle .slider {
    background-color: #b02a37;
}

.irr-choice-toggle input:checked + .slider {
    background-color: #198754;
}

.irr-choice-toggle input:focus + .slider {
    box-shadow: 0 0 1px #198754;
}

.irr-confirm-changes-guidance {
    align-items: center;
    background: #fffbeb;
    border: 1px solid #f6c344;
    border-radius: 0.35rem;
    color: #664d03;
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 700;
    gap: 0.35rem;
    margin-left: 0.5rem;
    padding: 0.35rem 0.55rem;
}

.irr-confirm-changes-guidance i {
    color: #f0ad00;
}

.irr-status-info {
    background: #e8f1fb;
    border: 1px solid #b6d4fe;
    color: #1f4e79;
}

.irr-status-neutral {
    background: #f1f3f5;
    border: 1px solid #ced4da;
    color: #495057;
}

.irr-preview-selected-instances-table {
    table-layout: fixed;
    width: 100%;
}

.irr-preview-selected-instances-table th,
.irr-preview-selected-instances-table td {
    overflow-wrap: anywhere;
    vertical-align: middle;
    width: 33.3333%;
}
