﻿
.nv-border-box {
    flex: 1 1 auto; /* flex-fill */
    padding: 0.5rem; /* p-2 */
    margin-top: 0.5rem; /* my-2 */
    margin-bottom: 0.5rem; /* my-2 */
    border: 1px solid #dee2e6; /* border + border-1 (Bootstrap's default border color) */
}

.nv-border-simple-box {
    flex: 1 1 auto; /* flex-fill */
    padding: 0.5rem; /* p-2 */
    margin-top: 0; /* my-2 */
    margin-bottom: 0; /* my-2 */
    border: 1px solid #dee2e6; /* border + border-1 (Bootstrap's default border color) */
}

.nv-page-list-main {
    /*    background-color:red;
    border:double 4px black;*/
}

.nv-edit-form {
    background-color: #f8f9fa; /* bg-light */
    border-radius: 0.375rem; /* rounded */
    margin-top: 0.5rem; /* my-2 = margin-top & bottom 0.5rem */
    margin-bottom: 0.5rem;
    padding: 0.5rem; /* p-2 = 0.5rem on all sides */
}

.nv-page {
    /* shadow */
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.15);
    /* background */
    background-color: #fff;
    /* rounded corners */
    border-radius: 0.375rem; /* = 6px */
    /* margins: my-4 → top & bottom */
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    /* padding: p-4 → all sides */
    padding: 1.5rem;
}

.nv-border-box {
    /* border */
    /*border: 1px solid #212529;*/ /* Bootstrap “border-dark” color */
    border: 1px solid #dee2e6; /* Bootstrap's default border color */
    /* rounded corners */
    border-radius: 0.375rem; /* = 6px */
    /* padding (p-4) */
    padding: 1rem;
    /* margins (my-3 = top & bottom) */
    margin-top: 1rem;
    margin-bottom: 1rem;
        background-color: #fcfdfd;
/*    background-color: #f5f5f5;*/
}

.nv-border-box-no-bg {
    /* border */
    border: 1px solid #dee2e6; /* Bootstrap's default border color */
    /* rounded corners */
    border-radius: 0.375rem; /* = 6px */
    /* padding (p-4) */
    padding: 1.5rem;
    /* margins (my-3 = top & bottom) */
    margin-top: 1rem;
    margin-bottom: 1rem;
        
}

.nv-border-box-dark-bg {
    /* border */
    border: 1px solid #dee2e6; /* Bootstrap's default border color */
    /* rounded corners */
    border-radius: 0.375rem; /* = 6px */
    /* padding (p-4) */
    padding: 1.5rem;
    /* margins (my-3 = top & bottom) */
    margin-top: 1rem;
    margin-bottom: 1rem;
    background: #848884;
}


.nv-date-picker {
    flex: 0 1 10%;
    min-width: 10rem; /* don’t get smaller than 40px */
    max-width: 15rem; /* don’t get larger than 100px */
}

.nv-category {
    flex: 0 1 20%;
    min-width: 20rem; /* don’t get smaller than 40px */
    max-width: 40rem; /* don’t get larger than 100px */
}

.nv-buttons-line {
    display: flex;
    justify-content: flex-end;
    gap: 1rem; /* Adjust this value if your project's Bootstrap gap-3 is different */
}

.nv-width-short {
    width: 200px;
}


/* Sidebar sizing */
#sidebar-wrapper {
    min-width: 280px;
    max-width: 280px;
    height: 100vh;
    transition: margin 0.25s ease-out;
}

.sb-collapsed #sidebar-wrapper {
    margin-left: -280px;
}

/* Tree UI Tweaks */
.hover-effect:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.cursor-pointer {
    cursor: pointer;
}

.nav-link.active {
    background-color: #0d6efd !important;
    color: white !important;
    border-radius: 4px;
}

/* Icon rotations for chevron */
.transition-icon {
    transition: transform 0.2s ease-in-out;
    font-size: 10px;
    display: inline-block;
}

/* Ensure Syncfusion icons render if used */
.e-icons {
    font-family: 'e-icons' !important;
}