@font-face {
    font-family: 'Font Awesome 6 Pro';
    font-style: normal;
    font-weight: 400;
    src: url('/fontawesome/fontawesome-pro-6.7.2-web/webfonts/fa-regular-400.woff2') format('woff2'),
         url('/fontawesome/fontawesome-pro-6.7.2-web/webfonts/fa-regular-400.woff') format('woff');
  }

  
@font-face {
    font-family: 'scripted'; /* The name you will use in CSS */
    src: url('../fonts/EuphoriaScript-Regular.ttf') format('truetype'); /* Path to the .ttf file */
    font-weight: 700; /* Optional: Set the font weight */
    font-style: normal;  /* Optional: Set the font style */
    font-size:1.8rem;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    height: 100vh;
    overflow: hidden;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

.login-box {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.logo {
    max-width: 150px;
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
}

.links a {
    text-decoration: none;
    color: #98012E;
    font-weight: bold;
}

.links a:hover {
    text-decoration: underline;
}

.login-btn, .google-login-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 10px;
    color: #fff;
}

.login-btn {
    background-color: #98012E;
}

.login-btn:hover {
    background-color: #7A001F;
}

.google-login-btn {
    background-color: #4285F4;
}

.google-login-btn:hover {
    background-color: #357AE8;
}

.tagline{
    font-family: 'scripted', serif !important;
    font-size:1.8rem;
    text-align:center;
}


/* Dynamic CSS */


a {
    color: #98012E;
}



h1{
color: #98012E;
}

h2{
color: #98012E;
font-size: 1.2rem;
    padding-left: 0.9rem;
}

.main-content h2{
 padding-left:0rem !important;
 max-width:80%;
}

h3{
color: #98012E;
}

.logoText{
color: #ffffff;
}
.header-bar{
 background-color: #98012E;
}
.payroll-header-bar{
    background-color:#455a64;
    position:relative !important;
            height: 50px;
            width: 100%;
            color: white;
            display: flex;
            align-items: center;
            padding-left: 20px;
            z-index:999999;
}
.employee-header-bar{
    background-color:#3048AC;
    position:relative !important;
            height: 50px;
            width: 100%;
            color: white;
            display: flex;
            align-items: center;
            padding-left: 20px;
            z-index:999999;
}
.sidebar {
            background-color: #f7f7f7;
          -webkit-box-shadow: 10px 0px 16px -7px rgba(196,194,196,0.39);
-moz-box-shadow: 10px 0px 16px -7px rgba(196,194,196,0.39);
box-shadow: 10px 0px 16px -7px rgba(196,194,196,0.39);
            }


    .logoURL {
        background: url(/assets/logo/best-personnel-logo.png) no-repeat center center;
        background-size: 70%;
        width: 100%;
        height: 80px;
        margin-right: 1rem;
        text-align: center;
    }
    

            .card-icon{
            color:#015b7e;
            }

                    /* Custom styles */
        body, html {
            height: 100%;
        }
        .header-bar {
position:relative !important;
            height: 50px;
            width: 100%;
            color: white;
            display: flex;
            align-items: center;
            padding-left: 20px;
            z-index:999999;
        }
        .sidebar {

            height: 100vh;
            width: 12%;
            position: fixed;
            top: 50px;
            padding-top: 20px;
        }
       
        .nav-item{
            color:#015b7e;
            font-weight:bold;
            border-bottom: 1px solid #d7d7d7;
        }
        .dropdown-item{
            margin-left:1.25rem;
            width:80%;
        }
        .sidebar .nav-link {
            padding: 10px 15px;
        }
        .sidebar .dropdown-menu {
            background-color: #b7b8b9;
        }
        .sidebar .dropdown-item:hover {
            background-color: #b7b8b9;
            max-width:80%;
        }
        .content {
            margin-left: 250px;
            padding: 20px;
        }
        .sidebar a {
            display: block;
            padding: 8px 15px;
            color: #333;
            text-decoration: none;
            font-size: 0.9rem;
        }
        .sidebar a:hover {
            background-color: #e9ecef;
            color: #007bff;
        }
        .caret {
            font-size: 0.8rem;
            color:#8b0000;
        }
        .payroll-caret{
            font-size:0.8rem;
            color:#455a64;
        }

        .main-content {
            margin-left: 12%;
            padding: 20px;
            width:88%;
            overflow-y: auto;
    height: 100vh;
        }
.employeeInfo{
    margin: 2%;
    width: 96%;
    font-size: small;
    height: auto;
    border: thin solid #000;
    border-radius: 1rem;
    padding: 0.5rem;
    background-color: #E8FCFE;
    text-align: center;
}
.employeeActionButtons{
   
    position: absolute;
    /* right: 0px; */
    /* float: right; */
    float: left;
    width: 400px !important;
    background-color: cyan;
    height: 100px;
    algin-content: center;
    right: 3rem;
}

        .card {
           text-align: center;
    background-color: #f9f9f9;
    border-radius: 0px;
    padding: 1.5rem;
    max-height: 130px;
        }
        .card-title a{
        text-decoration:none;
        color:#<?php echo $headerBar;?>;
        }
        .my-4{
        margin-top:0px;
        }
        .newsCard{
        border-radius:12px;
        max-height: 205px;
        height:205px;
        background-color:#ffffff;
        padding:0.5rem;
        text-align:left;
        }
        .newsCard p{
        font-size:0.8rem;
        }
        .pubDate{
            font-size: 0.7rem;
            margin-bottom: 0px;
            text-align: right;
        }
        .card{ margin:1rem 0rem 1rem 0rem;
        width:90%;
        font-size:0.8rem;}
        .card h1 {
            font-size: 2rem;
        }
        .card-icon {
           font-size: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            padding-right: 15px;
            width: 15%;
        }
        .card-text {
           text-align: right;
    flex-grow: 1;
    width: 100%;
    top: -3rem;
    position: relative;
        }
        .card-text h1 {
            font-size: 2rem;
            margin: 0;
        }
        .card-text p {
            margin: 0;
            color: #888;
        }
        .search-container {
            position: absolute;
            max-width: 600px;
            margin-left: 2rem;
            left: 200px;
            width: 420px;
        }
        .search-container input {
            width: 100%;
            padding: 5px 10px 5px 30px;
            border-radius: 20px;
            border: none;
            outline: none;
        }
        .search-container .bi-search {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #888;
        }
        .sideLogo{
            width: 60%;
    margin: 0 auto;
    margin-left: 20%;
    margin-top: 2rem;
        }
        .footerText{
            text-align:center;
            font-size:0.6rem;
            color:#000000;
        }
        .icons-container {
            display: flex;
            align-items: center;
            gap: 15px;
            right: 2rem;
            position: absolute;
        }
        .alert-icon {
            position: relative;
        }
        .alert-icon .dot {
            position: absolute;
            top: 0;
            right: 0;
            width: 8px;
            height: 8px;
            background-color: red;
            border-radius: 50%;
            border: 1px solid white;
        }
        .profile-icon {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            overflow: hidden;
        }
        .profile-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

         table {
            border-collapse: separate;
            border-spacing: 0;
            border: 1px solid #ccc;
            border-radius: 10px;
            overflow: hidden;
        }

        table th,
        table td {
            padding: 8px 12px;
            text-align: left;
            border-bottom: 1px solid #ccc;
        }

        table th:first-child,
        table td:first-child {
            border-left: none;
        }

        table th:last-child,
        table td:last-child {
            border-right: none;
        }

        table tr:last-child td {
            border-bottom: none;
        }

        .notes-container > img{
         max-width:600px;
         height:auto;
        }

        .container, #container{
            max-width:none !important;
        }
        .main-content{
            margin-left:12% !important;
            width:88% !important;
            position:relative !important;
           
        }

        .btn{
            background-color:#8b0000 !important;
        }
        .profilePic{
            border-radius: 0.25rem;
            margin-bottom: 2rem;
            width:100%;
            max-width:300px;
        }

        #editRating{
            color:#666666;
            font-size:12px;

        }

        #starRating .star {
            transition: color 0.3s ease;
          }
        
          #starRating .star:hover {
            color: gold; /* Highlight on hover */
          }


          .w80{
            width:80% !important;
          }


