﻿body {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.5;
}

.My_sidebar {
    background: #01478D;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
    /*    background: #fafafa;*/
    border-top: solid 1px #eee;
    background-color: #01478D;
    color: White;
    padding-top: 5px;
}

.My_log {
    margin-top: 0px !important;
    padding-left: 0px;
    width: 260px;
    height: 55px;
}

.My_Pwd {
    font-weight: 800;
}

.My_bg_blue {
    background-color: #01478D;
}

.loginForm {
    border-radius: 10pt;
}

label {
    cursor: default;
    color: #01478D;
}

    label:not(.form-check-label):not(.custom-file-label) {
        font-weight: 700;
        font-size: 9pt;
    }

.form-check-label {
    font-size: 10pt;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out
}

.btn-primary {
    color: #fff;
    background-color: #01478D;
    border-color: #007bff;
    box-shadow: none;
    font-size: 0.8rem;
    font-weight: 400;
}



.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    background-color: transparent;
    font-size: 9pt
}

    .table th { 
        color: #01478D;
        font-weight: 500;
    }

    .table th,
    .table td {
        padding: 0.45rem;
        vertical-align: central;
        border-top: 1px solid #dee2e6;
    }

.CustomLoginCard {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0 solid rgba(0, 0, 0, .125);
    border-radius: 1.5rem;
}
.card-primary:not(.card-outline) > .card-header {
    background-color: #01478D;
}
.card-title {
    float: left;
    font-size: 0.9rem;
    font-weight: bolder;
    margin: 0;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: #ECECEC;
    border-top: 0 solid rgba(0, 0, 0, 0.125);
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #01478D;
}
.card-primary.card-outline {
    border-top: 3px solid #01478D;
}

.sign-in-label {
    font-size: 24px; /* Larger font size */
    font-weight: bold; /* Bold text */
    color: #007BFF; /* Blue color */
    text-transform: uppercase; /* Uppercase text */
    letter-spacing: 2px; /* Letter spacing */
    background-color: #f0f0f0; /* Light gray background */
    padding: 10px; /* Padding around the text */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow effect */
}
/**Session css*/
.blink {
    animation: blink 8s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
/**Payslip View*/
.earning-row {
    background-color: #d3f5d9;
    color:forestgreen;
    font-weight:600;
}

.deduction-row {
    background-color: #f7f7e1;
    color: midnightblue;
    font-weight: 600;
}

.toggle-icon {
    cursor: pointer;
    font-weight: bold;
    padding: 5px;
}

.hiddenE-row {
    display: none;
}
.hiddenD-row {
    display: none;
}
.EmployeeSearchCss {
    height: 220px;
    width: 290px;
    position: absolute;
    display: none;
    z-index: 1001;
    color: black;
    background-color: White;
    border: 1px solid #01478D;
    border-radius: 4px;
    margin: 2px;
}

.modal-header.custom-small-header {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    min-height: unset; /* remove default height if needed */
}
/* required * Marks */
.required::after {
    content: " *";
    color: red;
}
/*  To remove the up/down arrows (spinners) on a <input type="number">,Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
/* animated-underline */
.animated-underline {
    display: inline-block;
    position: relative;
    color: #000;
    text-decoration: none;
}

    .animated-underline::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #007bff;
        transform-origin: bottom right;
        transition: transform 0.3s ease-out;
    }

    .animated-underline:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

/* Pending,Acceptd and Rejected Status */
.badge-status {
    display: inline-block;
    padding: 0.4em 0.8em;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 999px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pending {
    background-color: #FDC007; /* Bootstrap warning */
    color: #212529;
}

.badge-accepted {
    background-color: #28A745; /* Bootstrap success */
}

.badge-rejected {
    background-color: #dc3545; /* Bootstrap danger */
}

/*edit-btn */
.edit-btn {
    background: linear-gradient(45deg, #8B8B8B, #000000,#28A745);
    color: #fff;
    border: none;
    padding: 0.3em 1em;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s ease-in-out;
}

    .edit-btn:hover {
        background: linear-gradient(45deg, #0056b3, #138496,#28A745);
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.4);
    }

.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
/* Bulk upload */
.TextBoxResize {
    width: 100%; /* Full width of parent */
    min-height: 70px; /* Good default height */
    resize: vertical; /* Allow vertical resize only */
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    font-size: 7.5px;
    line-height: 1.5;
}
textarea.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: 0;
}

textarea.form-control {
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
