﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
.placeholder-bold::placeholder {
    color: #003366; /* Same as your text color */
    font-weight: 600; /* Make it bold */
    opacity: 1; /* Ensures full color, not dimmed */
}

.report-right-menu {
    position: fixed;
    right: 0;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    background: #f8f9fa;
    padding-left: 10px;
    border: 1px solid #ccc;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.2);
    z-index: 9999;
}

    .report-right-menu button {
        display: block;
        width: 35px;
        margin-top: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
        cursor: pointer;
    }

/* ===== PRINT STYLES ===== */
@media print {
    /* Make only the report visible */
    body * {
        visibility: hidden;
    }

    .printing,
    .printing * {
        visibility: visible;
    }

    /* Remove unneeded UI elements */
    .no-print,
    .btn,
    .navbar,
    .footer {
        display: none !important;
    }

    .printing {
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
    }

    table {
        width: 100% !important; /* Full width */
        table-layout: fixed; /* Columns evenly distributed */
        border-collapse: collapse;
    }

    th, td {
        word-wrap: break-word;
        padding: 5px !important;
    }

    @page {
        size: A4 portrait; /* portrait or landscape */
    }
}


#sortable-menu tr {
    cursor: move;
}

.ui-state-highlight {
    background: #f0f8ff;
    height: 2.5em;
    border: 2px dashed #2196f3;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.price-table-list tbody tr {
    cursor: pointer; /* Makes cursor a hand when hovering */
}

    .price-table-list tbody tr.selected {
        background-color: #28a745; /* Keep the highlight for selected row */
        color: white;
    }

        .price-table-list tbody tr.selected i {
            color: white;
        }

.dropdown-item:hover {
    background-color: #3498db; /* your desired color */
    color: white; /* text color on hover */
}
#fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35px; /* adjust height */
    z-index: 1050; /* higher than most elements */
}

