/*!
 * User: Renfrid Ngolongolo
 */
/*Google Fonts */
/* @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,400,500,600,700,800'); */

html {
    overflow: scroll;
    overflow-x: hidden;
}

body {
    font-size: 13px;
    font-weight: 400;
    color: #424242;
}

a {
    color: #424242;
}

a:hover,
a:focus {
    color: #4caf50;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #424242;
}

.font-weight-600 {
    font-weight: 600 !important;
}

.font-weight-700 {
    font-weight: 700 !important;
}

.font-weight-800 {
    font-weight: 800 !important;
}

.text-faded {
    color: rgba(255, 255, 255, 0.7);
}

.text-gray-800 {
    color: #424242;
}

.text-grey-700 {
    color: #616161;
}

.text-grey-600 {
    color: #757575;
}

.text-grey-500 {
    color: #9e9e9e;
}

.text-primary {
    color: #4caf50 !important;
}

.text-secondary {
    color: #2e2d2d !important;
}

.text-warning {
    color: #ff6f00 !important;
}

.text-danger {
    color: #c62828 !important;
}

.text-success {
    color: #388e3c !important;
}

.text-success-1 {
    color: #66bb6a !important;
}

.text-dark-blue {
    color: #4caf50 !important;
}

.text-light-blue {
    color: #1976d2 !important;
}

/*===============================================|
Sidebar
================================================*/
#sidebar-menu {
    margin: 0 8px;
    padding: 10px 0 30px;
}

#sidebar-menu .mm-active > .has-arrow:after {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

#sidebar-menu .has-arrow:after {
    content: "\f0140";
    font-family: Material Design Icons;
    display: block;
    float: right;
    -webkit-transition: -webkit-transform 0.2s;
    transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
    font-size: 1rem;
}

#sidebar-menu ul li a {
    display: block;
    padding: 0.25rem 1.5rem;
    margin: 8px 0;
    color: #424242;
    position: relative;
    font-size: 13px;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

#sidebar-menu ul li a i {
    display: inline-block;
    min-width: 1.75rem;
    padding-bottom: 0.125em;
    font-size: 1.25rem;
    line-height: 1.40625rem;
    vertical-align: middle;
    color: #545a6d;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

#sidebar-menu ul li a:hover,
#sidebar-menu ul li a:hover i {
    color: #4caf50;
}

#sidebar-menu ul li .badge {
    margin-top: 4px;
}

#sidebar-menu ul li ul.sub-menu {
    padding: 0;
}

#sidebar-menu ul li ul.sub-menu li a {
    padding: 0.4rem 1.5rem 0.4rem 3.5rem;
    font-size: 13px;
    color: #545a6d;
}

#sidebar-menu ul li ul.sub-menu li a:hover {
    color: #383c40;
}

#sidebar-menu ul li ul.sub-menu li ul.sub-menu {
    padding: 0;
}

#sidebar-menu ul li ul.sub-menu li ul.sub-menu li a {
    padding: 0.4rem 1.5rem 0.4rem 4.5rem;
    font-size: 13px;
}

.mm-active .active,
.mm-active .active i,
.mm-active > a,
.mm-active > a i,
.mm-active > i {
    background-color: #4caf50;
    color: #ffffff !important;
    border-radius: 20px;
}

/*===============================================|
Background Color
================================================*/
.bg-primary {
    background: #4caf50 !important;
}

.bg-success {
    background: #388e3c !important;
}

.bg-success-1 {
    background: #66bb6a !important;
}

.bg-danger {
    background: #c62828 !important;
}

.bg-danger-1 {
    background: #f44336 !important;
}

.bg-light-grey {
    background-color: #f2f5f7 !important;
}

.bg-light-grey-1 {
    background-color: #fafafa !important;
}

.bg-dark-blue {
    background-color: #0d47a1 !important;
}

.bg-light-blue {
    background-color: #1976d2 !important;
}

.bg-dark-1 {
    background-color: #2c3e50 !important;
}

/*===============================================|
Button
================================================*/
.btn-xss {
    padding: 0.12rem 0.3rem;
    font-size: 0.9rem;
    background: rgba(25, 103, 210, 0.07);
    line-height: 1.4;
    border-radius: 2px;
    color: #1967d2;
    transition: all 300ms ease;
}

