:root {
    --greenColor: #76b532;
    --lightBlack: #2c3441;
}
.noscroll{
    overflow: hidden;
}
.drag {
    overflow-x: auto;
    overflow-y: hidden;
}
.drag:active {
    cursor: grabbing;
}

.full_width.max-w-7xl {
    max-width: 100% !important;
}
.bg-white {
    background-color: #fff;
}
.addScroll {
    overflow-y: scroll;
    padding: 50px 0;
}
.updatedSearch input {
    border: 1px solid #c9c9c9;
    border-radius: 5px;
    height: auto;
}
.drawer-overlay{
    display: none;
}
.btn {
    height: 2.7rem;
    min-height: 2.7rem;
}
.btn-primary {
    background: var(--greenColor);
    outline: none;
    border: none;
    color: #fff;
}
.btn-secondary {
    background: #2c3441;
    outline: none;
    border: none;
    color: #fff;
}
.btn-secondary:hover{
    background: #262c36;
    
}
.myDanngerBtn{
    background: red;
    color: #fff;
    transition: all 0.3s ease-in-out;
}
.myDanngerBtn:hover{
    background: rgb(206, 3, 3);
}

[type="text"], input:where(:not([type])), [type="email"], [type="url"], [type="password"], [type="number"], [type="date"], [type="datetime-local"], [type="month"], [type="search"], [type="tel"], [type="time"], [type="week"], [multiple], textarea, select{
    border-color: #dadada;
    border-radius: 7px;
}

/* ===========  Navigation Css =========== */


/* ===========  Leave Page Css =========== */
.pad-right {
    padding-right: 35px !important;
}

/* ===========  Profile Page Css =========== */
.profileLogo svg {
    height: 45px;
}

/* =========== Admin Part ===========  */
.myAdmin .drawer-side {
    width: 250px !important;
}

.myAdmin .menu {
    width: 100%;
}

.myAdmin .menu li svg {
    width: 100%;
}

.navbar {
    padding-inline: 1.5rem;
}
.myCross {
    transform: scale(0.8);
    top: -8px !important;
    right: -8px !important;
}

 
/*=========== Breadcum =========== */
.mybredcum .breadcrumb-item::before {
    content: "";
    margin-top: 3px;
}

.mybredcum .breadcrumb-item a {
    transition: all 0.3s ease-in-out;
}
.mybredcum .breadcrumb-item a:hover {
    text-decoration: none;
    color: var(--greenColor);
}

/*=========== User Page  =========== */
.mySearchGrp button {
    margin: 0 15px 0 10px;
}

.userTab table thead th:last-child {
    text-align: center;
}

.myTable table td {
    background: transparent;
}
.myTable table tr {
    transition: all 0.3s ease-in-out;
}
.myTable table tr:hover {
    background: #ebe9e9;
}
.myTable table tr td:last-child form a,
.myTable table tr td:last-child form button {
    transition: all 0.3s ease-in-out;
}
.myTable table tr td:last-child form a:hover,
.myTable table tr td:last-child form button:hover {
    background-color: var(--greenColor);
    color: #fff;
    border-radius: 50px;
}

.myTable table tr .text-cyan-600 {
    color: #5f9623;
}

/* ========== Leave Page ============ */
.actionBtn {
    align-items: center;
}
.actionBtn li {
    margin: 0 4px;
}
.actionBtn li button,
.actionBtn li input,
.actionBtn li a {
    width: 35px;
    min-height: auto;
    height: 35px;
    background: var(--greenColor);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}
.actionBtn li button:hover,
.actionBtn li input:hover,
.actionBtn li a:hover {
    background: #4a00ff;
    color: #fff;
}
.leaveTable table thead th:last-child {
    text-align: center;
}

.leaveTable tr td {
    padding-block: 13px !important;
}
.fixSearch{
    min-width: 150px;
}

/* Csutom  Scrollbar Start ---> */
.leaveTable{
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}
.leaveTable::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.leaveTable table {
  border-collapse: collapse;
}

.table-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

 
.custom-scrollbar::before {
    content: "";
    position: absolute;
    width: calc(100% + 32px);
    height: 100vh;
    background: #fff;
    display: block;
    margin-left: -24px;
    margin-top: -5px;
    border-radius: 5px 5px 0 0;
    box-shadow: 0px -2px 8px -5px #a69e9e;
}

.custom-scrollbar {
    height: 10px;
    background: #eee;
    position: fixed;
    margin-top: 5px;
    width: calc(100% - 330px);
    z-index: 80;
    bottom: 25px;
}

.scroll-thumb {
  height: 100%;
  background: #888;
  width: 100px;
  position: absolute;
  left: 0;
  cursor: pointer;
  border-radius: 5px;
}
/* Csutom  Scrollbar End ---> */

.select2-container .select2-selection--single{
    border-color: #dadada !important;
    border-radius: 7px !important;
    height: 2.8rem !important; 
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    height: 100%;
    display: flex !important;
    align-items: center;
    padding-inline: 1rem !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    top: 9px !important;
    right: 9px !important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder{
    color: #000 !important;
}
.select2-container.select2-container--default{
    margin-top: 0.5rem;
}
.select2-container--default .select2-selection--single .select2-selection__clear{
    margin-top: 2px;
    margin-right: 40px !important;
    font-size: 22px !important;
}
.userleaveFilter .filterInputs .input {
    width: 100%;
}
.userTotalLeaves{
    overflow-x: scroll;
}


/* ============== role page css ============= */
.roleTable .text-cyan-600 {
    color: var(--greenColor);
}
.rolepermisionList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.clearcontroll .form-control {
    border: none;
    padding: 0;
}

/* ============== responsive css ============= */
@media (min-width: 2297px) {
    .custom-scrollbar{
        display: none;
    }
}

@media (max-width: 1270px) {
    .responsive_Filters{
        overflow-x: scroll;
        padding-bottom: 10px;
    }
}

@media (max-width: 1023px) {
    .custom-scrollbar{
        width: calc(100% - 90px);
    }
}
@media (max-width: 900px) {
    .hideOnmobile {
        display: none;
    }    
}
@media (max-width: 767px) {
    
    .addScroll .w-1\/2 {
        width: 90%;
    }
}
@media (max-width: 700px) {
    .updatedSearch{
        flex-direction: column;
    }
    .updatedSearch form{
        margin-bottom: 20px;
    }
    .userleaveFilter .flex{
        flex-direction: column;
    }
    
}

@media (max-width: 550px) {
    .userDetails table tr:nth-child(2) td{
        white-space: normal;
        word-break: break-word;
    }
    .userDtlsBtn{
        flex-direction: column;
    }
    .userDtlsBtn a:first-child{
        margin-bottom: 20px;
    }
}

@media (max-width: 450px) {
    .logoPart label{
        transform: scale(.8);
    }   
    .logoPart .text-2xl{
        font-size: 20px;
    }   
    .navbar .dropdown label{
        padding-inline: 0;
    }
}

/* View user detail */
@media (min-width: 481px) {
    table.user-detail-table tr td:first-child{
        width: 200px;
    }
}
table.user-detail-table tr td ul.list-disc{
    color: #000;
}

/* New button */
.btn-active{
    background: #053857;
    color: #fff;
}
.btn-active:hover{
    background: #333;
    color: #fff;
}
/* Alert denger */
.alert.alert-danger {
   color: #58151c;
   background: #f8d7da;
   border-color: #f1aeb5;
}
.alert.alert-danger a{
   color: #58151c;
}