body {
    padding-bottom: 35px !important; /* same as footer height to avoid overlap */
}
@media print {
    body * {
        visibility: hidden;
    }

    .report-to-print, .report-to-print * {
        visibility: visible;
    }

    .report-to-print {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .no-print {
        display: none !important;
    }

    /* A4 portrait */
    @page page-a4 {
        size: A4 portrait;
        margin: 20mm;
    }

    /* A5 portrait */
    @page page-a5 {
        size: A5 portrait;
        margin: 15mm;
    }

    /* Custom size 150mm x 200mm */
    @page page-custom {
        size: 150mm 200mm;
        margin: 10mm;
    }
}
.btn:focus {
    outline: none; /* remove default focus outline */
    background-color: #0056b3; /* darker shade of primary */
    color: #fff; /* keep text readable */
    box-shadow: 0 0 0 0.25rem rgba(38, 143, 255, 0.5); /* soft glow */
    transform: scale(1.05); /* slight zoom effect */
    transition: all 0.2s ease-in-out;
}

.no-caret::after {
    display: none !important;
}

.top-bar {
    white-space: nowrap; /* prevent wrapping */
}

.tab-container {
    position: relative;
    margin: 0 auto;
}

.tab-wrapper {
    overflow-x: auto;
    scrollbar-width: none; /* hide scrollbar in Firefox */
}
    .tab-wrapper > .nav-tabs {
        border: 0px !important;
    }
    .tab-wrapper > .nav-tabs .nav-item .nav-link {
        color: #000000; /* text color */
    }

        .tab-wrapper > .nav-tabs .nav-link.active {
            border-bottom: 3px solid #727cf5 !important;
            background-color: #ffffff; /* active tab */
            color: #000;
            border-bottom: 3px solid #727cf5 !important;
        }

        .tab-wrapper > .nav-tabs .nav-link:hover {
            background-color: #c7c9cd; /* active tab */
        }
    .tab-wrapper::-webkit-scrollbar {
        display: none; /* hide scrollbar in Chrome */
    }

.tab-list {
    display: flex;
    flex-wrap: nowrap;
}

.scroll-btn {
    height: 100%;
    border: none;
}


.form-header-bordered-footer {
    user-select: none; /* prevent text selection */
    caret-color: transparent; /* hide blinking cursor */
}

.show-tab > .nav-tabs .nav-item .nav-link {
    background-color: #c7c9cd; /* deactive tab */
    color: #000000; /* text color */
}

.show-tab > .nav-tabs .nav-link.active {
    border-bottom: 3px solid #727cf5 !important;
    background-color: #ffffff; /* active tab */
    color: #000;
}

/* Optional: change hover/focus border color */
.show-tab > .nav-tabs .nav-link:hover {
    border-bottom: 3px solid #727cf5 !important;
}

thead.center-no-bold th {
    text-align: center;
    font-weight: normal;
    vertical-align: middle;
}

.push-document-btn {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.4);
    transition: all 0.2s ease-in-out;
}

    .push-document-btn:hover {
        background: linear-gradient(to right, #0056b3, #004085);
        box-shadow: 0 4px 10px rgba(0, 91, 187, 0.6);
        transform: scale(1.02);
    }

    .push-document-btn i {
        margin-right: 5px;
    }

.extra-sm {
    height: 25px;
    font-size: 0.75rem;
    padding: 0.125rem 0.25rem;
}

.vertical-border-table {
    border-collapse: collapse;
}
    .vertical-border-table th,
    .vertical-border-table td {
        border-left: 1px solid black !important; /* Left border */
        border-right: 1px solid black !important; /* Right border */
    }

.resend-link {
    background: none;
    border: none;
    color: #007bff; /* Bootstrap's default link color */
    text-decoration: underline;
    padding: 0;
    font-size: inherit;
    cursor: pointer;
}

    .resend-link:hover {
        color: #0056b3; /* Darker shade for hover effect */
        text-decoration: none; /* Optional: Remove underline on hover */
    }

    .resend-link:focus {
        outline: none; /* Remove focus outline for better aesthetics */
    }

.pit-img {
    max-width: 100px;
    max-height: 100px;
    border: 2px solid #ddd; /* Light border for a subtle frame */
    border-radius: 10px; /* Rounded corners */
    padding: 5px; /* Inner spacing */
    background-color: #f9f9f9; /* Light background */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
    transition: transform 0.3s ease; /* Smooth scaling on hover */
}

.report-header-logo {
    width: 75px;
    height: 75px;
}
.pit-img:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

.modal-header {
    background-color: LimeGreen;
}
.form-header-bordered .nav-link.active {
    color: #000000 !important;
    background-color: transparent !important;
    font-weight: 500;
}
nav .form-header-bordered {
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
}
.select2-results__message--bold {
    font-weight: bold;
}
.select2-container--bootstrap4 .select2-selection--multiple {
    flex-wrap: wrap !important;
    min-height: 40px; /* Minimum height */
    height: auto !important;
    max-height: 120px; /* Maximum height */
    overflow-y: auto;
    padding: 3px;
}
.pit-select2-heigh {
    height: calc(1.5em + .5rem + 2px) !important;
}
.select2-selection__choice__remove {
    border: 0px !important;
    background-color: transparent;
    font-weight: bold !important;
}
.no-td-padding-margin td {
    padding: 0;
    margin: 0;
}
.pit-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #3c4b64;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0px 4px rgba(0,0,0,.12);
    margin-bottom: 5px;
}

.pit-main-backgroup-color {
    background-color: rgba(235, 237, 239,1) !important;
}

.pit-category-box {
    background: #fff;
    border: 1px solid #777070;
    border-radius: .3rem;
    padding: 10px 12px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

    .pit-category-box:hover {
        background: #dee2e6;
        box-shadow: 0 2px 6px rgba(0,0,0,.08);
    }

/* Icon area */
.category-icon-wrap {
    flex: 0 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: #2d5be3; /* Windows blue */
}

/* Text area */
.category-text-wrap {
    margin-left: 10px;
    flex-grow: 1;
}

.category-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #000;
    white-space: normal;
    word-break: break-word;
}
.category-description {
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
}
.truncate-flex {
    min-width: 0; /* allow shrinking inside flex */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#menu-control-panel .category-link {
    text-decoration: none !important;
    color: inherit;
}

    #menu-control-panel .category-link:hover {
        text-decoration: none !important;
        color: inherit;
    }