.btn-primary {
    background: #4caf50;
    border-color: #4caf50;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    color: #ffffff;
    background-color: #4caf50;
    border-color: #4caf50;
}

.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-image: none;
}

.btn-outline-primary {
    background: #ffffff;
    border-color: #4caf50;
    color: #4caf50;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.open .dropdown-toggle.btn-outline-primary {
    background: #4caf50;
    border-color: #4caf50;
    color: #ffffff;
}

.btn-secondary {
    color: #ffffff;
    background-color: #1565c0;
    border-color: #1565c0;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.open .dropdown-toggle.btn-secondary {
    color: #ffffff;
    background-color: #1565c0;
    border-color: #1565c0;
}

.btn-secondary:active,
.btn-secondary.active,
.open .dropdown-toggle.btn-secondary {
    background-image: none;
}

.btn-outline-secondary {
    color: #1565c0;
    background-color: #fff;
    border-color: #1565c0;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary.active,
.open .dropdown-toggle.btn-outline-secondary {
    color: #ffffff;
    background-color: #1565c0;
    border-color: #1565c0;
}

/*===============================================
Tables
===============================================*/
table.table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

table.table th {
    font-size: 11px;
    font-weight: 500;
    text-align: left;
    color: #212121;
    padding: 10px !important;
    background: #eceff1;
    border: 1px solid #ffffff;
}

table.table td {
    font-size: 12px;
    font-weight: 400;
    background: #fff;
    color: #212121;
    vertical-align: top;
    padding: 12px !important;
}

/*
table.table td a {
  text-decoration: none !important;
  font-weight: normal !important;
}

table.table th a {
  text-align: right;
  text-decoration: none !important;
  font-weight: normal !important;
}

table.table td i {
  font-size: 14px;
  font-weight: 500;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
  bottom: .5em;
}

table.table-bordered td, .table-bordered th {
  border: 1px dashed #dcdcdc;
  border-top: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
}

table.table-bordered td:first-child, .table-bordered th:first-child {
  border-left: 1px solid #dcdcdc;
}

table.table-bordered td:last-child, .table-bordered th:last-child {
  border-right: 1px solid #dcdcdc;
}

table.table>:not(:last-child)>:last-child>* {
  border-bottom-color: #dcdcdc;
}

#dt tr:hover, .tr_active {
  background-color: aliceblue !important;
} */

/*=============================================
Tabs
============================================*/
.solutions-tabs .nav-link {
    text-align: center;
    background-color: #fff;
}

.solutions-tabs .nav-link {
    color: #757575;
}

.solutions-tabs .nav-link.active {
    color: #1565c0;
    /* border-bottom: 3px solid #1565C0; */
}

/*=============================================
offcanvas
============================================*/
#offcanvas-wrp {
    width: 48vw;
    height: 100%;
    z-index: 100;
    margin-top: 60px;
    padding: 20px 10px;
    border-left: 1px solid #b0bec5;
    background-color: #f5f5f5;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3;
    overflow-y: scroll;
}

@media screen and (max-width: 600px) {
    #offcanvas-wrp {
        width: 64vw;
        height: calc(100vh - 100px);
        margin-top: 40px;
    }

    .oc-shown {
        display: none;
    }
}

.success-template {
    padding: 10px;
    text-align: center;
}

.success-actions {
    margin-top: 15px;
    margin-bottom: 15px;
}

.success-actions .btn {
    margin-right: 10px;
}

.error-template {
    padding: 20px 10px;
    text-align: center;
}

.error-actions {
    margin-top: 15px;
    margin-bottom: 15px;
}

.error-actions .btn {
    margin-right: 10px;
}

/*===============================================|
Loader-spinner button
||==============================================*/
.loading-spinner {
    display: none;
}

.loading-spinner.active {
    display: inline-block;
}

/*================FORM WIZARD ===============*/
.stepwizard-step {
    /* margin: 10px;*/
    padding: 8px 4px;
    background-color: #e3f2fd;
    width: 20%;
}

.stepwizard-step p {
    margin-top: 10px;
}

.stepwizard-row {
    display: table-row;
}

.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}

.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

