@import url('https://fonts.googleapis.com/css2?family=Kodchasan:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

body {
    font-size: 15px;
    color: #1a6f49;
    font-family: "Kodchasan", sans-serif;
}

a {
    color: #1a6f49;
    text-decoration: none;
}

.text-primary {
    color: #1a6f49 !important;
}

.para {
    font-size: 20px;
}

.title {
    font-size: 36px;
    font-weight: 600;
}

.title-sm {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #1a6f49;
}

.btn {
    font-size: 18px;
    font-weight: 400;
    padding: 12px 30px;
    border-radius: 12px;
}

.btn .icon {
    width: 30px;
    height: auto;
    object-fit: contain;
    margin-right: 10px;
}

.btn.lg {
    padding: 20px 40px;
    font-size: 20px;
}

.btn-check:checked+.btn:focus-visible,
.btn.active:focus-visible,
.btn.show:focus-visible,
.btn:first-child:active:focus-visible,
:not(.btn-check)+.btn:active:focus-visible {
    box-shadow: none;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active,
.btn:hover,
.btn:focus-visible {
    color: var(--bs-btn-active-color);
    background-color: #1d935e;
    border-color: #1d935e;
}

.btn-primary {
    background: #1a6f49;
}


.auth-wrapper {
    display: flex;
}

.auth-wrapper .image-wrapper {
    width: 50%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
}

.auth-wrapper .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-wrapper .form-wrapper {
    width: 50%;
    margin-left: auto;
    display: grid;
    align-content: center;
    height: 100vh;
}

.auth-wrapper .form-wrapper .inner-wrap {
    overflow: auto;
    max-width: 660px;
    width: 100%;
    text-align: left;
    margin: 0 auto;
    padding: 16px;
}

.auth-wrapper .form-wrapper .inner-wrap .logo {
    max-width: 240px;
    display: block;
    margin: 0 auto 60px;
}

.auth-wrapper .form-wrapper .inner-wrap p {
    font-weight: 300;
}

.auth-wrapper .form-wrapper .inner-wrap .title {
    font-size: 24px;
    font-weight: 300;
}

.auth-wrapper .form-wrapper .btn-primary {
    width: 100%;
    background: linear-gradient(90deg, #1a6f49, #9BCB41);
}

.auth-wrapper .form-wrapper .btn-primary:hover {
    width: 100%;
    background: linear-gradient(90deg, #9BCB41, #1a6f49);
}

.input-group {
    display: block;
    border: 2px solid #1a6f49;
    border-radius: 12px;
    padding: 8px 14px;
    padding-bottom: 12px;
}

.input-group .form-control {
    width: 100%;
    border: none;
    padding: 0;
}

.input-group label {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.form-control:focus {
    box-shadow: none;
}

.form-group {
    margin-bottom: 24px;
}

.main-wrapper {
    padding: 30px 60px;
}

.header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
}

.header .logo {
    max-width: 350px;
    width: 100%;
}

.header .logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.header .nav-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.iconbtn {
    width: 75px;
    height: 65px;
    background: #1a6f49;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.iconbtn img {
    width: 24px;
    height: 24px;
}

.profiledropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    height: 65px;
    background: #1a6f49;
    border-radius: 10px;
}

.profiledropdown img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.profiledropdown h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 2px;
    font-weight: 500;
}

.profiledropdown p {
    color: #fff;
    margin-bottom: 0;
    font-size: 10px;
}


.menu-icon {
    background: transparent;
    border: none;
    display: none;
}

.menu-icon:focus-visible {
    outline: none;
}

.menu-icon img {
    width: 34px;
    height: auto;
    object-fit: contain;
}

.menu-wrapper {
    max-width: 220px;
    width: 100%;
    padding-top: 5vw;
    display: grid;
    gap: 5vw;
}

.menu-wrapper .menu-links {
    display: grid;
    gap: 10px;
}

.menu-wrapper .menu-links a {
    font-weight: 600;
    border-radius: 6px;
    padding: 12px 22px;
}

.menu-wrapper .menu-links a.active {
    background: #1a6f49;
    color: #fff;
}

.menu-wrapper .menu-links .logout {
    color: #FF0000;
}

.inner-wrapper {
    display: flex;
    gap: 5vw;
}

.inner-wrapper .content-wrapper {
    width: 100%;
}

.siderbar {
    max-width: 200px;
    width: 100%;
}


.kpis {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.kpis .box {
    width: 100%;
    background: #1a6f4945;
    padding: 16px 30px;
    border-radius: 10px;
}

.kpis .box h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}


.icon-30 img {
    width: 30px;
    height: auto;
    object-fit: contain;
}

.kpis .box .txt {
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.kpis .box .txt .big {
    font-size: 48px;
    font-weight: 700;
}

.kpis .box .txt .big1 {
    font-size: 32px;
    font-weight: 700;
}

.card {
    background: #1a6f494d;
    border: 1px solid #cbc1dd;
}

.card-body {
    padding: 22px;
}

.dashboard-charts {
    background: #bebebe57;
    border-radius: 10px;
    padding: 22px;
}

.chart-container {
    height: 160px;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.chart-year-labels {
    display: grid;
    height: 100%;
    gap: 20px;
    border-right: 1px solid #1a6f49;
    padding-right: 20px;
    justify-content: space-around;
    align-content: space-between;
}

.year-label {
    position: relative;
}


.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    height: 100%;
    width: 100%;
    padding: 0 30px;
    position: relative;
    border-bottom: 1px solid #1a6f49;
}


.bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 100%;
    width: 100%;
}

.bar-container:hover {
    transform: translateY(-2px);
}

.bar {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
}

.bar-fill {
    width: 100%;
    border-radius: 10px 10px 0 0;
    background: #543090;
    transition: all 0.3s ease;
    transform-origin: bottom;
    cursor: pointer;
}

.bar-fill.toyota {
    height: 85%;
}

.bar-fill.nissan {
    height: 45%;
}

.bar-fill.bmw {
    height: 35%;
}

.bar-fill.benz {
    height: 70%;
}

.bar-fill.audi {
    height: 65%;
}

.bar-label {
    font-size: 1vw;
    color: #fff;
    font-weight: 400;
    text-align: center;
}

.table-select {
    background: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    color: #000;
    font-weight: 500;
    appearance: none;
    background-image: url('../images/down.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 88%;
    padding-right: 30px;
}

.table-select:focus-visible {
    outline: none;
}

.table>:not(caption)>*>* {
    background: transparent;
    border: none;
}
span.dt-column-order
 {
    display: none;
}
.card .table th {
    background: #1a6f49;
    color: #fff;
}

.card .table td {
    color: #000;
    padding: 6px 20px;
}

.table th , table.dataTable>thead>tr>th{
    background: #D9D9D9;
    padding: 18px 20px;
    font-size: 18px;
    color: #1a6f49;
    font-weight: 400;
    white-space: nowrap;
}
table.dataTable>thead>tr>th {
    border-bottom: none;
}
.table th:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.table th:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.table {
    margin: 20px 0;
}

.table tr td,table.dataTable>tbody>tr>td {
    padding: 10px 20px;
    color: #1a6f49;
}

.table-dropdown .dropdown-toggle {
    background: transparent;
    border: none;
    padding: 0;
}

.table-dropdown .dropdown-toggle:after {
    display: none;
}

.table-dropdown .dropdown-menu {
    background: #EFEFEF;
}

.table-dropdown .dropdown-menu .dropdown-item {
    color: #1a6f49;
    font-size: 14px;
    padding: 6px 14px;
}

.position-relative .modal {
    position: absolute;
}

.position-relative .modal .modal-fullscreen {
    width: 100%;
}

.modal-backdrop.show {
    display: none;
}

.modal-header {
    border: none;
}

.modal-fullscreen .modal-content {
    background: #DBCCF4;
    border-radius: 10px;
    border: 1px solid #BEBEBE;
}

.information-modal {
    max-width: 1200px;
    margin: 0 auto;
}

.information-modal .title {
    text-align: center;
    margin-bottom: 30px;
}

.dt-length {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}

.dt-container .dt-length select {
    background: #fff;
    padding: 10px 20px !important;
    border-radius: 4px;
    color: #000;
    font-weight: 500;
    appearance: none;
    background-image: url(../images/down.svg);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 88%;
    padding-right: 30px;
    height: auto;
}

.dt-container .dt-length select:focus-visible {
    outline: none;
}

.dt-search {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-search input:focus-visible {
    outline: none;
}

.letter-cover {
    position: relative;
    margin-bottom: 30px;
}

.letter-cover img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.letter-cover .heading {
    font-weight: 700;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    color: #fff;
    font-size: 5vw;
    width: 100%;
    text-align: center;
}

.letter-cover .heading.md {
    font-size: 2.2vw;
}

.form-control {
    padding: 18px 20px;
    border: 2px solid #1a6f49;
}

.select-control {
    background: #fff;
    padding: 18px 20px;
    border: 2px solid #1a6f49;
    border-radius: 6px;
    color: #000;
    font-weight: 500;
    appearance: none;
    background-image: url(../images/down.svg);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: 95%;
    padding-right: 50px;
    height: auto;
    width: 100%;
}

.select-control.bg-purple {
    background-image: url(../images/down-white.svg);
    background-size: 16px;
    background-color: #543090;
    border-color: #543090;
    color: #fff;
}

.select-control.bg-purple option {
    color: #000;
}

label {
    margin-bottom: 8px;
}

.form-select {
    padding: 20px;
    border: 2px solid #1a6f49;
}

.form-select:focus {
    box-shadow: none;
    border-color: #543090;
}

select:-internal-list-box:focus option:checked {
    background-color: #000 !important;
}


.timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

/* Main line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    border-radius: 16px;
    height: 100%;
    background: #1a6f49;
}

.timeline-item {
    position: relative;
    margin: 6vw 0;
}

.timeline-item:first-child {
    margin-top: 2vw;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Dots */
.timeline-dot {
    position: absolute;
    left: 50%;
    /* top: 50%; */
    /* transform: translate(-50%, -50%); */
    transform: translateX(-50%);
    /* transform: translate(-50%, -50%); */
    top: 10px;
    width: 30px;
    height: 30px;
    background: #1a6f49;
    opacity: 0;
    border-radius: 50%;
    z-index: 2;
}

/* Active dot */
.timeline-dot.active {
    background: #1a6f49;
    opacity: 1;
}

/* Content boxes */
.timeline-content {
    width: 40%;
}



/* Left alignment */
.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    text-align: right;
}

/* Right alignment */
.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-title {
    font-size: 30px;
    font-weight: 600;
    color: #1a6f49;
}


.timeline-date,
.timeline-description {
    font-size: 20px;
    color: #1a6f49;
    margin-bottom: 10px;
}

.timeline-description {
    margin-bottom: 0;
}

@media (max-width: 1399px) {
    .auth-wrapper .form-wrapper .inner-wrap {
    max-width: 550px;
    }
    .kpis .box h4 {
        font-size: 18px;
    }

    .kpis .box .txt {
        font-size: 16px;

    }

    .kpis .box .txt .big {
        font-size: 32px;
    }

    .kpis .box .txt .big1 {
        font-size: 32px;
    }
}

@media (max-width: 1199px) {
    .table th , table.dataTable>thead>tr>th {
        font-size: 16px;
        padding: 12px 12px;
    }

    .table tr td , table.dataTable>tbody>tr>td {
        padding: 6px 12px;
        font-size: 12px;
    }

    .main-wrapper {
        padding: 16px;
    }

    .para {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .letter-cover .heading.md {
        font-size: 28px;
    }

    .letter-cover .heading {
        font-size: 30px;
    }

    .siderbar {
        width: 0;
    }

    .inner-wrapper {
        gap: 0;
    }

    .para {
        font-size: 16px;
    }

    .flex-logo {
        display: flex;
        gap: 16px;
        align-items: center;
    }

    .profiledropdown img {
        width: 30px;
        height: 30px;
    }

    .profiledropdown h4 {
        font-size: 14px;
    }

    .profiledropdown {
        padding: 8px 16px;
        height: 50px;
    }

    .iconbtn img {
        width: 20px;
        height: 20px;
    }

    .iconbtn {
        width: 60px;
        height: 55px;
    }

    .header .logo {
        max-width: 240px;
    }

    .menu-icon {
        display: inline-block;
    }

    .auth-wrapper {
        display: block;
    }

    .auth-wrapper .image-wrapper {
        display: none;
    }

    .auth-wrapper .form-wrapper {
        width: 100%;
    }

    .offcanvas-header .logo {
        max-width: 240px;
        width: 100%;
    }

    .offcanvas-header .logo img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .menu-wrapper {
        padding-top: 0;
    }

    .menu-wrapper .menu-links a {
        padding: 8px 16px;
    }

    .menu-wrapper .menu-links {
        gap: 2px;
    }
}

@media (max-width: 767px) {
    .timeline-title {
        font-size: 22px;
    }

    .timeline-date,
    .timeline-description {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 4px;
        transform: none;
    }

    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
    }

    .title {
        font-size: 28px;
    }

    .header .nav-wrap {
        width: 100%;
        justify-content: flex-end;
    }

    .kpis {
        flex-wrap: wrap;
    }

    .btn {
        font-size: 16px;
        padding: 10px 20px;
        border-radius: 8px;
    }

    .btn.lg {
        padding: 16px 22px;
        font-size: 18px;
    }

    .auth-wrapper .form-wrapper .inner-wrap .logo {
        max-width: 180px;
    }

    .auth-wrapper .form-wrapper .inner-wrap .title {
        font-size: 20px;
    }
}

/* Filters Section Styling */
.filters-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(84, 49, 142, 0.1);
    border: 1px solid #f0f0f0;
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: end;
    justify-content: space-between;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    flex: 1;
}

.filter-label {
    font-size: 14px;
    font-weight: 500;
    color: #1a6f49;
    margin-bottom: 8px;
    font-family: "Kodchasan", sans-serif;
}

.filter-select,
.filter-input {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #1a6f49;
    background: #fff;
    transition: all 0.3s ease;
    font-family: "Kodchasan", sans-serif;
}

/* Dropdown arrow styling */
.filter-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6f49' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #1a6f49;
    box-shadow: 0 0 0 3px rgba(84, 49, 142, 0.1);
}

/* Hover effect for dropdown */
.filter-select:hover {
    border-color: #1a6f49;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23473071' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Toggle Switch Styling */
.toggle-switch {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 8px;
}

.toggle-input {
    display: none;
}

.toggle-label {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
    cursor: pointer;
    background: #e0e0e0;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-input:checked + .toggle-label {
    background: #1a6f49;
    border-color: #1a6f49;
}

.toggle-input:checked + .toggle-label .toggle-slider {
    transform: translateX(28px);
    background: #fff;
}

.toggle-input:focus + .toggle-label {
    box-shadow: 0 0 0 3px rgba(84, 49, 142, 0.1);
}

.toggle-label:hover {
    border-color: #1a6f49;
}

.toggle-input:checked + .toggle-label:hover {
    background: #1d935e;
    border-color: #1d935e;
}

.filter-select option {
    color: #1a6f49;
    padding: 8px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 8px;
    font-weight: 500;
}

.btn-secondary {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #1a6f49;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #1a6f49;
}

.export-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    filter: brightness(0) invert(1);
}

/* Mobile Responsive Design for Filters */
@media (max-width: 768px) {
    .filters-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .filter-group {
        min-width: unset;
        width: 100%;
    }
    
    .filter-actions {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }
    
    .filter-actions .btn {
        flex: 1;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .filters-section {
        padding: 15px;
        margin: 15px 0;
    }
    
    .filter-select,
    .filter-input {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .filter-label {
        font-size: 13px;
    }
    
    .btn-sm {
        padding: 8px 16px;
        font-size: 13px;
    }
}