/* Responsive adjustments */
@media (max-width: 576px) {
    .pit-category-box {
        padding: 8px;
    }

    .category-name {
        font-size: 0.85rem;
    }
}


.pit-register-group {
    border-left: 0px !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}
.pit-register-group-right {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.normal-group .select2-selection--single {
    border-left: 0px !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}
@media (max-width: 768px) { /* Adjust max-width as per your "dm" screen size definition */
    .normal-group .select2-selection--single {
        border: 1px solid #4d5156 !important;
        border-top-left-radius: 0.2rem !important;
        border-bottom-left-radius: 0.2rem !important;
    }
}
.input-group .last-group-tag .select2-selection--single {
    border-left: 0px !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.select2-container--bootstrap4 .select2-selection .pit-register-group {
    border-left: 0px !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #4d5156;
    border-radius: .3rem !important;
}

.pit-register-form .form-control {
    border: 1px solid #4d5156;
    height: 31px !important;
}
@media (max-width: 768px) { /* Adjust breakpoint as needed */
    .pit-register-form .form-control {
        height: 30px !important;
    }
}
.select2-container--bootstrap4 .select2-selection {
    border: 1px solid #4d5156;
}

.pit-menu-height {
    min-width: 150px;
    height: calc(100vh - 35px);
    background-color: #3c4b64;
}

.scroll-container {
    height: calc(100vh - 35px); /* set a fixed height to enable scrolling */
    overflow-y: auto; /* enable vertical scrolling */
}

.scroll-container-modal {
    max-height: 90vh; /* set a maximum height for the container */
    overflow-y: auto; /* enable vertical scrolling when necessary */
}

.pit-small-input {
    max-width: 130px;
}

.pit-register-form {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    color: #333 !important;
    /*background-color: #f2f2f2 !important;*/
}

.menu-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #443ea2;
}


label {
    pointer-events: none;
}

    label:focus, button:focus, a:focus {
        outline: none;
    }

.noborder tbody td {
    border: none !important;
}

#loadingDiv {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999; /* Ensure it's above other elements */
    justify-content: center;
    align-items: center;
}

.table-unicode-nepali {
    font-family: "Kalimati" !important;
    font-size: 14px !important;
    line-height: 1em;
}

.table-unicode-nepali-Utsaah {
    font-family: "Utsaah" !important;
    font-size: 11px !important;
    line-height: 1em;
}

.table-data-normal {
    font-size: 12px !important;
}

.table-data-Leelawadee {
    font-family: "Leelawadee UI" !important;
    font-size: 13px !important;
}

.table-data-Leelawadee-14 {
    font-family: "Leelawadee UI" !important;
    font-size: 14px !important;
}

.table-data-Leelawadee-15 {
    font-family: "Leelawadee UI" !important;
    font-size: 15px !important;
}

.table-data-arial {
    font-family: "Arial" !important;
    font-size: 12px !important;
}

.table-data-arial-14 {
    font-family: "Arial" !important;
    font-size: 14px !important;
}

.table-data-arial-16 {
    font-family: "Arial" !important;
    font-size: 16px !important;
}

.table-data-kalimati {
    font-family: "Kalimati" !important;
    font-size: 11px !important;
}

.table-data-kalimati-12 {
    font-family: "Kalimati" !important;
    font-size: 12px !important;
}

.table-data-kalimati-13 {
    font-family: "Kalimati" !important;
    font-size: 13px !important;
}

.table-data-kalimati-14 {
    font-family: "Kalimati" !important;
    font-size: 14px !important;
}

