.check_box {
    display: none;
}

.check_box+label::before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    right: 0;
}

.check_box:checked+label::before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    right: 0;
}

.delete_row {
    position: relative;
    top: -16px;
    right: 5px;
}

.tab-list-card {
    width: 20%;
    padding: 0 10px;
    margin-bottom: 20px;
}

.tab-list-card .custom-card-border {
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 3px 9px 0 #e1e1e1;
}
.tab-list-card .custom-card-border p{ 
    font-size: 14px;
    margin: 0px;
}
.tab-list-card .custom-card-border .card-body{
    padding: 0px;
    padding: 25px 0 10px;
}
.tab-list-card .custom-card-border .btn{
    font-size: 14px;
    padding: 10px;
    position: relative;
}
.tab-list-card .custom-card-border .btn sup{
        top: 50%;
    right: 10px;
    position: absolute;
    transform: translateY(-50%);
}
@media (max-width: 1650px) {
    .tab-list-card {
        width: 25%;
    }
}
@media (max-width: 1400px) {
    .tab-list-card {
        width: 33.33%;
    }
}

@media (max-width: 900px) {
    .tab-list-card {
        width: 50%;
    }
}

@media (max-width: 600px) {
    .tab-list-card {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand h1.mb-0 {
        margin-bottom: 15px !important;
    }

    .navbar-brand h1.mb-0 .img-fluid {
        max-width: 80%;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .navbar-brand h1.mb-0 {
        margin-bottom: 15px !important;
    }

    .navbar-brand .mb-0 .img-fluid {
        max-width: 45%;
    }
}

@media (min-width: 768px) {
    .navbar-brand h1.mb-0 .img-fluid {
        max-width: 80%;
    }

    .topbar {
        z-index: 10;
    }

    .left-sidebar {
        z-index: 0;
    }

    .page-wrapper {
        z-index: 20;
    }

    #main-wrapper[data-layout="vertical"][data-header-position="fixed"] .page-wrapper {
        padding-top: 0;
    }
}

.required-field::after {
    content: "*";
    color: red;
}

.has-float-label .form-control:placeholder-shown:not(:focus)+label {
    font-size: 100%;
    opacity: .5;
    top: .7em
}

.has-float-label .form-control:placeholder-shown:not(:focus)::-webkit-input-placeholder {
    opacity: 0.5;
}

.has-float-label .form-control::-webkit-input-placeholder {
    opacity: 0;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.has-float-label .form-control::-moz-placeholder {
    opacity: 0;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.has-float-label .form-control:-ms-input-placeholder {
    opacity: 0;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.has-float-label .modal_check_box label {
    position: relative;
    cursor: text;
    font-size: 97%;
    opacity: 0.6;
    -webkit-transition: all .2s;
    transition: all .2s;
    top: -.5em;
    left: .75rem;
    z-index: 3;
    line-height: 1;
    padding: 0 1px;
}

.has-float-label .modal_check_box label::after {
    content: " ";
    display: block;
    position: absolute;
    background: #fff;
    height: 2px;
    top: 50%;
    left: -.2em;
    right: -.2em;
    z-index: -1;
}

.add-scan-field-color {
    color: #727d8e;
}

.has-float-label .form-control:placeholder-shown:not(:focus)+label {
    opacity: 1;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

.text-uppercase {
    text-transform: uppercase;
}

.iti {
    display: block;
}

.iti__country-list {
    z-index: 4;
}

.has-float-label .iti .form-control:placeholder-shown:not(:focus)+label {
    left: 5.45rem;
}

.errorlist {
    text-align: left;
    list-style-type: none;
    padding-left: 0.75rem;
}

.phone-num {
    display: block;
}

html {
    background: white;
}

.form-control::placeholder {
    color: rgba(0, 0, 0, .5) !important;
    opacity: 1;
}

/*h2.large-heading-fontsize {*/
/*font-size: 2.6rem;*/
/*}*/

@media (min-width: 992px) {
    body.large-screen-transform {
        transform: scale(1.099);
        transform-origin: top;
    }
}

ul#id_method-method,
ul#id_setup-method {
    list-style: none;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    text-align: justify;
    margin-bottom: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type=radio] {
    vertical-align: middle;
}

.profile-backup-phone li {
    display: flex;
}

.profile-backup-phone li button {
    padding: .05rem .5rem
}

.tooltip .tooltip-inner ul {
    padding-left: 15px;
    text-align: left;
}

.tooltip .tooltip-inner ul li {
    padding-top: 10px;
}

form#add-scan-form label,
form#add-scan-form input[type="text"].form-control {
    color: #727d8e;
}

@media (min-width: 992px) {
    .modal-dialog {
        max-width: 800px;
    }
}

.risk-rating-info {
    color: #c5e0b3;
}

.risk-rating-low {
    color: #b9ddf5;
}

.risk-rating-medium {
    color: #ffd579;
}

.risk-rating-high {
    color: #ff9300;
}

.risk-rating-critical {
    color: #c00000;
}

.status-open {
    color: #ff0c23;
}

.status-closed {
    color: #70ad47;
}

.status-ready-for-retest {
    color: #2f5496;
}

.table-color-custom {
    background-color: #1f3864;
    color: white;
}

.table-edit-icon {
    cursor: pointer;
    vertical-align: text-bottom;
    margin-left: 8px;
}

.w-5 {
    width: 5%;
}

.w-10 {
    width: 10%;
}

.w-15 {
    width: 15%;
}

.w-20 {
    width: 20%;
}

.w-60 {
    width: 60%;
}

.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.btn {
    font-size: 16px;
    border-radius: 30px;
    padding: 10px 30px;
}

.btn-group-sm>.btn,
.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 30px;
}

.btn.btn-primary {
    color: #fff !important;
    background-color: #007bff;
    border-color: #007bff;
}

.btn.btn-primary:hover {
    color: #fff !important;
    background-color: #005aff;
    border-color: #005aff;
}

.btn.btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.theme_color {
    color: #007bff;
}

.theme_color:hover {
    color: #005aff;
}

h1,
h2 {
    color: #007bff;
}

.errorlist {
    text-align: center;
}

.theme-border-primary {
    border: 2px solid #007bff !important;
    border-radius: 10px;
}

@media (max-width: 992px) {
    h4 {
        font-size: 1rem;
    }

    /*1rem = 16px*/
}

.table .thead-dark th {
    border-color: #007bff;
    vertical-align: middle;
}

#card-errors {
    height: 35px;
    color: red;
    vertical-align: middle;
    display: table-cell;
}

@media (min-width: 992px) {
    .page-wrapper>.container-fluid {
        min-height: calc(100vh - 135px);
    }
}

.edit-scan-name {
    padding: 0;
    vertical-align: baseline;
    color: #1f3864
}

.custom-table-inside-table table>thead tr,
/* Select the <tr> in a <thead> if present */
.custom-table-inside-table table>tbody:first-child tr:first-child

/* Select the first <tr> in a <tbody> when the <thead> is not present */
    {
    background-color: #203864;
    color: white;
}

.tooltip-inner {
    max-width: 250px;
    padding: 3px 8px;
    text-align: center;
    background-color: whitesmoke;
    color: #5f76e8;
}

.tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before,
.tooltip.bs-tooltip-top .arrow::before {
    margin-left: -3px;
    content: "";
    border-width: 5px 5px 0;
    border-top-color: whitesmoke;
}

.btn.btn-outline-custom {
    border-color: #007bff;
    color: #007bff;
}

.btn-outline-custom:hover {
    color: white;
    background-color: #007bff;
    border-color: #007bff;
}

.text-custom {
    color: #007bff;
}

.btn-custom {
    color: #007bff;
}

.custom-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.custom-footer .footer-logo {
    width: 100px;
    vertical-align: top;
    padding-left: 2px;
}

body {
    padding-bottom: 40px;
    background-color: white;
}

mark {
    background-color: yellow;
    color: black;
}

.topbar .top-navbar .navbar-header .navbar-brand {
    align-items: baseline;
}

.success-icon-top-right {
    position: absolute;
    top: -2.3px;
    right: -1px;
    color: #22ca80;
    font-size: 1.5rem;
}

.dashboard-help {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 0;
}

.dashboard-help-btn {
    font-size: 1.3rem;
    margin-top: 0;
    padding-top: 0;
}

.custom-card-border {
    box-shadow: 0 3px 9px 0;
    -webkit-box-shadow: 0 3px 9px 0;
    -moz-box-shadow: 0 3px 9px 0;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-error hr {
    border-top-color: #f1b0b7;
}

.alert-error .alert-link {
    color: #491217;
}

select.custom-select-disable {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    background: none !important;

}

.reseller-organization .select2-container .select2-selection--single {
    border: 2px solid #e9ecef !important;
    height: 38px;
    padding: 4px;

}

.reseller-organization .select2-selection__arrow {
    top: 7px !important;
}

.reseller-organization .select2-container .select2-selection--single .select2-selection__rendered {
    color: black !important;
    font-family: inherit;
    font-size: inherit;
}

.dropdown-item.disabled,
.dropdown-item:disabled {
    pointer-events: auto;
}

.invalid-feedback {
    display: block;
}

pre {
    text-align: left;
    white-space: pre-line;
    /* This will break long lines and not preserve unnecessary spaces */
}

.risk-info {
    color: #c5e0b3;
}

.risk-minor {
    color: #b9ddf5;
}

.risk-major {
    color: #ffd579;
}

.risk-critical {
    color: #ff9300;
}

.risk-blocker {
    color: #c00000;
}

.message-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow: auto;
    max-height: 720px;
}

.message {
    max-width: 55%;
    clear: both;
}

.own-message {
    align-self: flex-end;
    background-color: #007bff;
    color: white;
    margin-bottom: 10px;
    word-break: break-word;
    padding: 10px;
    border-radius: 10px;
}

.other-message {
    align-self: flex-start;
    background-color: #f1f1f1;
    word-break: break-word;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.btn.delete-note-btn {
    color: #ff4f70;
}

.HIGHLIGHT {
    background-color: yellow;
    !important;
    color: black;
    !important;
}

code {
    font-size: 14px;
}

.hidden-name-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    /* Light gray background */
    border-radius: 50%;
    /* Makes it circular */
    padding: 10px;
    /* Adjust padding as needed */
    border: 1px solid #ddd;
    /* Light border */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

.hidden-name-icon i {
    color: #6c757d;
    /* Icon color */
    font-size: 14px;
    /* Increase icon size */
}

.hidden-name-icon:hover {
    background-color: #e0e0e0;
    /* Slightly darker on hover */
    cursor: default;
    /* Cursor remains default */
}

.obfuscated-text {
    color: #6c757d;
    font-style: italic;
    letter-spacing: 2px;
}

/* Notification CSS */

#main-wrapper[data-layout="vertical"][data-header-position="fixed"] .topbar {
    position: fixed;
    width: 100%;
    z-index: 100;
}

#main-wrapper[data-layout="vertical"][data-header-position="fixed"] .page-wrapper {
    margin-top: 0px;
}

