:root {
    --primary-green: #5B9A42;
    --secondary-green: #8DC63F;
    --light-green: #E3F4E3;
    --secondary-light-green: #E8FDC9;
    --super-light-green: #F9FFF0;
    --white: #FFFFFF;
    --black: #333333;
}

.app-main {
    background-color: #F4F4F4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* content-settings */
.tab {
    margin: 20px 0;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: space-between;
    gap: 13px;
}

.tab .btn-sub-button.btn {
    font-size: 14px;
    line-height: 18px;
    padding: 12px;
}

.btn-sub-button {
    width: 100%;
    padding: 5px 5px;
    color: #1E1E2C;
    background: #ECECEC;
    border: 1px solid #CFCFCF;
    padding: 10px;
    border-radius: 5px;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-sub-button:hover,
.btn-sub-button.active {
    color: #fff;
    background-color: #8FC63E;
    font-weight: 700;
    border-color: #8FC63E;
}

.text-muted-admin {
    --bs-text-opacity: 1;
    color: #8FC63E !important;
    font-style: italic;
}

.card .card-header>h5:after,
.card .card-header>.h5:after {
    background: #8FC63E;
}

.card .card-header.d-flex {
    align-items: center;
}

.card .card-header-admin {
    border-bottom: 1px solid #f1f1f1;
}

.card-header-admin:first-child {
    border-radius: var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0;
}

.card-header-admin {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    margin-bottom: 0;
    color: var(--bs-card-cap-color);
    background-color: var(--bs-card-cap-bg);
    border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
}

.card .card-header:not(.border-0)>.card-title:after {
    content: "";
    height: 40px;
    width: 3px;
    background: #8FC63E;
    position: absolute;
    left: 0;
    top: 15px;
    border-radius: 0;
}

.password-toggle .toggle-btn {
    font-size: 16px;
    position: absolute;
    right: 10px;
    cursor: pointer;
    bottom: 0;
    height: 45%;
    display: flex;
    align-items: center;
    /* bottom: 6px; */
}

.password-toggle .toggle-btn i {
    font-size: 16px;
    display: flex;
    align-items: center;
    height: 45%;
}

/* Custom Dots */
.carousel-indicators [data-bs-target] {
    background-color: #8FC63E;
    border: none;
    height: 10px !important;
    width: 10px !important;
    border-radius: 100%;
    margin-bottom: 4px;
}

.carousel-indicators .active {
    background-color: #8FC63E;
}

.login-wrapper {
    width: 50%;
}

.login-carousel {
    width: 100%;
    height: 100vh;
}

.login-carousel .carousel-inner {
    width: 100%;
    height: 100%;
}

.login-carousel .carousel-inner>.carousel-item {
    width: 100%;
    height: 100%;
}

.login-carousel .carousel-inner>.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stepper-wrapper {
    margin: 0 auto 50px auto;
    width: 80%;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px dashed #ccc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 2;
}

.stepper-item:last-child::before {
    content: none;
}

.stepper-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #efeff0;
    border: 3px solid #ffffff;
    color: var(--secondary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    position: relative;
}

.stepper-icon.active {
    background-color: #ffffff;
    border-color: var(--secondary-green);
    color: white;
}

.stepper-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c6e76;
}

.text-primary-green {
    color: var(--primary-green);
}

.text-secondary-green {
    color: var(--secondary-green);
}

.form-check.form-check-xs .form-check-input {
    height: 1.4rem;
    width: 1.4rem;
}

.form-check.form-check-xs input[type="checkbox"].form-check-input {
    border-radius: 0.3rem;
}

.form-check.form-check-success .form-check-input:checked {
    border-color: transparent;
}

ol.certification-list {
    padding-left: 0;
    list-style-type: none;
}

ol.certification-list li::marker {
    font-weight: bold;
}

ol.certification-list li {
    /* padding-left: 10rem; */
    padding-left: 0rem !important;
    /* margin-left: 1rem; */
}

.certification-other-input-group {
    padding-left: 25px;
}

.main-sub-label {
    font-style: italic;
    font-weight: normal;
    margin-top: 30px;
}

.btn-primary-green {
    background-color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
    color: white !important;
}

.btn-primary-green:hover {
    background-color: var(--secondary-green) !important;
    border-color: var(--secondary-green) !important;
    color: white;
}

.card-subtitle {
    background-color: #F0FFD9 !important;
    margin: -2rem -2.25rem;
    padding: 2rem 2.25rem;
}

.card-subbody {
    padding-top: 3.5rem;
    padding-bottom: 5rem;
}

.dropzone.dropzone-image {
    background-color: transparent;
    border-color: var(--bs-secondary);
}

.dropzone.dropzone-file, .dropzone.dropzone-list-file {
    background-color: transparent;
    border-style: solid;
    border-color: var(--bs-secondary);
    padding: .25rem;
}

.review-tabs .nav-link {
    background-color: #CCCCCC;
    color: white;
    border-radius: 5px;
    margin-right: 4px;
}

.review-tabs .nav-link.active {
    background-color: #8FC63E !important;
    color: white !important;
}

.review-tabs .nav-link:hover {
    background-color: #7AB02D !important;
    color: white !important;
}

.dz-image img {
    object-fit: cover;
    width: 120px;
    height: 120px;
}

.super-light-green {
    background-color: var(--super-light-green) !important;
    color: #5B9640 !important;
}

.form-container {
    margin: 0.5rem auto;
    padding: 0.5rem;
    background-color: #fff;
}

.alert-success {
    background-color: #f1f9f1;
    border-color: #d4e9d4;
    color: #5B9640;
}

.payment-success {
    background-color: #F0FFD9;
    border-color: #d4e9d4;
    color: #5B9640;
    font-size: 1.5rem;
    font-weight: 600;
}

.payment-success i {
    color: #5B9640;
    font-size: 2.5rem;
}

.alert-failed {
    background-color: #ffeaea;
    border-color: #f5c2c2;
    color: #d93025;
}

.payment-failed {
    background-color: #ffe5e5;
    border-color: #f5c2c2;
    color: #d93025;
    font-size: 1.5rem;
    font-weight: 600;
}

.payment-failed i {
    color: #d93025;
    font-size: 2.5rem;
}

.card {
    background-color: #ffffff;
}

.text-muted {
    color: #6c757d !important;
}

.fw-medium {
    font-weight: 500;
}

.btn-success-secondary {
    background-color: #F0FFD9 !important;
    border-color: #8FC63E !important;
    color: #8FC63E !important;
}

.btn-success-secondary:hover {
    background-color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
    color: white !important;
}

.invoice-title {
    color: #5B9640 !important;
    font-size: 50px;
}

a.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.select2-container--bootstrap-5 .select2-selection {
    min-height: calc(1.5em + 1.1rem + 2px) !important;
}

.approval-tabs .nav-item .nav-link {
    padding: 1.25rem 0;
    background-color: var(--bs-secondary);
    height: 100%;
}

.approval-tabs .nav-item .nav-link.active {
    background-color: #FFFFFF;
}

.admin-stat-card {
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.admin-stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.chart-container {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.border-bottom td {
    border-bottom: 1px solid #dee2e6;
}

.table td {
    vertical-align: top;
}

.evaluation-text {
    white-space: normal;
    word-wrap: break-word;
}

.stepper-container {
    padding: 1rem;
    background-color: transparent;
}

.evaluation-stepper-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.evaluation-stepper-item {
    position: relative;
}

.stepper-button {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: #6c757d;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.evaluation-stepper-item.active .stepper-button {
    background-color: #8DC63F;
    color: white;
}

.arrow-icon {
    margin-left: 0.75rem;
    width: 16px;
    height: 16px;
    color: currentColor;
}

.approval-tabs {
    border-bottom: none;
}

.approval-tabs .nav-link {
    border: none;
    padding: 0.75rem 1.5rem;
    color: #58595B;
    background: white;
    margin-right: 4px;
    border-radius: 4px 4px 0 0;
}

.approval-tabs .nav-link.active {
    background: white;
}

.approval-tabs .nav-link.active .main-text,
.approval-tabs .nav-link.active .small-text {
    color: #5B9640;
    font-weight: bold;
}

.small-text {
    font-size: 12px;
    /* Make "Section 1" smaller */
    font-weight: normal;
    color: #6c757d;
    /* Optional: Grayish color */
}

.main-text {
    font-size: 16px;
    /* Normal text size */
    font-weight: normal;
    display: block;
    /* Ensures it appears on a new line */
    margin-top: 4px;
    /* Add spacing if needed */
}

.btn-download-xls{
    background-color: #5B9640 !important;
    color: #fff !important;
  }
.oren-text {
    color:#ff9800;
  }

  .bg-dark-grey {
    background-color: #EEEEEE;
  }
/* Reports Pages Css Start */
.reports-section ul li a{
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #58595B;
    
}
.reports-section ul li {
    list-style: none;
}
.reports-section ul li a:last-child{
    margin-bottom:0;
}
.reports-section ul li a:before{
 position:absolute;
  counter-increment: section;
  content: "" counter(section) ".";
 left:0;
 top:0;
}
.reports-section {
    counter-reset: section;
}
ul.report-list li{
    margin-bottom:10px;
}
.master-data-main {
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:10px;
}
.master-data-inputs input::placeholder,
.master-data-inputs select{
    color:#58595B !important;
    font-weight:400;
}
.master-data-inputs label {
    color: #3F3F3F;
}
.master-data-inputs {
    display: flex;
    flex-direction: column;
    justify-content: end;
}
div#kt_app_toolbar {
    padding-bottom:0 !important;
}
h1.page-heading{
    padding-bottom:5px!important; 
}
nav.bottom-spacing {
    padding-bottom: 30px;
}
/* Reports Pages Css Close*/
/* breadcrumbs */
    .breadcrumb .breadcrumb-item::after {
        content: ">" !important;
    }
    .breadcrumb {
        display: flex;
        list-style: none;
        padding: 0;
        margin-bottom: 10px;
    }
    .breadcrumb-item a {
        text-decoration: none;
        color: #58595B !important; 
    }
    .breadcrumb-item.active {
        color: #58595B !important;
    }
    .breadcrumb-separator {
        margin: 0 8px;
    }
/* Responsive adjustments */
@media (max-width: 768px) {
    .evaluation-stepper-wrapper {
        flex-wrap: wrap;
    }

    .stepper-button {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .arrow-icon {
        width: 14px;
        height: 14px;
        margin-left: 0.5rem;
    }
}

@media (min-width: 992px) {
    .login-body {
        width: 50% !important;
    }

    .login-aside {
        width: 50% !important;
    }
}

@media (min-width: 1200px) {
    .login-body {
        width: 40% !important;
    }

    .login-aside {
        width: 60% !important;
    }
}

@media (max-width: 991px) {
    .login-carousel {
        width: 100%;
        height: 400px;
    }

    ol.certification-list li {
        padding-left: 2rem;
    }
    .master-data-main {
        grid-template-columns: repeat(3, 1fr);
    }
    @media screen and (max-width:767px){
        .master-data-main {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

#formTabs .nav-link {
    padding-left: 6px;
    padding-right: 6px;
}

.btn-add-list-upload {
    font-size: 24px;
    padding: 0 calc(1.5rem + 1px) !important;
}

.bg-secondary-light-green {
    background-color: var(--secondary-light-green) !important;
}

/* DataTable No. column styling fixes */
table.dataTable th:first-child,
table.dataTable td:first-child {
    width: 60px !important;
    max-width: 60px !important;
    min-width: 60px !important;
}

/* Remove upward-facing cursor on No. column header and center align */
table.dataTable thead th:first-child {
    cursor: default !important;
    text-align: center !important;
}

/* Center align No. column content and prevent overflow */
table.dataTable td:first-child {
    text-align: center !important;
    word-break: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.reports-table .table:not(.table-bordered) tr, 
.reports-table .table:not(.table-bordered) th, .reports-table .table:not(.table-bordered) td {
    border-color: #E4e7ec !important;
    border-top-style: solid;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}
.reports-table table.dataTable th:first-child, 
.reports-table table.dataTable td:first-child {
    width: fit-content !important;
    max-width: 200px !important;
    min-width: 60px !important;
    text-align: left !important;
}

.reports-table  .dt-column-header{
    display: inline !important;
}