.float-left {
    float: left;
}

.float-right {
    float: right;
}

.w-95 {
    width: 95%;
}

.bg-brand-1 {
    background-color: #171F44;
}

.bg-brand-2 {
    background-color: #B54D4D;
}

.rotation-animation {
    -webkit-animation: rotation 2s infinite linear;
}

.sticky-thead th {
    background-color: #171F44;
    position: sticky;
    top: 0; /* Don't forget this, required for the stickiness */
}


@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}


.header {
    background: white;
}

.header-menu-container {
    background: #1E204F;
    padding-top: 10px;
}

body:not(.bg-body) {
    background-color: #ebeef7;
}

.content {
    background-color: white;
}

.card {
    box-shadow: 0px 0px 20px -10px rgb(172 172 172 / 50%);
    border: 1px solid #f1f1f1;
}

.toolbar {
    border-top-right-radius: 0.00rem;
}


#kt_toolbar {
    box-shadow: 0px 1px 4px rgb(82 82 82 / 30%);
}

#kt_content {
    /*TODO: @Frank I removed this temporarily*/
    /*box-shadow: 0px 1px 4px rgb(82 82 82 / 30%);*/
}

.text-success {
    color: #27ae60 !important;
}

.page-item.active .page-link {
    background-color: #192144;
}

.bg-light-success {
    background-color: #f3efec !important;
}

.bg-success {
    --bs-bg-opacity: 1;
    background-color: #ffb22b !important;
}

.menu-white .menu-item .menu-link {
    color: #1E204F;
}

.header-fixed[data-kt-sticky-header=on] .header {
    background-image: none;
    box-shadow: 0px 0px 10px rgb(82 82 82 / 20%);
}


.logo {
    width: 280px;
    height: 100% !important;
}


.app-content {
    box-shadow: 0px 0px 30px -10px rgb(172 172 172 / 50%);
}


.topbar .btn.btn-custom {
    background-color: #1E204F;
}

.btn-check:active + .topbar .btn.btn-custom, .btn-check:checked + .topbar .btn.btn-custom, .show > .topbar .btn.btn-custom, .topbar .btn.btn-custom.active, .topbar .btn.btn-custom.show, .topbar .btn.btn-custom:active:not(.btn-active), .topbar .btn.btn-custom:focus:not(.btn-active), .topbar .btn.btn-custom:hover:not(.btn-active) {
    background-color: rgb(62 106 153) !important;
}


.btn-check:active + .btn.btn-outline.btn-outline-dashed, .btn-check:checked + .btn.btn-outline.btn-outline-dashed, .btn.btn-outline.btn-outline-dashed.active, .btn.btn-outline.btn-outline-dashed.show, .btn.btn-outline.btn-outline-dashed:active:not(.btn-active), .btn.btn-outline.btn-outline-dashed:focus:not(.btn-active), .btn.btn-outline.btn-outline-dashed:hover:not(.btn-active), .show > .btn.btn-outline.btn-outline-dashed {
    border-color: #181c32;
}

.btn-check:active + .btn.btn-active-primary, .btn-check:checked + .btn.btn-active-primary, .btn.btn-active-primary.active, .btn.btn-active-primary.show, .btn.btn-active-primary:active:not(.btn-active), .btn.btn-active-primary:focus:not(.btn-active), .btn.btn-active-primary:hover:not(.btn-active), .show > .btn.btn-active-primary {
    color: #fff;
    border-color: #181c32;
    background-color: #181c32 !important;
}

.form-check.form-check-success .form-check-input:checked {
    background-color: #ff5251;
}

#widget-main-form {
    padding-top: 20px;
}


.btn.btn-success {
    color: #fff;
    border-color: #cf3e3d;
    background-color: #ff5251;
}

.table.table-row-gray-300 tr {
    border-bottom-color: #e4e6ef;
}

.table.table-row-dashed tr {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #e4e6ef;
}

.btn-check:active + .btn.btn-active-success, .btn-check:checked + .btn.btn-active-success, .btn.btn-active-success.active, .btn.btn-active-success.show, .btn.btn-active-success:active:not(.btn-active), .btn.btn-active-success:focus:not(.btn-active), .btn.btn-active-success:hover:not(.btn-active), .show > .btn.btn-active-success {
    color: #fff;
    border-color: #de4645;
    background-color: #ff5251 !important;
}

