.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}
.ft-600{
    font-weight:600 !important;
}
.table-bg{
    background-color: #2f353a;
}
.border-round{
    border-radius: 5px;
}
.text-end{
    text-align: end !important;
}
.kit-right{
    text-align: -webkit-right !important;
}
.vertical-center{
    vertical-align: middle !important;
}
.fs-12{
    font-size: 12px;
}
.fs-14{
    font-size: 14px;
}
.fs-15{
    font-size: 15px;
}
.justify-between {
    justify-content: space-between;
}
.b-bottom{
    border-bottom: 1px solid #cfcfcf;
}
.mlr {
    margin-right: 0;
    margin-left: 0;
}
.mr-15{
    margin-right: 15px !important;
}
.scrol-x{
    overflow-x: scroll;
}
.w-600 
{
    width: 600px!important;
}


body {font-family: Arial, Helvetica, sans-serif;}


.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
}

@media only screen and (max-width: 762px) {
    .modal-content {
        background-color: #fefefe;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
      }
  }

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  display: flex;
  justify-content: right;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


hr {
    border: 0;
    height: 2px;
    background-color: #333;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Shadow effect */
}

.card-body-60{
    width: 60%!important;
}
 
.btn-rounded {
    border-radius: 2em !important;
    padding: 6px 20px;
}

.btn-label {
    background: rgba(0, 0, 0, 0.05);
    display: inline-block;
    padding: 7px 15px;
    border-radius: 3px 0 0 3px;
    margin: -7px -13px;
    margin-right: 12px;
}

.btn-rounded .btn-label {
    padding: 7px 15px 7px 20px;
    margin-left: -20px;
}



@media only screen and (min-width: 1500px) {
    .container-fluid-50 {
        width: 50%; 
        margin-right: auto;
        margin-left: auto;
    }
  }
/* model box style close */

#notificationCount {
    font-size: 12px;
    vertical-align: top;
    margin-left: 5px;
}

.notification-item:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}


 
.leave-cell {
    width: 46px;  
    height: 46px;  
    text-align: center;  
    vertical-align: middle; 
    border: 1px solid #ccc; 
    background-color: #f9f9f9;  
    font-size: 14px; 
    cursor: pointer; 
    transition: background-color 0.3s ease; 
}
 
.leave-cell:hover {
    background-color: #00000042;  
}
 
.leave-marked {
    background-color: #770000;  
    font-weight: bold; 
    color: rgb(131, 0, 0); 
    border: 2px solid #cc0000; 
}

.leave {
    background-color: rgb(106, 212, 0);  
    font-weight: bold; 
    color: white; 
    border: 2px solid #0b3800; 
}

.half-leave{
     
    background-image: linear-gradient(to right, rgb(106, 212, 0), white);
    font-weight: bold; 
    color: white; 
    border: 2px solid #0b3800; 
}

.sick-leave{

    background-color: rgb(40, 72, 180);  
    font-weight: bold; 
    color: white; 
    border: 2px solid #0b3800; 

}
.company-leave{

    background-color: rgb(230 106 143 / 52%);  
    font-weight: bold; 
    color: white; 
    border: 2px solid #0b3800; 

}

.sick-half-leave{
    background-image: linear-gradient(to right, rgb(40, 72, 180), white);
    font-weight: bold; 
    color: white; 
    border: 2px solid #0b3800; 
}

.company-half-leave{
    background-image: linear-gradient(to right, rgb(230 106 143 / 52%), white);
    font-weight: bold; 
    color: white; 
    border: 2px solid #0b3800; 
}
 
.requested {

    background-color: rgb(255, 161, 39);  
    font-weight: bold; 
    color: white; 
    border: 2px solid #bb8206;

}
.btn-brown{
    color: #23282c;
    background-color: #d15e00;
    border-color: #d15e00;
}

.leave-marked:hover::after {
    content: attr(data-leave-type);  
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px;
    font-size: 12px;
    border-radius: 3px;
    white-space: nowrap;
    transform: translate(-50%, -150%);
    z-index: 1000;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.today {
    background-color: #d1e7dd;  
    border: 2px solid #0f5132;  
}


 
.leave-marked {
    background-color: #fde8e8;  
    color: #b22222;  
    font-weight: bold;  
    text-align: center; 
    vertical-align: middle; 
    border: 1px solid #f5c6cb;  
    box-shadow: inset 0 0 5px rgba(178, 34, 34, 0.5); 
}
 
.leave-marked:hover {
    background-color: #f8d7da;  
    border-color: #f1b0b7;  
    cursor: pointer; 
}
 
.leave-marked::after {
    content: attr(data-tooltip); 
    position: absolute;
    background-color: #333;  
    color: #fff;  
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    z-index: 10;
}

.leave-marked:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.btn-white{
    color: black;
    background-color: rgb(238, 236, 236);
    border-color: #00000042;
}
.btn-hover:hover{
    background-color: #00000042;
}

.btn-lightgreen{
    color: black;
    background-color: rgb(106 212 0 / 49%);
    border-color: #00000042;
}

.btn-orange{
    color: black;
    background-color: rgb(255 161 39 / 49%);
    border-color: #00000042;
}

.btn-skyblue{
    color: black;
    background-color: rgb(39 255 226 / 51%);
    border-color: #00000042;
}

.btn-pink{
    color: black;
    background-color: rgb(255 40 130 / 54%);
    border-color: #00000042;
}

.btn-rose{
    color: black;
    background-color: rgb(230 106 143 / 52%);
    border-color: #00000042;
}

.btn-green{
    color: black;
    background-color: rgb(37 94 0 / 52%);
    border-color: #00000042;
}

.btn-blue{
    color: black;
    background-color: rgb(40 72 180 / 44%);
    border-color: #00000042;
}

.weekend {
    background-color: #ffcccc; /* Light red background */
    color: red; /* Red text color */
}

.holiday {
    
    color: black;
}




#popup-box {
    display: none;
    position: fixed;
    top: 20%;
    left: 30%;
    width: 40%;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#popup-box h3 {
    margin: 0;
}

#popup-close {
    background: red;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
