/* You can add global styles to this file, and also import other style files */
@import "theme.css";

@import url('https://fonts.cdnfonts.com/css/nexa-bold');

body{
    font-family: 'Nexa', sans-serif;
}

.card-container {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 25vh);
}

.offcanvas {
    overflow: auto;
    max-height: 100vh;
}

.offcanvas.offcanvas-end {
    width: 700px;
}

.offcanvas-title {
    color: #fff; 
}

.offcanvas-header {
    background-color: var(--falcon-primary);
}

.text-header {
    color: var(--falcon-primary) !important;
}

.ngx-pagination .current {
    background: #355e3b !important;
}

.offcanvas-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: calc(1rem - 0.5rem * .5);
}

.ng-select.ng-select-single .ng-select-container {
    height: 36px !important;
    min-height: 11px !important;
    max-height: 30px !important;
}

.ng-select .ng-select-container .ng-value-container .ng-placeholder {
    color: #b6c1d2 !important;
    font-size: 0.875rem;
}

.ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
    font-size: 0.875rem !important;
    padding: 4px 10px;
}

.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value {
    font-size: 0.875rem !important;
}

.form-select:focus {
    border-color: var(--falcon-input-focus-border-color-global); 
    outline: 0;
    -webkit-box-shadow: none !important; 
    box-shadow: none !important;
}

.form-control:focus {
    outline: 0;
    -webkit-box-shadow: none !important; 
    box-shadow: none !important;
}

.error {
    color: #e63757;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 75%;
    font-weight: 400 !important;
}

.btn-close {
    font-size: 1.5rem;
    background: url(/assets/img/icons/close.png) center/1em auto no-repeat!important;
    color: #fff!important;
    opacity: 1!important;
}

.btn-close:focus {
    box-shadow: none !important;
    opacity: 1;
}

.error-select .ng-select-container {
    border-color: #e63757; 
}
/* filtter style */
.btn-filter{
    position: absolute !important;
    right: 0 !important;
}
.open > .dropdown-menu {
    display: block;
}

.dropdown-menu-dataTable {
  margin-right: 60px !important;
  transform: translate3d(-18px, -1.4px, 0px) !important;
}

.filter-dropdown-menu ::-webkit-scrollbar {
    width: 0px !important; /* Remove scrollbar space */
    background: transparent !important; /* Optional: just make scrollbar invisible */
}
/*filter*/
.filter-dropdown-menu {
    font-size: var(--falcon-body-font-size) !important;
    right: 0; 
    overflow: scroll;
    max-height: 360px;
    height: 80vh;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    opacity: 0.7;
    padding: 15px !important;
    overflow-y: hidden;
    overflow-x: hidden;
    color: var(--falcon-gray-700) !important;
}
.filter-dropdown-menu:hover {
    opacity: 1 !important;
}
.first-filter-li {
    border: none;
    text-transform: capitalize;
}
.filter-li {
    width: 350px;
    min-height: 38vh;
    max-height: 38vh;
    overflow-y: auto;
    overflow-x: hidden;
}
.filter-footer {
    position: absolute;
    padding: 15px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
}
#receiving-table >.table-responsive {
    overflow-y: auto;
    height: 58vh !important;
}
#serials-table >.table-responsive {
    overflow-y: auto;
    height: 78vh !important;
}
.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
    background-color: #355d3b2e;
 }