@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

*,
::after,
::before {
    box-sizing: border-box;
}


body {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.875rem;
    opacity: 1;
    overflow-y: scroll;
    background-color: #FAF5EE ;
    background-image: url("/img/img-noise.webp");
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}

@media print {
    #downloadBtn {
        display: none;
    }
}

a{
    color: var(--black) !important;
}
a:hover{
    color: var(--black);
    text-decoration: none !important;
}
h1{font-size: var(--font-size-xl);}
h2{font-size: var(--font-size-lg);}
h3{font-size: var(--font-size-md);}


input[type="search"]{
    border: 2px solid var(--black);
    outline: none;
}

.goButton{
    padding: 3px 10px !important;
    margin: 0px 5px !important;
}

.form-control{
    background-color: #f6f6f6 !important;
    color: #1c1c1c !important;
}

.form-group{
    padding: 10px;
    margin-bottom: 0 !important;
}

.form-group label{
    color: #1c1c1c;
    font-weight: 600 !important;
}

.btn-warning1{
    background-color: rgb(20, 52, 164) !important;
    color: white !important;
    border-color:rgba(20, 52, 164, 0.8) !important;
}

.btn-warning1:hover{
    background-color: rgba(20, 52, 164, 0.8) !important;
}

.searchButton{
    margin-top: 10px !important;
}

.searchByMonth{
    padding-left: 10px;
    padding-bottom: 10px;
}



.searchByMonth div a{
    color: #00008B !important;
    font-weight: 600;
    margin-right: 10px;
    margin-left: 10px;
    text-decoration: underline;
}


.filter-form select{
    border-radius: .25rem;
    width: 25%;   
}

.filter-form select:first-child{
    margin-right: 30px;
}


li {
    list-style: none;
}

h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.275rem;
    color: var(--bs-emphasis-color);
}


.main{
    width: 100%;
    height: auto;
}






.dashboard-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    max-width: 100%;
    cursor: pointer;
    transition: border-color 0.3s;
}

.dashboard-option img{
    max-height: 250px;
}
.dashboard-option:hover img{
    scale: 1.1;
    transition: all 0.2s;
}
.dashboard-option span{
    background-color: black;
    color: white;
    padding: 10px 30px;
    border-radius: 10px;
}
.dashboard-option:hover {
    border-color: black;
}
.dashboard-option img {
    margin-bottom: 15px;
}





.heading{
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.heading h2{
    font-weight: 600;
    margin-left: 8px;
}



@media screen and (max-width: 576px) {

    .articles_heading{
        font-size: 20px !important;
    }
    #deletePaymentForm button {
        font-size: medium;
    }

}

/* header  */

.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:20px 0;
    gap: 20px;
}

.header img{
    max-width: 300px;
    margin-left: 8px;
}
.header1 img{
    width: 450px;
}

.header_logo{
    grid-area: logo;
    font-size: 35px;
    font-weight: 800;
    text-decoration: none;
    color: teal !important;
    text-decoration: underline;
    text-transform: capitalize;
}

@media screen and (max-width:991px){
    .header_logo{
        font-size: 25px;
    }
}

@media screen and (max-width:767px){
    .header img{
        max-width: 200px;
    }
    .searchButton{
        margin-left: 14px !important;
    }
}
@media screen and (max-width:400px){
    .header_logo{
        font-size: 17px;
    }
 }

.header img:hover{
    text-decoration: none;
    color: var(--black);
    transform: scale(1.04);
}


/* button  */


.deletebutton:hover{
    background-color: #5a6268 !important;
}

.btn{
    background-color: var(--black);
    border: none;
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    margin: 2px 4px;
    cursor: pointer;
}

.btn:hover{
    color: white;
}

.btn-danger{
    padding: 0 !important;
    font-size: 20px !important;
}

.btn-danger a{
    padding:0 10px !important;

}

.btn-danger a:hover{
    text-decoration: none;
}


.btn-warning1{
    background-color: rgb(20, 52, 164) !important;
    color: white !important;
    border-color:rgba(20, 52, 164, 0.8) !important;
}