.clientinfo{
    cursor:pointer;
}
.alert p{
    margin-bottom: 0rem !important;
}
.mt-5{
    margin-top:3rem !important;
}

.tab-pane.fade {
    display: none;
}

/* Show only the active tab */
.tab-pane.fade.active {
    display: block;
}


.nav-tabs .nav-link {
    position: relative;
    border: none; /* Remove default Bootstrap border */
    padding: 10px 15px;
    background: transparent;
    transition: all 0.3s ease;
}

/* Active tab styling */
.nav-tabs .nav-link.active {
    font-weight: bold;
    color: #8b0000; /* Bootstrap primary color */
    border-bottom:2px;
}

/* Down arrow for active tab */
.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -10px; /* Adjusts position */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #8b0000; /* Arrow color */
}

h5{
    border:none;
    margin-bottom: .5rem;
    font-weight: 400;
    line-height: 1.2;
    color: inherit;
    text-transform: uppercase;
    color: #015b7e;
    font-size: 0.8rem !important;
    text-align:left;
}


.moreLink, .moreLinkClients{
    position: absolute;
    top: 0.5rem;
    right: 2rem;
    cursor:pointer;
}
.moreLink:hover, .moreLinkClients:hover{
color:#015b7e;
}
.dashTable tr:hover{
    cursor:pointer;
}

