/* new version */
/* global components */
label {
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--bs-dark);
    margin-bottom: 5px;
}

.helptext {
    color: var(--bs-secondary);
}

.errorlist {
    color: var(--bs-danger);
    font-weight: 500;
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.thumbnail_image {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.table_image {
    height: 40px;
    width: 40px;
    object-fit: cover;
}

.profile_image {
    height: 200px;
    width: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.table_800 {
    width: 100%;
    min-width: 800px;
}


/* Auth form css */
.auth_form_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #2c3e50;
}

.auth_form {
    max-width: 500px;
    width: 100%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.85);
}

/* End of auth for css */


/* fixed float button for small device */

.fixed-buttons {
    position: fixed;
    right: 2px;
    /* Adjust as needed */
    bottom: 5px;

    /* Center vertically */
    /* transform: translateY(-50%); */
    flex-direction: column;
    z-index: 1050;
    /* Ensure it's above other content */
}


/* design to display ck editor content */
.ck-content {
    font-size: 0.9rem;
    /* adjust as needed */
    line-height: 1.4;
    color: #333;
}

/* Paragraph spacing */
.ck-content p {
    margin-bottom: 1rem;
}

/* Headings inside content */
.ck-content h1,
.ck-content h2,
.ck-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #222;
}

/* Tables styled with Bootstrap-like look */
.ck-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.ck-content table,
.ck-content th,
.ck-content td {
    border: 1px solid #dee2e6;
}

.ck-content th,
.ck-content td {
    padding: 0.5rem;
    vertical-align: top;
}

.ck-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Blockquotes */
.ck-content blockquote {
    border-left: 4px solid #ccc;
    margin: 1rem 0;
    padding-left: 1rem;
    color: #666;
    font-style: italic;
}

/* Lists */
.ck-content ul,
.ck-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* end of design of ck editor content */


/* end of new version */

/* old version */
/* .body {
    padding: 10px;
} */

.section_wrapper {
    border: 1px solid #ddd;
    padding: 15px;
}

.section_title {
    font-size: 20px;
    font-weight: 500;
    margin-left: 10px;
}

.redtext {
    color: red;
}

.subtitle {
    font-size: 12px;
}

.custom-disabled-btn {
    background-color: #6c757d;
    font-weight: bold;
    opacity: 1;
    color: white;
    border: 2px solid #6c757d;
    cursor: not-allowed;
}




.employee_info p {
    margin: 0px;
}

.inv_info_section {
    margin: 0;
}


.home_cards {
    margin: 10px;
}

/* for reporting page */

/* Flexbox layout for the body on large screens */
.reporting-body {
    margin: 0;
    padding: 0;
}

/* Sidebar styling for large screens */
.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: white;
    padding: 10px;
    height: 100vh;
    position: fixed;
    top: 0;
    overflow-y: auto;
    z-index: 1045;
}

.offcanvas-body {
    background-color: #2c3e50;
}

/* Main content styling */
.main-content {
    padding: 20px;
    padding-left: 270px;
}

/* Adjustments for smaller screens */
@media (max-width: 991.98px) {
    .sidebar {
        display: none;
    }

    .main-content {
        padding-left: 20px;
    }
}

.hamburger-button {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}


.ham_bar {
    width: 20px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
}


.sidebar_main_menu {
    display: block;
    /* Make it a block element for full width */
    font-size: 1.5rem;
    /* Font size for the title */
    color: white;
    /* Text color */
    text-decoration: none;
    /* Remove underline */
    padding: 10px 15px;
    /* Padding for spacing */
    background-color: transparent;
    /* Transparent background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Optional bottom border */
}

/* Optional hover effect for the title */
.sidebar_main_menu:hover {
    background-color: rgba(255, 255, 255, 0.1);
    /* Light overlay on hover */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    /* Change border on hover */
}



/* Target list-group items only within the sidebar */
.sidebar .list-group-item,
.offcanvas-body .list-group-item {
    background-color: transparent;
    /* Transparent background */
    color: white;
    /* White text color */
    border-color: transparent;
    /* No borders */
}

/* Styling for links inside list-group items */
.sidebar .list-group-item .nav-link,
.offcanvas-body .list-group-item .nav-link {
    color: white;
    /* White text color for links */
    text-decoration: none;
    /* Remove underline */
}

/* Hover effect for better feedback */
.sidebar .list-group-item:hover,
.offcanvas-body .list-group-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    /* Subtle overlay on hover */
}