.notification-count {
    position: absolute;
    top: -18px;
    right: 0;
    font-size: 11px;
    border-radius: 50%;
    padding: 0px;
    min-width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-header {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    background-color: #f8f9fa;
    padding: 10px 20px;
    margin-bottom: 0;
    border-bottom: 1px solid #dee2e6;
}

.header-opt .dropdown-toggle::after {
    content: unset;
}

.header-opt .navbar-nav>.nav-item>.nav-link {
    padding: 0 15px;
    font-size: 1rem;
}

.header-opt .navbar-light .navbar-nav .user-initials {
    color: #1c2d41;
    background-color: #b8c3d5;
}

.header-opt-mobile .navbar-nav .user-initials {
    color: #1c2d41;
    background-color: #b8c3d5;
}

.topbar .dropdown-menu.notification-list,
.header-opt .dropdown-menu.notification-list {
    box-shadow: 0 3px 9px 0 rgba(169, 184, 200, .15);
    top: 98%;
    max-height: 300px;
    overflow-y: auto;
    min-width: 400px;
    border-radius: .25rem;
}

.notification-list .dropdown-header {
    background-color: #fff;
    padding: 17px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.notification-list li.list-group-item:hover {
    background: #f3f3f3;
}

.notification-list li.list-group-item:last-child {
    border: 0px
}

.notification-list li.list-group-item {
    border: 0px;
}

.notification-list-user {
    background: #eee;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-list-info {
    width: calc(100% - 40px);
    padding-left: 10px;
}

.notification-list-info h5 {
    margin: 0px;
    color: #000;
}

.notification-list-info p {
    font-size: 14px;
    margin: 0px;
    color: #7c8798;
}

.topbar .top-navbar .navbar-nav>.nav-item>.nav-link {
    line-height: 38px;
}

.profile-header {
    background: #eee;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-list li:hover .nested-dropdown {
    display: block;
}

.navbar-nav .dropdown-menu.nested-dropdown {
    display: none;
    position: absolute;
    top: 0px;
    right: 100%;
    box-shadow: -9px 1px 15px rgba(0, 0, 0, .1);
}

.left-sidebar {
    padding: 0px;
}

.profile-list .fa {
    font-size: 12px;
    margin-right: 10px;
    color: #9eabc0;
}

.profile-list ul {
    padding: 0px;
    margin: 0px;
}

.profile-list ul li {
    list-style: none;
}

.profile-list {
    border-radius: 5px;
}

.profile-list ul li button,
.profile-list ul li a {
    background-color: transparent;
    border: 0;
    padding: 10px 15px;
    color: #818181;
    opacity: .7;
    width: 100%;
    display: block;
    font-size: 14px;
    text-align: left;
}

.profile-list ul li button:hover,
.profile-list ul li a:hover {
    background: #f3f3f3;
}

.profile-list ul li.border-top button,
.profile-list ul li.border-top a {
    border-top: 1px solid rgba(0, 0, 0, .125);
}

.profile-list ul li:last-child button {
    border-bottom: unset;
}

@media (max-width: 768px) {
    #main-wrapper[data-layout=vertical][data-header-position=fixed][data-sidebar-position=fixed] .topbar .top-navbar .navbar-collapse {
        top: 0px;
    }

    .topbar .top-navbar .navbar-collapse .navbar-brand {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        padding: 0 30px;
        height: 80px;
    }

    .topbar .nav-toggler,
    .topbar .topbartoggler {
        color: #7c8798;
    }

    .topbar .dropdown-menu.notification-list {
        min-width: 300px;
    }

    .topbar .top-navbar .navbar-header.navbar-header-mobile {
        line-height: unset;
    }

    .navbar-header-mobile .dropdown .nav-link.dropdown-toggle {
        color: #b8c3d5;
    }

    .notification-count {
        top: -10px;
        right: 3px
    }
}

.select2-selection--multiple.custom-select-table {
    background: url(../../assets/images/custom-select.png) right 1.1rem center no-repeat;
    background-size: auto;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: 0.375rem 1.75rem 0.375rem 0rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #b8c3d5;
    vertical-align: middle;
    border: 1px solid #e9ecef;
}

.select2-container--default .select2-selection--multiple.custom-select-table .select2-selection__choice {
    margin-top: 0;
    color: #686d74;
}

/* for integrations.html */
.integration-tabs .nav-link {
    padding: 0.5rem 1.25rem;
    color: #4C6EB1;
    font-weight: 500;
    transition: background-color .2s, color .2s;
}

.integration-tabs .nav-item+.nav-item .nav-link {
    margin-left: 1rem;
}

.integration-tabs .nav-link.active {
    background-color: #5f76e8;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.integration-tabs .nav-link:hover:not(.active) {
    background-color: rgba(76, 110, 177, 0.1);
}

/* for integrations.html */
.row.no-gutters>[class*="col-"] {
    display: flex;
}

.row.no-gutters>[class*="col-"]>.custom-card-border {
    width: 18rem;
    display: flex;
    flex-direction: column;
}

.custom-card-border .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

/* Push the bottom-most element (your button) down */
.custom-card-border .card-body>*:last-child {
    margin-top: auto;
}
.custom-card-border img.success-icon-top-right{
        width: 40px;
    height: 40px;
}
.custom-card-border img {
    max-width: 100%;
    height: 150px;
    padding-bottom: 10px;
    object-fit: contain;
}
.validate-btn-cls:disabled {
    opacity: 1 !important;
    cursor: not-allowed !important;
    background-color: transparent !important;
    border-color: #007bff   !important;
    color: #007bff   !important;
}

.delete-bulk-btn:disabled,
.bulk-dismiss-btn:disabled {
  opacity: 1 !important;
  cursor: not-allowed !important;
  background-color: transparent !important;
  color: #dc3545 !important;
  border-color: #dc3545 !important;
}
#aiValidationModal .modal-header .badge {
    font-size: 0.75rem;
}
#aiValidationModal .ai-phase-list {
    list-style: none;
    padding-left: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
}
#aiValidationModal .ai-phase-list::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0.75rem;
    bottom: 0.75rem;
    width: 2px;
    border-radius: 999px;
    background: #e2e6ea;
}
#aiValidationModal .ai-phase-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem 0.65rem 1rem;
    border-radius: 0.4rem;
    background: #f8f9fa;
    margin-bottom: 0.55rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