/* .stepwizard-row:before {
  top: 14px;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 100%;
  height: 1px;
  background-color: #ccc;
} */

.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}

.stepwizard-step a.btn-circle {
    width: 32px;
    height: 32px;
    border: 1px solid #1565c0;
    border-radius: 50%;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #757575;
    font-weight: 600;
    line-height: 1;
}

.stepwizard-step a.btn-success {
    border: none;
}

.stepwizard-step span {
    font-size: 12px;
    font-weight: 600;
}

/*========================================
||
 ========================================*/
.error {
    color: #f00;
}

.error-messages {
    border-radius: 4px;
    padding-left: 12px;
    background-color: #ffebee;
    color: #f00;
}

#error-messages {
    border-radius: 4px;
    padding: 12px;
    background-color: #ffebee;
    color: #f00;
}

#error-messages span {
    display: block;
}

.success-messages,
#success-messages {
    border-radius: 4px;
    padding: 16px;
    background-color: #e8f5e9;
    color: #43a047;
    font-weight: 500;
}

ul.header-social-icon li {
    display: inline;
    list-style-type: none;
}

ul.header-social-icon li a {
    color: #1684fc;
    font-size: 1.4375em;
}

ul.header-social-icon i {
    font-size: 24px;
}

.color-primary {
    color: var(--mikopo-nafuu-primary) !important;
}

.color-secondary {
    color: var(--mikopo-nafuu-secondary) !important;
}

.kyc input::placeholder {
    color: var(--mikopo-nafuu-secondary) !important;
}

.btn-mikopo-secondary {
    background-color: var(--mikopo-nafuu-secondary);
    color: white;
}

.btn-mikopo-primary {
    background-color: var(--mikopo-nafuu-primary);
    color: white;
}

.custom-tabs .nav-link {
    border-radius: 0.5rem;
    background-color: #f8f9fa;
    color: #6c757d;
    transition: all 0.3s ease-in-out;
}

.custom-tabs .nav-link.active {
    background-color: #0d6efd;
    color: #ffffff;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-tabs .nav-link:hover {
    background-color: #e9ecef;
    color: #0d6efd;
    text-decoration: none;
}

.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

/* Progress Bar Base */
.stepper::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #dee2e6;
    z-index: 0;
    border-radius: 2px;
}

.stepper .nav-item {
    position: relative;
    flex: 1;
    z-index: 1;
    text-align: center;
}

.stepper .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #6c757d;
    position: relative;
    transition: all 0.3s;
}

.stepper .nav-link .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s;
    z-index: 2;
    position: relative;
}

.stepper .nav-link .step-label {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Active Step */
.stepper .nav-link.active {
    color: #0d6efd;
}

.stepper .nav-link.active .step-number {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.1);
}

/* Completed Step */
.stepper .nav-link.completed {
    color: #28a745;
}

.stepper .nav-link.completed .step-number {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

/* Progress Fill for Completed Steps */
.stepper .nav-link.completed::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100%;
    height: 4px;
    background: #28a745;
    z-index: -1;
}

/* =========================
   Preview Section Styles
   ========================= */
/* =========================
   Modern Table-Like Preview
   ========================= */
.preview-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Section Cards */
.preview-section {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #0d6efd;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
}

.preview-section:hover {
    transform: translateY(-2px);
}

/* Section Header */
.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.preview-header h6 {
    font-weight: 600;
    font-size: 1rem;
    color: #0d6efd;
}

.preview-header .btn {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 6px;
}

/* Grid Layout for Fields */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

/* Field Item (Like a Table Row) */
.preview-item {
    display: flex;
    flex-direction: column;
}

.preview-item label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-value {
    background: #f1f3f5;
    border-radius: 6px;
    padding: 10px 12px;
    font-weight: 500;
    color: #212529;
    min-height: 38px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.preview-value:empty {
    color: #adb5bd;
    font-style: italic;
}

/* Summary Section */
.summary-section {
    border-left-color: #28a745;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: #e9ecef;
    border-radius: 8px;
    font-weight: 500;
    color: #212529;
}

.summary-label {
    font-weight: 600;
    color: #495057;
}

.summary-value {
    font-weight: 600;
    text-align: right;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .preview-grid,
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .preview-header .btn {
        align-self: flex-end;
    }
}