.nav-link {

    color: #1e204f;
}

/*image on select css*/
.vodiapicker {
    display: none;
}

#a {
    padding-left: 0px;
}

#a img, .btn-select img {
    width: 18px;
}

#a li {
    list-style: none;
    padding-top: 5px;
    padding-bottom: 5px;
}

#a li:hover {
    background-color: #F4F3F3;
}

#a li img {
    margin: 5px;
}

#a li span, .btn-select li span {
    margin-left: 30px;
}

/* item list */

.b {
    display: none;
    width: 100%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 5px;

}

.open {
    display: show !important;
}

.btn-select {
    width: 100%;
    height: 35px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #ccc;

}

.btn-select li {
    list-style: none;
    float: left;
    padding-bottom: 0px;
}

.btn-select:hover li {
    margin-left: 0px;
}

.btn-select:hover {
    background-color: #F4F3F3;
    border: 1px solid transparent;
    box-shadow: inset 0 0px 0px 1px #ccc;


}

.btn-select:focus {
    outline: none;
}

/*END Image on select*/

.rating-label.checked > .svg-icon svg [fill]:not(.permanent):not(g), label.rating-label > .svg-icon svg [fill]:not(.permanent):not(g) {
    transition: fill .3s ease;
    fill: #ffad0f;
}

.rating {
    justify-content: center;
}

.app-toolbar {
    background-color: #1E204F;
}

.table td, .table th, .table tr {
    font-size: 12px;
}

.table td:first-child, .table th:first-child, .table tr:first-child {
    padding-left: 10px;
}

.add-review-btn {
    margin-top: -10px;
    background: #fa3e3b !important;
}

.card-projects { /* background:red; */
    border: none;
    box-shadow: none;
    padding: 0px;
}

.card-projects .card-header {
    padding: 0px;
}

.card-projects .card-body {
    padding: 0px;
}

.card-projects .card.card-xl-stretch {
    box-shadow: none !important;
    border: 0px;
}

.card-projects .transfer-btn {
    margin-left: 10px;
    margin-right: 10px;
}


.reviewmanager .sorting_disabled {
    text-align: right; /* display: none; */
}

.reviewmanager .btn-sm {
    padding: calc(0rem + 1px) calc(.25rem + 1px) !important;
}

.reviewmanager .img-platform-icon {
    max-width: 25px;
}

.widgetmanager #main-data-table > thead > tr > th.sorting_disabled {
    text-align: right;
}

.widgetmanager #main-data-table > tbody > tr > td:nth-child(6) > div {
    float: right;
}

.widgetmanager .btn-sm {
    padding: calc(0rem + 1px) calc(1.25rem + 1px) !important;
}

.breadcrumb-item a {
    color: #4879ae;
}

.table .fs-6 { /* font-size: 12px!important; */
}

.mr-5 {
    margin-right: 15px;
}

.bg-primary {
    background-color: #91d1da !important;
}

.btn.btn-primary {
    background-color: #222453 !important;
    font-weight: bold;
}

.text-hover-primary:hover {
    transition: color .2s ease;
    color: #232453 !important;
}

.highcharts-point {
    fill: #91d1da !important;
}

.highcharts-legend {
    display: none;
}

.source_name {
    font-size: 20px !important;
    line-height: 25px;
}

.source_logo {
    max-width: 120px;
    height: auto !important;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
}

.source_box {
    height: 150px;
    vertical-align: middle;
    display: flex;
    width: 150px;
    background: #f3efec;
}

code.hljs {
    border-radius: 8px;
}