#aiValidationModal .ai-phase-item::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c9ced6;
    border: 2px solid #fff;
    transform: translateY(-50%);
    box-shadow: 0 0 0 3px #f8f9fa;
}
#aiValidationModal .ai-phase-item .ai-phase-label {
    font-weight: 600;
}
#aiValidationModal .ai-phase-item .js-ai-phase-detail {
    display: none;
}
#aiValidationModal .ai-phase-item.active {
    background: #e9f3ff;
    color: #084298;
    font-weight: 600;
}
#aiValidationModal .ai-phase-item.active::before {
    background: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}
#aiValidationModal .ai-phase-item.completed {
    background: #edf9f0;
    color: #146c43;
}
#aiValidationModal .ai-phase-item.completed::before {
    background: #198754;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.15);
}
#aiValidationModal .ai-phase-item.canceled {
    background: #f2f4f6;
    color: #495057;
}
#aiValidationModal .ai-phase-item.canceled::before {
    background: #adb5bd;
}
#aiValidationModal .ai-phase-item.error {
    background: #fdecea;
    color: #842029;
}
#aiValidationModal .ai-phase-item.error::before {
    background: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}
#aiValidationModal .ai-metric-tile {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
}
#aiValidationModal .ai-metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
}
#aiValidationModal .ai-metric-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
}
#aiValidationModal .ai-log,
#aiValidationModal .ai-timeline-feed,
#aiValidationModal .ai-history-table-wrapper {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.75rem;
    max-height: 280px;
    overflow-y: auto;
}
#aiValidationModal .ai-log-entry {
    white-space: pre-wrap;
    font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
