body {
    font-family: Arial, sans-serif;
}
/*--btn Styles--*/
.btn {
    border-radius: 0px !important;
}
/*--btn Styles--*/

/*--Header--*/
.header {
    background-color: #333;
    padding: 10px 0px 10px 0px;
    color: white;
    display: flex;
    width: 100%;
}

    .header a, .header a:hover, .header a:visited, .header a:active {
        color: inherit;
        text-decoration: none;
    }

    .header span {
        padding-left: 12px;
    }

.heading {
    width: 100%;
}
/*--Header--*/

/*--Footer--*/
.footer {
    position: fixed;
    bottom: 0;
    width: 90%;
}
/*--Footer--*/

/*--Fixed Table--*/
.tableFixed{
    width: 100% auto;
    overflow-y: auto;
    height: 360px !important;
}
/*--Fixed Table--*/

/*--Loader--*/
.loader {
    display: none;
    position: fixed;
    width: 100% !important;
    height: 100vh !important;
    opacity: 1;
    z-index: 999999 !important;
    background-color: #333;
}

.lds-facebook {
    left: 50%;
    top: 50%;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-facebook div {
        display: inline-block;
        position: absolute;
        left: 8px;
        width: 16px;
        background: #fff;
        animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    }

        .lds-facebook div:nth-child(1) {
            left: 8px;
            animation-delay: -0.24s;
        }

        .lds-facebook div:nth-child(2) {
            left: 32px;
            animation-delay: -0.12s;
        }

        .lds-facebook div:nth-child(3) {
            left: 56px;
            animation-delay: 0;
        }

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }

    50%, 100% {
        top: 24px;
        height: 32px;
    }
}
/*--Loader--*/

label{
    margin-bottom: 0px;
}
.form-group {
    margin-bottom: 5px;
}
.col-pad-r-5{
    padding-right: 5px;
}
.col-pad-5 {
    padding-right: 5px;
    padding-left: 5px;
}
/*Table*/
.table thead th{
    background-color: black;
    color: white;
    padding: 5px;
}

/*--Modal Positioning Fix--*/
/* Fix modal positioning to always center in viewport, not page */
.modal-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    width: auto !important;
    max-width: 500px !important;
}

/* Ensure modal content scrolls if too tall */
.modal-content {
    max-height: 85vh !important;
    overflow-y: auto !important;
}

/* Specific fix for confirmation modal */
#confirmation-modal .modal-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}
/*--Modal Positioning Fix--*/

/*--Modal Fixes--*/
/* Fix for modal backdrop positioning issue */
.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1040 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #000 !important;
}

.modal-backdrop.show {
    opacity: 0.5 !important;
}

/* Ensure modal appears above backdrop */
.modal {
    z-index: 1050 !important;
}

/* Fix for modal dialog positioning */
.modal-dialog {
    position: relative !important;
    margin: 1.75rem auto !important;
    pointer-events: none !important;
}

/* Ensure modal content is clickable */
.modal-content {
    pointer-events: auto !important;
}
/*--Modal Fixes--*/