@-webkit-keyframes blinker {
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

.blink {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    animation: blinker 1s linear infinite;
    background-color: #d92450;
    margin-right: 5px;
}

.blink-content {
    display: flex;
    flex-direction: row;
    align-items: center;
}


/* =========================================================================
   DESIGN SYSTEM — consistency layer
   Appended last so it harmonises the scattered values above via the cascade.
   Cosmetic only: unifies brand colours, spacing, typography, buttons,
   forms, tables and cards. No markup or behaviour is changed.
   ========================================================================= */
:root {
    --sr-navy: #222453;        /* canonical brand navy (matches .btn-primary) */
    --sr-navy-700: #1b1d45;    /* darker — pressed/hover-dark */
    --sr-navy-600: #2d3070;    /* lighter — hover */
    --sr-red: #ff5251;         /* brand accent / primary CTA */
    --sr-red-600: #e8413f;     /* accent hover */
    --sr-teal: #91d1da;
    --sr-bg: #eef1f8;
    --sr-surface: #ffffff;
    --sr-border: #e7eaf3;
    --sr-text: #1c1f3b;
    --sr-muted: #7e8299;
    --sr-radius: 0.65rem;
    --sr-radius-sm: 0.45rem;
    --sr-shadow: 0 4px 24px -14px rgba(34, 36, 83, 0.28);
}

/* ---- Surfaces -------------------------------------------------------- */
body:not(.bg-body) { background-color: var(--sr-bg); }

.card {
    border: 1px solid var(--sr-border);
    border-radius: var(--sr-radius);
    box-shadow: var(--sr-shadow);
}
.card .card-header { border-bottom: 1px solid var(--sr-border); }

/* ---- Brand navy unification (collapses #1E204F / #171F44 / #192144…) -- */
.app-toolbar,
.header-menu-container { background-color: var(--sr-navy) !important; }
.bg-brand-1 { background-color: var(--sr-navy) !important; }
.sticky-thead th { background-color: var(--sr-navy); }
.topbar .btn.btn-custom { background-color: var(--sr-navy); }
.page-item.active .page-link {
    background-color: var(--sr-navy);
    border-color: var(--sr-navy);
}
.text-primary,
.text-hover-primary:hover { color: var(--sr-navy) !important; }
.menu-white .menu-item .menu-link { color: var(--sr-navy); }

/* ---- Buttons -------------------------------------------------------- */
.btn {
    border-radius: var(--sr-radius-sm);
    font-weight: 600;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn.btn-primary {
    background-color: var(--sr-navy) !important;
    border-color: var(--sr-navy);
    font-weight: 600;
}
.btn.btn-primary:hover:not(:disabled),
.btn.btn-primary:focus:not(:disabled),
.btn.btn-primary:active {
    background-color: var(--sr-navy-600) !important;
    border-color: var(--sr-navy-600);
}
.btn.btn-success,
.btn.btn-active-success.active,
.add-review-btn {
    background-color: var(--sr-red) !important;
    border-color: var(--sr-red) !important;
}
.btn.btn-success:hover:not(:disabled),
.add-review-btn:hover:not(:disabled) {
    background-color: var(--sr-red-600) !important;
    border-color: var(--sr-red-600) !important;
}
.btn-light, .btn.btn-secondary {
    border-radius: var(--sr-radius-sm);
}

/* ---- Forms ---------------------------------------------------------- */
.form-control,
.form-select {
    border-radius: var(--sr-radius-sm);
    border-color: var(--sr-border);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--sr-navy);
    box-shadow: 0 0 0 0.2rem rgba(34, 36, 83, 0.12);
}
.form-check-input:checked,
.form-check.form-check-custom .form-check-input:checked,
.form-check.form-check-solid .form-check-input:checked,
.form-switch .form-check-input:checked {
    background-color: var(--sr-navy) !important;
    border-color: var(--sr-navy) !important;
}
/* preserve the intentional red "success" variant */
.form-check.form-check-success .form-check-input:checked {
    background-color: var(--sr-red) !important;
    border-color: var(--sr-red) !important;
}
.form-label,
label.form-label { font-weight: 600; color: var(--sr-text); }

/* ---- Tables --------------------------------------------------------- */
.table td, .table th, .table tr { font-size: 13px; }
.table > thead th,
.table thead th {
    color: var(--sr-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 11px;
}
.table > tbody > tr:hover > * { background-color: #f7f8fc; }

/* ---- Typography ----------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 { color: var(--sr-text); }

/* ---- Badges / pills ------------------------------------------------- */
.badge { border-radius: var(--sr-radius-sm); font-weight: 600; padding: 0.45em 0.7em; }

/* ---- Card headers / titles ------------------------------------------ */
.card > .card-header { min-height: 64px; }
.card-title,
.card-title .fw-bold,
.card-title .fw-bolder { color: var(--sr-text); font-weight: 600; }
.card-title .text-muted,
.card-header .text-muted { color: var(--sr-muted) !important; }

/* ---- Header navigation: clearer, consistent active state ------------ */
.app-header-menu .menu-item.here > .menu-link .menu-title,
.app-header-menu .menu-item.show > .menu-link .menu-title,
.app-header-menu .menu-link.active .menu-title { color: var(--sr-navy); font-weight: 700; }
.app-header-menu .menu-link:hover .menu-title { color: var(--sr-navy); }

/* ---- DataTables controls: align with the rest of the UI ------------- */
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--sr-border);
    border-radius: var(--sr-radius-sm);
    padding: 0.45rem 0.75rem;
    background-color: #fff;
}
.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: var(--sr-navy);
    box-shadow: 0 0 0 0.2rem rgba(34, 36, 83, 0.12);
}
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter { color: var(--sr-muted); font-size: 13px; }
.dataTables_wrapper .dataTables_paginate .page-link { border-radius: var(--sr-radius-sm); }

