:root {
    --theme-deafult: #3351a0;
    --theme-secondary: #cc3432;
    --iei-blue: #3351a0;
    --iei-blue-dark: #263d78;
    --iei-red: #cc3432;
    --iei-red-bright: #ed4d2a;
    --iei-red-dark: #d02f32;
    --iei-soft-blue: rgba(51, 81, 160, 0.1);
    --iei-soft-red: rgba(204, 52, 50, 0.12);
}

a,
.txt-primary,
.text-primary {
    color: var(--iei-blue) !important;
}

body {
    color: #26324a;
}

.page-wrapper .page-body-wrapper .page-body .page-title h3,
.page-title h3 {
    color: var(--iei-blue) !important;
    font-weight: 800;
}

.breadcrumb-item,
.breadcrumb-item a,
.home-item {
    color: var(--iei-blue) !important;
}

.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
    background-color: var(--iei-blue) !important;
    border-color: var(--iei-blue) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--iei-blue-dark) !important;
    border-color: var(--iei-blue-dark) !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(51, 81, 160, 0.2) !important;
}

.btn-secondary,
.badge-secondary,
.bg-secondary {
    background-color: var(--iei-red) !important;
    border-color: var(--iei-red) !important;
}

.loader-wrapper .loader .loader-bar,
.loader-wrapper .loader .loader-ball,
.tap-top {
    background: var(--iei-blue) !important;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .logo-wrapper,
.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .logo-icon-wrapper {
    border-color: rgba(51, 81, 160, 0.12);
}

.iei-brand-logo {
    width: 170px;
    max-height: 72px;
    object-fit: contain;
}

.iei-brand-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-link.active,
.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-link:hover,
.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-list.active > .sidebar-link {
    color: var(--iei-blue) !important;
    background-color: var(--iei-soft-blue);
}

.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-link.active svg path,
.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-link:hover svg path,
.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-list.active > .sidebar-link svg path,
.page-header svg path[stroke="#130F26"],
.sidebar-wrapper svg path[stroke="#130F26"] {
    stroke: var(--iei-blue) !important;
}

.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-submenu a:hover,
.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-submenu a.active {
    color: var(--iei-red) !important;
}

.card {
    border: 1px solid rgba(51, 81, 160, 0.1);
    box-shadow: 0 8px 24px rgba(38, 61, 120, 0.06);
}

.card .card-header {
    border-bottom-color: rgba(51, 81, 160, 0.12);
}

.table-responsive {
    border-radius: 10px;
}

table.dataTable,
table.display,
.dataTables_wrapper table.dataTable {
    color: #26324a !important;
    border-color: rgba(51, 81, 160, 0.12) !important;
}

table.dataTable thead,
table.display thead,
.dataTables_wrapper table.dataTable thead {
    background: rgba(51, 81, 160, 0.08);
}

table.dataTable thead th,
table.display thead th,
.dataTables_wrapper table.dataTable thead th {
    color: var(--iei-blue) !important;
    font-weight: 800;
    border-bottom: 2px solid var(--iei-blue) !important;
}

table.dataTable tbody td,
table.display tbody td,
.dataTables_wrapper table.dataTable tbody td,
.userDatatable-content {
    color: #26324a !important;
}

table.dataTable tbody tr:hover,
table.display tbody tr:hover {
    background-color: rgba(204, 52, 50, 0.04);
}

table.dataTable tbody tr:last-child td,
table.display tbody tr:last-child td {
    border-bottom-color: rgba(51, 81, 160, 0.16);
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    color: #26324a !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--iei-blue) !important;
    border-color: var(--iei-blue) !important;
    color: #fff !important;
}

.orderDatatable_actions li a.edit {
    color: var(--iei-blue) !important;
}

.orderDatatable_actions li a.remove {
    color: var(--iei-red) !important;
}

.login-card {
    background: linear-gradient(135deg, rgba(51, 81, 160, 0.08), rgba(204, 52, 50, 0.08));
}

.login-form {
    border-top: 4px solid var(--iei-blue);
}

.login-form .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

.login-logo {
    text-align: center;
    margin-bottom: 18px;
}

.login-logo img {
    width: 210px;
    max-width: 80%;
    height: auto;
}

.form-control:focus {
    border-color: var(--iei-blue) !important;
    box-shadow: 0 0 0 0.2rem rgba(51, 81, 160, 0.12) !important;
}

.input-group-text {
    color: var(--iei-blue);
}

.login-form .form-group .input-group-text {
    background-color: var(--iei-blue) !important;
    border-color: var(--iei-blue) !important;
    color: #fff !important;
}

.login-form .form-group .input-group-text i {
    color: #fff !important;
}

.checkbox input[type="checkbox"]:checked + label::before {
    background-color: var(--iei-blue) !important;
    border-color: var(--iei-blue) !important;
}

.badge-primary,
.bg-primary {
    background-color: var(--iei-blue) !important;
}

.alert-primary {
    color: var(--iei-blue-dark);
    background-color: var(--iei-soft-blue);
    border-color: rgba(51, 81, 160, 0.18);
}

.alert-secondary {
    color: #8d2524;
    background-color: var(--iei-soft-red);
    border-color: rgba(204, 52, 50, 0.18);
}