#aiValidationModal .ai-log-entry:last-child {
    margin-bottom: 0;
}
#aiValidationModal .ai-timeline-feed {
    position: relative;
    padding-left: 1.75rem;
    max-height: 280px;
}
#aiValidationModal .ai-timeline-feed::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0.75rem;
    bottom: 0.75rem;
    width: 2px;
    background: #e3e6ef;
    border-radius: 999px;
}
#aiValidationModal .ai-timeline-item {
    position: relative;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem 0.85rem 1.1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
#aiValidationModal .ai-timeline-item::before {
    content: "";
    position: absolute;
    left: -23px;
    top: 1.1rem;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #b0b6c1;
    border: 2px solid #fff;
}
#aiValidationModal .ai-timeline-item:last-child {
    margin-bottom: 0;
}
#aiValidationModal .ai-timeline-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.25);
}
#aiValidationModal .ai-timeline-item.is-plan::before { background: #0b5ed7; }
#aiValidationModal .ai-timeline-item.is-analyzing::before { background: #6366f1; }
#aiValidationModal .ai-timeline-item.is-running::before { background: #22c55e; }
#aiValidationModal .ai-timeline-item.is-finalizing::before { background: #f97316; }
#aiValidationModal .ai-timeline-item.is-error::before { background: #dc2626; }
#aiValidationModal .ai-timeline-item.is-result::before { background: #10b981; }
#aiValidationModal .ai-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}
#aiValidationModal .ai-timeline-title {
    font-weight: 600;
    color: #0f172a;
}
#aiValidationModal .ai-timeline-time {
    font-size: 0.75rem;
    color: #94a3b8;
}
#aiValidationModal .ai-timeline-body {
    color: #1f2937;
    font-size: 0.9rem;
    white-space: pre-wrap;
}
#aiValidationModal .ai-timeline-body ol {
    padding-left: 1.2rem;
}
#aiValidationModal .ai-history-table-wrapper {
    padding: 0;
}
#aiValidationModal .ai-history-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
}
#aiValidationModal .ai-history-table td {
    font-size: 0.85rem;
    vertical-align: middle;
}
#aiValidationModal .ai-verdict-card {
    border: 1px solid #bbf7d0;
    border-left: 4px solid #22c55e;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    padding: 1rem 1.25rem;
    color: #065f46;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.18);
}
#aiValidationModal .ai-verdict-card.d-none {
    box-shadow: none;
}
#aiValidationModal .ai-verdict-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-transform: uppercase;
    color: #047857;
}
#aiValidationModal .ai-verdict-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.18);
    color: #047857;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}