/* ---- Dividers ------------------------------------------------------- */
.separator { border-bottom-color: var(--sr-border); }

/* ---- Links ---------------------------------------------------------- */
a.text-primary:hover,
.link-primary:hover { color: var(--sr-navy-600) !important; }

/* ---- Inputs: consistent comfortable height across filters ----------- */
.form-control:not(.form-control-lg):not(.form-control-sm),
.form-select:not(.form-select-lg):not(.form-select-sm) { min-height: calc(1.5em + 0.95rem + 2px); }


/* =========================================================================
   UX & INTERACTION LAYER
   Affordances, keyboard accessibility, hover feedback, micro-interactions.
   Presentation only — no behaviour or markup changes.
   ========================================================================= */

/* ---- Smooth, consistent transitions -------------------------------- */
.btn, .page-link, .badge,
.menu-link, .form-control, .form-select, .form-check-input {
    transition: background-color .15s ease, color .15s ease,
                border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

/* ---- Keyboard accessibility: visible focus ring -------------------- */
.btn:focus-visible,
a:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible,
.page-link:focus-visible,
.menu-link:focus-visible {
    outline: 2px solid var(--sr-navy);
    outline-offset: 2px;
}

/* ---- Table action icons: clear affordance + semantic colours ------- */
.table .btn-group > .btn,
a.edit-review-btn,
a.delete-btn,
.table td .btn.btn-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    color: var(--sr-muted);
    background: transparent;
    border: 1px solid transparent;
}
.table .btn-group { display: inline-flex; gap: 6px; }
.table .btn-group > .btn:hover,
a.edit-review-btn:hover,
.table td .btn.btn-icon:hover {
    color: var(--sr-navy);
    background: rgba(34, 36, 83, 0.08);
}
a.delete-btn:hover {
    color: var(--sr-red);
    background: rgba(255, 82, 81, 0.10);
}

/* ---- Header menu: subtle hover affordance -------------------------- */
.app-header-menu .menu-item .menu-link { border-radius: 8px; }
.app-header-menu .menu-item .menu-link:hover { background-color: rgba(34, 36, 83, 0.06); }

/* ---- Interactive source / connect cards lift on hover -------------- */
.source_box { transition: transform .18s ease, box-shadow .18s ease; }
.source_box:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(34, 36, 83, .35); }

/* ---- Buttons: gentle lift for primary CTAs ------------------------- */
.btn.btn-primary:hover:not(:disabled),
.btn.btn-success:hover:not(:disabled),
.add-review-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -6px rgba(34, 36, 83, .45);
}

/* ---- DataTables processing overlay --------------------------------- */
.dataTables_wrapper .dataTables_processing {
    border-radius: var(--sr-radius);
    box-shadow: var(--sr-shadow);
    border: 1px solid var(--sr-border);
    font-weight: 600;
    color: var(--sr-navy);
}

/* ---- Subtle, on-brand scrollbars ----------------------------------- */
* { scrollbar-width: thin; scrollbar-color: #c3c8de transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
    background-color: #c3c8de;
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover { background-color: #a6abc8; background-clip: content-box; }
