﻿/* begin BODY */

.isi-main-body {
    font-family: 'Nunito', sans-serif;
    background-image: url('/assets/img/bg/light-background.jpg');
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

[data-bs-theme="dark"] .isi-main-body {
    background-image: url('/assets/img/bg/dark-background.jpg');
}

/* begin BODY */



.isi-wrapper {
    padding-top: 150px;
}

.isi-aside {
    top: 180px;
    background: white;
}

[data-bs-theme="dark"] .isi-aside {
    background: #141f23;
}

.nav-box {
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

[data-bs-theme="dark"] .nav-box {
    background: #1e2d34;
    border: 0.2rem #263940 solid;
}

.nav-box:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-box-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-box-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 100%;
}

.nav-box-icon {
    width: 36px;
    height: 36px;
}

.nav-box-arrow {
    width: 24px;
    height: 24px;
    transition: fill 0.2s ease;
    content: url('/assets/img/util/blue-arrow-right.svg');
    display: inline-block;
}

[data-bs-theme="dark"] .nav-box-arrow {
    content: url('/assets/img/util/white-arrow-right.svg');
}

.nav-box-title {
    display: flex;
    color: black;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700 !important;
}

[data-bs-theme="dark"] .nav-box-title {
    color: white;
}

.home-side-box {
    background: rgba(241, 242, 244, 0.5);
    border-radius: 0;
    padding: 30px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

[data-bs-theme="dark"] .home-side-box {
    background: rgba(137, 137, 137, 0.5);
}

.home-side-box:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.row > div:not(:first-child):not(:last-child) .home-side-box {
    border-radius: 0;
}

.row > div:last-child .home-side-box {
    border-radius: 0 0 12px 12px;
}

.row > div:first-child:last-child .home-side-box {
    border-radius: 12px;
}

.row > div:first-child .home-side-box {
    border-radius: 12px 12px 0 0;
}





.home-side-box-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-side-box-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 100%;
}

.home-side-box-icon {
    width: 48px;
    height: 48px;
}

.home-side-box-text-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.home-side-box-arrow {
    width: 18px;
    height: 18px;
    transition: fill 0.2s ease;
}

.home-side-box-title {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700 !important;
}

.home-side-box-sub-title {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.home-service-title {
    padding-left: 3rem;
}

.todo-item-section {
    padding: 10px 0;
}

.todo-item-section-title {
    color: #4495AE;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700 !important;
}

.todo-item-section-body {

}

.todo-item {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.todo-item:last-child {
    border-bottom: none;
}

.todo-text {
    color: #333;
    font-size: 1rem;
}

[data-bs-theme="dark"] .todo-text {
    color: white;
}



.todo-sub-text {
    
}

.notification-item {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.notification-date {
    color: #4495AE; /* Light blue color for dates */
    font-size: 1rem;
    margin-bottom: 5px;
}

.notification-text {
    color: #333;
    font-size: 1rem;
}

[data-bs-theme="dark"] .notification-text {
    color: white;
}

.see-all {
    font-size: 1.25rem;
    text-decoration: none;
}

.home-side-box-arrow {
    transition: transform 0.3s ease;
}

.accordion-header.collapsed .home-side-box-arrow {
    transform: rotate(0deg);
}

.accordion-header:not(.collapsed) .home-side-box-arrow {
    transform: rotate(90deg);
}

.notification-counter {
    background-color: #4495AE; 
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.25rem;
}

.module-section-box {
    background: #4495AE;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: box-shadow 0.2s ease;
    min-height: 125px;
    height: 100%;
    display: flex;
    align-items: center;
}

.module-section-box:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.col-sm-12.col-md-4 > a {
    display: block;
    height: 100%;
}

.module-section-box-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Added */
}

.module-section-box-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 100%;
}

.module-section-box-arrow {
    width: 24px;
    height: 24px;
    transition: fill 0.2s ease;
}

.module-section-box-title {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700 !important;
}

[data-bs-theme="dark"] .toolbar-arrow {
    background: unset;
    color: #ffffff;
}

@media (max-width: 991px) {
    .toolbar {
        padding-top: 75px;
    }
}

.hero-company-image-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -45px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-company-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid white;
    background: #c6c6c6;
}

.hero-box-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.hero-box-content-text {
    color: black;
}

.module-section-group:not(:first-child) {
    margin-top: 2.5rem;
}

.module-section-title {
    margin-left: 30px;
    color: black;
    font-size: 2rem;
    font-weight: 900 !important;
    color: black;     
}

[data-bs-theme="dark"] .module-section-title {
    color: white;
}






/* begin NAVBAR */

.isiconsul-navbar {
    height: 130px;
    background: white
}

[data-bs-theme="dark"] .isiconsul-navbar {
    background: #141f23;
}


.isiconsul-navbar-logo {
    content: url('/assets/img/logo/isiconsul.svg');
}

[data-bs-theme="dark"] .isiconsul-navbar-logo {
    content: url('/assets/img/logo/white-isiconsul.svg');
}


/* end NAVBAR */
.nav-company-name {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

[data-bs-theme="dark"] .nav-company-name {
    color: white;
}

.nav-company-office {
    font-size: 1.2rem;
    color: #777;
    white-space: nowrap;
}

[data-bs-theme="dark"] .nav-company-office {
    color: #f0f0f1;
}

.isi-text {
    color: black;
}

[data-bs-theme="dark"] .isi-text {
    color: white;
}

.isi-text-muted {
    color: #99A1B7;
}

[data-bs-theme="dark"] .isi-text-muted {
    color: white;
}


/* begin LANDING */

.landing-box-container {
    width: 150px;
    padding-left: 0px;
}

.landing-box-container:last-child {
    margin-right: 0;
}

.service-box {
    width: 130px;
    height: 110px;
    border: none;
    border-radius: 1.5rem; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    background: white; 
    display: flex;
    justify-content: center;
    align-items: center;
}

[data-bs-theme="dark"] .service-box {
    background: #1e2d34;
}

.service-box-info {
    width: 150px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.deactivated .service-box {
    background-color: #ffffff;
    opacity: 0.3;
}

[data-bs-theme="dark"] .deactivated .service-box {
    background-color: #000;
    opacity: 0.4;
}

.deactivated .service-box-info {
    opacity: 0.3;
}

.deactivated {
    cursor: not-allowed;
}

.deactivated a {
    pointer-events: none;
}


/* end LANDING */

/* SIDEBAR */

.aside-logo-content {
    display: flex;
    justify-content: space-between;
}

.aside-logo-content-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.aside-logo-content-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
}

.aside-logo-content-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.aside-logo-content-title {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 600 !important;
}

.aside-logo-content-sub-title {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.aside-arrow-icon {
    width: 16px;
    height: 16px;
    transition: fill 0.2s ease;
}

.aside-option-title{
    font-size: 0.9rem;
}

.menu-accordion.show > .menu-sub {
    display: block;
}

.menu-accordion.show > .menu-link .aside-arrow-icon {
    transform: rotate(90deg);
}

/* end SIDEBAR */

/* begin PDFVIEWER */

#isiPdfModal {
    background-color: black;
}

#isiPdfModal .modal-dialog {
    width: 90%;
    max-width: 90%;
    height: 85vh;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#isiPdfModal .modal-content {
    background-color: transparent;
    border: none;
    height: 100%;
}

#isiPdfModal .modal-body {
    padding: 0;
}