.btn-warning1:hover{
    background-color: rgba(20, 52, 164, 0.8) !important;
}


/* Layout for admin dashboard skeleton */

.wrapper {
    align-items: stretch;
    display: flex;
    width: 100%;
    height: 100%;
}

#sidebar {
    max-width: 264px;
    min-width: 264px;
    /* background: var(--bs-dark); */
    transition: all 0.35s ease-in-out;
    background-color: #343a40; /* Dark background color */
    color: #fff; 
}

.main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    width: 100%;
    min-height: 100%;
    background: var(--bs-dark-bg-subtle);
}

/* Sidebar Elements Style */

.sidebar-logo {
    padding: 1.15rem;
    background-color: #e9ecef;
    padding: 15px;
}

.sidebar-logo a {
    color: #e9ecef;
    font-size: 1.15rem;
    font-weight: 600;
}

.sidebar-nav {
    flex-grow: 1;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    margin-left: 0;
}

.sidebar-header {
    color: var(--black);
    font-size: .75rem;
    padding: 1.5rem 1.5rem .375rem;
}

a.sidebar-link {
    padding: .925rem 1.625rem;
    color: #e9ecef;
    position: relative;
    display: block;
    font-size: 1rem;
}

.fa-bars{
    font-size: 25px;
}

.sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}




.avatar {
    height: 40px;
    width: 40px;
}

.navbar-expand .navbar-nav {
    margin-left: auto;
}

.content {
    flex: 1;
    max-width: 100vw;
    width: 100vw;
}

@media (min-width:768px) {
    .content {
        max-width: auto;
        width: auto;
    }
}

.card {
    box-shadow: 0 0 .875rem 0 rgba(34, 46, 60, .05);
    margin-bottom: 24px;
}

.card-title{
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.table td, .table th{
    text-align: center;
    vertical-align: middle !important;
    padding: .75rem 1.3rem !important;
    text-wrap: nowrap;
}

.illustration {
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-emphasis-color);
}

.illustration-img {
    max-width: 150px;
    width: 100%;
}

/* Sidebar Toggle */

#sidebar.collapsed {
    margin-left: -264px;
}

.h-100{
    border-right: 1px solid ;
    border-top: 1px solid ;
}

/* Footer and Nav */

@media (max-width:767.98px) {

    .js-sidebar {
        margin-left: -264px;
    }

    #sidebar.collapsed {
        margin-left: 0;
    }

    .navbar,
    footer {
        width: 100vw;
    }
}





    /* payslip design  */

/* Table Styles */
.container {
    width: 100%;
    max-width: 794px; 
    margin: 0 auto;
    padding: 20px;
}
.employee-details table {
    width: 100%;
    border-collapse: collapse;
}

.no-background {
    background-image: none !important;
}

.employee-details table th,
.employee-details table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}


.pay-slip-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pay-slip-table th,
.pay-slip-table td {
    padding: 6px;
    border: 1px solid #ddd;
    padding-left: 15px;
}

.pay-slip-table th {
    color: black;
    font-weight: bold;
    text-align: left;
}



.pay-slip-table tbody tr:hover {
    background-color: #ddd;
}

/* Backgrounds */


.payslip {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.company-details {
    text-align: center;
    margin-bottom: 20px;
}

.employee-details {
    margin-bottom: 20px;
}

.employee-details label {
    font-weight: bold;
}

.employee-details p {
    margin: 5px 0;
}

.note {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 13px;
}

.footer {
    font-size: 12px;
    margin-top: 20px;
}


#sendSlipsBtn {
    background-color: #007BFF; /* Blue color */
    color: white;
    border: none;
    padding: 6px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

/* Hover effect for the enabled button */
#sendSlipsBtn:hover {
    background-color: #0056b3; /* Darker blue */
}

/* Style for the disabled button */
#sendSlipsBtn:disabled {
    background-color: #6c757d; /* Gray color */
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.7;
}
.hide-in-pdf{
    display: block !important;
}

html{
    zoom: normal !important;
} 