﻿body {
    background-color: #f8f9fa;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-size: 14px;

    font-style: normal;
    font-family: verdana;
}

.card {
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.table thead {
    background-color: #001f3f;
    color: white;
}

.btn-primary {
    background-color: #001f3f;
    border: none;
}

    .btn-primary:hover {
        background-color: #003366;
    }

.checkbox-header {
    transform: scale(1.2);
}

/* Fixed top filter bar */
.filter-bar {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}
#gvSchemes {
    background-color: #0E2A47

}
.scheme-table th {
    background-color: #203864 !important;
    color: white !important;
    font-weight: 600;
    padding: 4px 4px !important; /* Reduced height */
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: none !important;
}

/* Scrollable grid area */
.scrollable-table {
    flex-grow: 1;
    overflow-y: auto;
    max-height: calc(100vh - 210px); /* Adjust height so footer remains visible */
}

/* Fixed bottom bar */
.fixed-bottom-bar {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 10px 15px;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
}

.width-95 {
    width: 95%;
}
.div-style {
    display: flex; 
    align-items: center;
}
.lbl-style {
    width: 5%; 
    margin-left: 5px; 
    white-space: nowrap;
}
.padding-556 {
    padding-left: 556px;
}
.width-106 {
    width: 106px;
}
.scheme-table th,
.scheme-table td {
    text-align: center !important;
    vertical-align: middle !important; /* ⬅️ vertically center */
}

.checkbox-header {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Centers inside cell */
    transform: scale(1.1); /* Optional resize */
}
.ajax__calendar_container {
    z-index: 99999 !important;
    position: absolute !important;
    background: #fff !important;
}
.opacity-0{
    opacity:0;
}
.fixed-bottom-bar {
    z-index: 1; /* footer below calendar */
}
.ajax__calendar_container,
.ui-datepicker {
    z-index: 9999 !important;
}
.ajax__calendar_container {
    z-index: 9999 !important;
    position: absolute !important;
}