#isiPdfModal .pdf-container {
    width: 100%;
    height: 85vh;
    -webkit-overflow-scrolling: touch;
}

#scroll-wrapper {
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
}

.external-close {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1060;
    background: transparent;
    border: none;
    padding: 1rem;
    color: white;
}
.external-close i {
    color:white;
    font-size: 2.5rem;
}

.external-print {
    position: fixed;
    right: 140px;
    top: 20px;
    z-index: 1060;
    background: transparent;
    border: none;
    padding: 1rem;
    color: white;
}

    .external-print i {
        color: white;
        font-size: 2.5rem;
    }

.external-download {
    position: fixed;
    right: 80px;
    top: 20px;
    z-index: 1060;
    background: transparent;
    border: none;
    padding: 1rem;
    color: white;
}

    .external-download i {
        color: white;
        font-size: 2.5rem;
    }

.filename-display {
    position: fixed;
    left: 20px;
    top: 24px;
    z-index: 1060;
    color: white;
    padding: 1rem;
    font-size: 1.1rem;
}

/* end PDFVIEWER */

.table-darker-checkbox tbody .inspection-entry-check {
    background-color: #a5a5a7 !important;
    border-color: #6B7280 !important;
}

    .table-darker-checkbox tbody .inspection-entry-check:checked {
        background-color: #3B82F6 !important;
        border-color: #3B82F6 !important;
    }

    .table-darker-checkbox tbody .inspection-entry-check:hover {
        background-color: #4B5563 !important;
        border-color: #9CA3AF !important;
    }

.table-darker-checkbox thead .form-check-input {
}

.flatpickr-container-full .flatpickr-wrapper {
    width: 100% !important;
}