/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/

.page-title-box-custom {
    padding: 4px 1.5rem;
    border-bottom: 1px solid none;
    border-top: 1px solid none;
    margin: 0px -1.5rem 0rem -1.5rem;

}

.page-title-box-custom h3 {
    font-weight: 700;
    font-size: 25px!important;
    text-transform: uppercase;
    margin-top: 5px;
}
.sticky-button{
    position: sticky;
    top: 93px;
    z-index: 5;
}
.filter_body_card{
    -webkit-box-shadow:none;
}
/* .container-fluid{
    padding-right: 0px;
    padding-left: 0px;
} */
table.dataTable>tbody>tr.selected>* {
    box-shadow: none;
    color: #000000;
    background-color: #E1F8FF;
}
.modal-header{
    --vz-bg-opacity: 1;
    background-color: rgba(var(--vz-light-rgb),var(--vz-bg-opacity))!important;
}
.modal-footer{
    --vz-bg-opacity: 1;
    background-color: rgba(var(--vz-light-rgb),var(--vz-bg-opacity))!important;
}

.select-checkbox {
    cursor: pointer;
}
table.dataTable tbody td.select-checkbox:before, table.dataTable tbody td.select-checkbox:after, table.dataTable tbody th.select-checkbox:before, table.dataTable tbody th.select-checkbox:after {
    display: block !important;
    position: absolute !important;
    top: 0.8em !important;
    left: auto  !important;
    width: 1.55rem !important;
    height: 1.55rem !important;
    box-sizing: border-box !important;
}
table.dataTable tbody td.select-checkbox:before, table.dataTable tbody th.select-checkbox:before {
    content: " ";
    border-radius: 0.45rem;
    background-color: #CDD1D2 !important;
    margin: 0;
}
.required:after {
    content: "*";
    position: absolute;
    font-size: 130%;
    color: #ff745f91;
    padding-left: 0.25rem;
    font-weight: 700;
    top: -3;
}
table.dataTable tr.selected td.select-checkbox:after{
    background-color: #405189 !important;
}
/* Make Select2 and Button Attach Seamlessly */
.input-group .select2-container--default .select2-selection {
    border-top-right-radius: 0;  /* Remove right-side rounding */
    border-bottom-right-radius: 0;
}

/* Style the Button to Match */
.input-group .filter-clear {
    border-top-left-radius: 0;  /* Remove left rounding */
    border-bottom-left-radius: 0;
    border-top-right-radius: 5px; /* Smooth rounded corner */
    border-bottom-right-radius: 5px;
}

/* Ensure Select2 Stays Inline with Button */
.input-group .select2-container {
    flex: 1;
}

.input-group .select2-selection__clear { display: none !important; }

.loader-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Light overlay effect */
    z-index: 1050;
}

#recordArrow {
    animation: bounceArrow 0.8s infinite alternate;
}

@keyframes bounceArrow {
    from {
        transform: translateX(-50%) translateY(0);
    }
    to {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Row Highlight */
.highlighted-row {
    background-color: #e3f2fd !important; /* Light blue */
    position: relative;
    transition: background-color 0.5s ease-in-out;
}

/* Arrow Positioned Outside Table */
.external-arrow {
    position: absolute;
    right: 50px; /* Adjust this to match drawer's left border */
    width: 20px;
    background-color: #0d6efd; /* Bootstrap Primary Blue */
    clip-path: polygon(100% 50%, 0% 0%, 0% 100%);
    z-index: 1050; /* Ensure it's above table but below drawer */
}

.w-55 {
    width: 55% !important;
}
.w-60 {
    width: 60% !important;
}
.w-65 {
    width: 65% !important;
}
.w-70 {
    width: 70% !important;
}

.plant_dropdown_button {
    width: auto;
    height: 70px;
    align-items: center;
	background-color: var(--vz-topbar-user-bg);
	font-weight: 500;
    font-size: medium;
}
.plant_dropdown_list {
    width: auto;
    position: absolute;
    inset: 0px 0px auto auto;
    margin: 0px;
    transform: translate3d(0px, 29px, 0px);
}

.plant_dropdown_list .dropdown-item:hover {
    color: #fff;
    background-color: #405189;
}

.delete-modal-footer {
    padding-bottom: 5px !important;
    padding-top: 5px !important;
}
.delete-modal-header{
    padding-bottom: 10px !important;
}

.quentity-color{
    background-color:#DDFFDD !important;
    font-weight:bold !important;
}
.total-row{
    background-color:#CCEEFF !important;
    color:#000 !important;
    font-weight:bold !important;
}
.total{
    font-weight:bold !important;
}
th.dark{
    background :#f3f3f9 !important;
}
.present{
    background :green !important;
    color:white !important;
}
.absent{
    background:rgb(240 101 72) !important;
    color:white !important;
}
.leave{
    background:rgb(53 119 241) !important;
    color:white !important;
}
.week_off{
    background:rgb(54 201 73) !important;
    color:white !important;
}
.btn-import {
    background-color: #17a2b8;
    color: white;
    border: none;
}

.btn-export {
    background-color: #4e73df;
    color: white;
    border: none;
}

.btn-labor-print {
    background-color: #6c757d;
    color: white;
    border: none;
}

.btn-import:hover,
.btn-export:hover,
.btn-labor-print:hover {
    opacity: 0.85;
}