.smallDiv{
    width:100%;
    height:240px !important;
    min-height:240px !important;
}

.bigNumber{
    margin-right:1rem;
    font-size:42px;
    font-weight:400;
    color:#8b0000;
}

h6{
    font-weight:400;
    color:#8b0000 !important;
}

.viewClient{
    color:#8b0000 !important;
    cursor:pointer;
}

.select-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-container select {
    appearance: none; /* Hide default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

.select-container::after {
    content: "▼"; /* Unicode down arrow */
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #555;
}
.calledIn{
    background-color:#0dcaf0 !important;
    margin-left:2rem;
}
.table-row:hover{
    background-color:#7A001F !important;
    color:#ffffff !important;
}
.topIconMenu{
    margin-top: 0;
    background-color: cyan;
    width: 100%;
    height: 40px;
    position: absolute;
    top: 50px;
}
.toolbar {
    background-color: #f8f9fa;
    display: flex;
    align-items: right;
    padding: 5px;
    height: 50px;
    position: relative;
    width: 100%;
    border-bottom: 1px solid #ccc;
    
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.payroll-toolbar {
    background-color: #f8f9fa;
    display: flex;
    align-items: right;
    padding: 5px;
    height: 50px;
    position: relative;
    width: 100%;
    border-bottom: 1px solid #ccc;
    flex-direction: row;
    justify-content: flex-start;
    padding-left:12%;
}

.toolbar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px; /* Space between groups */
    text-align: center;
}

.toolbar-group span {
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    display: block;
    margin-bottom: -2px;
    border-bottom: thin solid #d7d7d7;
    width: 100%;
}

.payroll-toolbar .toolbar-group span {
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    display: block;
    margin-bottom: -2px;
     border-bottom: none;
    width: 100%;
}

.toolbar-buttons {
    display: flex;
    gap: 10px; /* Space between buttons */
    flex-direction: row-reverse;
}

.toolbar .btn, .payroll-toolbar .btn {
    font-size: 16px;
    padding: 5px 7px;
    color: #333;
    background-color: transparent !important;
    border: none !important;
}

.toolbar .btn:hover, .payroll-toolbar .btn {
    background-color: #e9ecef;
    border-radius: 4px;
    cursor:pointer;
}

.showMaxScreen{
    cursor:pointer;
    z-index:99999999999999;
}
.tableClient, .tableProject, .tableEmployee{
cursor:pointer;
}
#editRatingModal{
    margin-top:2rem;
}

.employeeHeaderTable{
    font-size: small !important;
    border-collapse: separate;
    border: none;
    background-color: transparent !important;
}

.closeSelectedEmployee{
    position: relative;
    right: 1rem;
    top: 1rem;
    float: right;
}

        @media screen and (max-width: 999px) {
            /* CSS rules for devices less than 1000px width */
            .main-content{
                margin-left:0 !important;
                width:100% !important;
            }
body{
    overflow: auto;
}
            .sidebar {

                height: 100vh;
                width: 12%;
                position: fixed;
                top: 0px !important;
            }

            .logoText{
                position: absolute;
                left: 60px;
            }
            .modal-content {
                width:100% !important;
            }
        }
        
        