﻿
.LoginFormSection .input-group {
    display: block;
}

    .LoginFormSection .input-group .form-control {
        width: 100%;
    }

.LoginFormSection .input-group-text {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99;
    height: 38px;
    width: 40px;
}

.hide {
    display: none;
}


.page {
    justify-content: end;
    display: flex;
}

.dataTab {
    align-items: center;
    display: flex;
    gap: 5px;
}

.gap {
    gap: 10px;
}

.FileuploadBox input {
    min-height: 45px;
}

.src-text {
    max-width: 150px;
}

.src-dropdown {
    min-width: 150px;
}

.head-width {
    width: 170px
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: normal !important;
}


.set-page-size {
    width: fit-content;
}

.navigation-tab {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
}

@media (max-width: 767px) {
    .navigation-tab {
        justify-content: left;
        margin-top: 10px;
    }

    .gap-10 {
        gap: 10px;
    }
}

.custom-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(0 0 0 / 50%);
    height: 100%;
    width: 100%;
    z-index: 99999;
    display: none;
}

    .custom-loader .loader {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }

.showing-entry h3 {
    margin-bottom: 0;
    font-size: 16px;
}

.page-per-size {
    gap: 5px;
}

@media (max-width: 991px) {
    .page-per-size, .navigation-tab {
        justify-content: center;
    }

    .footer-button-section {
        gap: 15px;
    }
}

.disabled-link {
    pointer-events: none;
    text-decoration: none;
    cursor: not-allowed;
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    box-shadow: none;
}


.login-logo img {
    width: 70%;
    margin-top: 15px;
}

.externalBody hr {
    margin-top: 0;
    margin-bottom: 0;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #279ddf !important;
    color: #fff;
}

.card-primary:not(.card-outline) > .card-header {
    background-color: #279ddf;
}

.btn-primary {
    background-color: #279ddf !important;
    border-color: #279ddf !important;
}

.card-primary.card-outline {
    border-top: 3px solid #279ddf !important;
}


/* 1. Parent Menu Alignment */
.has-treeview > .nav-link {
    /* Ensure the parent icon and text align with other main menu items */
    padding-left: 15px;
}

/* 2. Sub-menu Container */
.nav-treeview {
    display: none; /* Hidden by default until clicked */
    list-style: none;
    padding-left: 0;
    margin: 0;
    background-color: rgba(0,0,0,0.15); /* Slight background to distinguish child items */
}

    /* 3. THE MOST IMPORTANT PART: Indentation for Child Items */
    .nav-treeview > .nav-item > .nav-link {
        /* 50px pushes the text far to the right, creating the "tree" indent */
        padding: 10px 15px 10px 50px;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8); /* Slightly dimmer than parent */
        display: block; /* Ensures the whole row is clickable */
    }

        /* Remove default margins from <p> tags inside menus */
        .nav-treeview > .nav-item > .nav-link p {
            margin-bottom: 0;
        }

        /* 4. Hover and Active States */
        .nav-treeview > .nav-item > .nav-link:hover {
            color: #ffffff;
            background-color: rgba(255, 255, 255, 0.08);
            /* Optional: Add a left border to highlight active/hovered item like in your example */
            border-left: 3px solid #3498db;
            padding-left: 47px; /* Reduce padding by 3px to compensate for the border */
        }

/* Parent menu hover */
.has-treeview > .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Chevron Rotation */
.nav-item.menu-open > .nav-link .right.fa-angle-left {
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
}