﻿
/*Home page styles*/
#cardlink {
    text-decoration: none;
    color: inherit;
    display: block; /* Ensure the anchor tag takes the full height */
    transition: transform 0.3s, box-shadow 0.3s;
    border-color: #f2d5cf;
}

    #cardlink .card {
        transition: background-color 0.3s, box-shadow 0.3s;
        height: 100%; /* Ensure the card takes the full height of the container */
        display: flex;
        flex-direction: column;
        border-color: #f2d5cf;
        border-width:2px;
    }

        #cardlink .card img i {
            flex-shrink: 0; /* Ensure the image maintains its aspect ratio */
            margin-top: 15px;
        }

    #cardlink .card-body {
        flex-grow: 1; /* Ensure the card body takes the remaining space */
    }

    #cardlink:hover .card {
        background-color: #f2d5cf; /* Light grey background on hover */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transform: scale(1.02);
    }

    #cardlink:hover .card-body {
        color: #000;
    }

    #cardlink:hover .fas {
        color: #007bff;
    }
   
/* Additional styling for responsiveness */
@media (max-width: 767.98px) {
    .card {
        margin-bottom: 20px;
    }
    #cardlink:hover .card {
        background-color: #f2d5cf; /* Light grey background on hover */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transform: scale(1.02);
    }

}

/*Home page / Employee page */
#mainEmployeeAccordian #empDetailCard .card {
    margin-bottom: 10px;
    border: 0;
}

    #mainEmployeeAccordian #empDetailCard .card .card-header {
        border: 0;
        -webkit-box-shadow: 0 0 1px 0;
        box-shadow: 0 0 1px 0;
        border-radius: 2px;
        padding: 0;
    }

        #mainEmployeeAccordian #empDetailCard .card .card-header .btn-headerlink {
            display: block;
            text-align: left;
            padding: 10px;
        }

            #mainEmployeeAccordian #empDetailCard .card .card-header .btn-headerlink:after {
                content: "\f107";
                font-family: 'Font Awesome 5 Free';
                font-weight: 900;
                float: right;
            }
/*Page title styles*/
.brand-title {
    font-size: 1.2rem; /* Default large font size for bigger screens */
    flex-wrap: wrap; /* Allows text to wrap on small screens */
    align-items: center; /* Centers the text vertically */
    justify-content: center; /* Centers the text horizontally */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Small devices (phones, less than 576px) */
@media (max-width: 576px) {
    .brand-title {
        font-size: 1.5rem; /* Smaller font size for small screens */
    }
}

/* Medium devices (tablets, 576px to 768px) */
@media (min-width: 576px) and (max-width: 768px) {
    .brand-title {
        font-size: 2rem; /* Medium font size for medium screens */
    }
}

/* Large devices (desktops, above 768px) */
@media (min-width: 768px) {
    .brand-title {
        font-size: 1.2rem; /* Larger font size for larger screens */
    }
}

/*View client - search */
#searchBox {
    border: 0.5px solid #007bff;
}
#searchBox:focus {
    border: 1.5px solid #007bff; /* Bootstrap primary color */
    box-shadow: 0 0 2px rgba(0, 123, 255, 0.8);
    outline: none;
    transition: all 0.2s ease-in-out;
}

/*Client salary structure*/
#clientWagesTable {
    display: block;
    max-width: -moz-fit-content;
    max-width: fit-content;
    margin: 0 auto;
    overflow-x: auto;
    white-space: nowrap;
}

table td {
    width: 200px;
    word-wrap: break-word;
}

#chkInclDA {
    border: 3px solid #ccc;
    padding: 10px 15px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
}

.grey {
    background-color: papayawhip;
}