#aiValidationModal .ai-verdict-text {
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 0.85rem;
    color: #064e3b;
}
#aiValidationModal .js-ai-decision-meta {
    min-height: 1rem;
}
#aiValidationModal .ai-verdict-summary-text {
    font-size: 0.95rem;
    color: #065f46;
}
#aiValidationModal .ai-verdict-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    color: #047857;
    padding: 6px 10px;
    border-radius: 0.6rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}
#aiValidationModal .ai-verdict-copy:hover,
#aiValidationModal .ai-verdict-copy:focus {
    background: rgba(255, 255, 255, 0.85);
    color: #065f46;
    text-decoration: none;
}
#aiValidationModal .ai-verdict-copy:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
#aiValidationModal .ai-verdict-actions button + button {
    margin-left: 0.5rem;
}
#aiValidationModal .nav-tabs .nav-link {
    font-weight: 500;
}
#aiValidationModal .ai-badge-validated,
#aiValidationModal .ai-history-validated,
#aiValidationModal .ai-history-decision {
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
}
#aiValidationModal .ai-badge-validated.badge-success,
#aiValidationModal .ai-history-validated.badge-success,
#aiValidationModal .ai-history-decision.badge-success {
    background-color: #047857;
    color: #fff;
}
#aiValidationModal .ai-badge-validated.badge-danger,
#aiValidationModal .ai-history-validated.badge-danger,
#aiValidationModal .ai-history-decision.badge-danger {
    background-color: #b91c1c;
    color: #fff;
}
#aiValidationModal .ai-badge-validated.badge-secondary,
#aiValidationModal .ai-history-validated.badge-secondary,
#aiValidationModal .ai-history-decision.badge-secondary {
    background-color: #4b5563;
    color: #fff;
}
#aiValidationModal .ai-decision-pill {
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
    display: inline-flex;
    align-items: center;
}
#aiValidationModal .ai-decision-pill.badge-success {
    background-color: #047857;
    color: #fff;
}
#aiValidationModal .ai-decision-pill.badge-danger {
    background-color: #b91c1c;
    color: #fff;
}
#aiValidationModal .ai-hidden {
    display: none !important;
}