#spinner-div {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.staff-flex-image {
    width: 125px;
    height: 125px;
    position: relative;
    display: block;
}

.valid-summary ul {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.form-header-bordered {
    border-bottom: 2px solid #727cf5;
    font-weight: 500;
}

.form-header-bordered-footer {
    border-top: 2px solid #727cf5;
    font-weight: 500;
}

.btn-primary {
    -webkit-box-shadow: 0 2px 6px 0 rgba(114,124,245,.5);
    box-shadow: 0 2px 6px 0 rgba(114,124,245,.5);
}
/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f5f5f5;
    text-align: center;
    border-top: 1px solid #ddd;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.pit-form-signin {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.pit-form-register {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.bd-navbar {
    min-height: 4rem;
    background-color: #563d7c;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
}

.validation-summary-errors ul {
    margin: .75rem;
    padding: 0px;
}

    .validation-summary-errors ul li {
        list-style: none;
    }

.custom-scrollbar {
    top: 0;
    right: 0;
    bottom: 0;
}

    .custom-scrollbar::-webkit-scrollbar {
        width: 5px; /* Customize the width of the scrollbar */
    }

    .custom-scrollbar::-webkit-scrollbar-thumb {
        background-color: #888; /* Customize the color of the scrollbar thumb */
        border-radius: 6px;
    }

    .custom-scrollbar::-webkit-scrollbar-track {
        background-color: transparent; /* Make the scrollbar background transparent */
        border-radius: 6px;
    }

.nav-side-menu {
    font-family: "Leelawadee UI", "system-ui", sans-serif;
    overflow: auto;
    top: 0px;
    color: #e1ffff;
}

    .nav-side-menu .brand {
        background-color: rgba(0, 0, 21, 0.2);
        display: block;
        align-items: center;
        justify-content: center;
        height: 47px;
    }

    .nav-side-menu .toggle-btn {
        display: none;
    }

    .nav-side-menu ul,
    .nav-side-menu li {
        list-style: none;
        padding: 0px;
        margin: 0px;
        line-height: 35px;
        cursor: pointer;
    }

.menu-list {
    max-height: 88vh;
    overflow: hidden;
    position: relative;
    transition: overflow 0.3s; /* Add smooth transition for better user experience */
}

    .menu-list:hover {
        overflow: auto;
    }

#menu-content li .arrow:before {
    font-family: FontAwesome;
    font-size: 11px;
    content: "\f078";
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    float: right;
}

#menu-content li .large:before {
    font-family: FontAwesome;
    content: "\f009";
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    float: right;
}

.nav-side-menu ul .active,
.nav-side-menu li .active {
    background-color: #4f5b69;
}

.nav-side-menu ul .sub-menu li.active,
.nav-side-menu li .sub-menu li.active {
    color: #d19b3d;
}

    .nav-side-menu ul .sub-menu li.active a,
    .nav-side-menu li .sub-menu li.active a {
        color: #d19b3d;
    }

.nav-side-menu ul .sub-menu li,
.nav-side-menu li .sub-menu li {
    border: none;
    line-height: 25px;
    margin-left: 0px;
    background-color: rgba(0, 0, 21, 0.2);
}

    .nav-side-menu ul .sub-menu li:hover,
    .nav-side-menu li .sub-menu li:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

.nav-side-menu li {
    padding-left: 0px;
}

    .nav-side-menu li a {
        text-decoration: none;
        color: #e1ffff;
    }

        .nav-side-menu li a i {
            padding-left: 10px;
            width: 20px;
            padding-right: 25px;
        }

        .nav-side-menu li a:hover {
            background-color: #4f5b69;
        }

@media (max-width: 767.98px) {
    .pit-small-input {
        max-width: 100%; /* Disable min-height for mobile view */
    }
    #pit-menu {
        display: none;
        position: fixed;
        top: 0;
        bottom: 0;
        z-index: 1031;
        box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
        width: 240px;
    }
    .menu-closed {
        display: flex !important;
    }
}