.remove_violet_header .card-header{
    display:none;
}
.remove_violet_header.content{
    margin-top: 10px !important;
}
.remove_violet_header .custom-select{
    display: inline-block;
    width: 100px;
    border: 1px solid #eee !important;
    appearance: auto;
    border-radius: 6px;
    border-bottom: none !important;
    padding: 5px;
    margin: 0 3px;
}
.remove_violet_header .dataTables_filter span{
    display: inline-block;
}

.job-chat{
    height: 240px;
    overflow-y: auto;
}
.chat_btn{
    border:1px solid #eee;
}
.chat_btn textarea{
    padding: 10px;
    border:none;
    width: 100%;
}
.paginate_button.page-item:hover {background: none !important;border: none !important;}
.sidebar .nav p {
    line-height: 25px !important;
    white-space: normal !important;
}
.sidebar .nav i {
    height: 35px !important;
}

/*modal image*/
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}
.img-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
/*  z-index: -1;  Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(87,87,87,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content1 {
  margin: auto;
  display: block;
  width: 100%;
  max-width: 700px;
}


/* Add Animation */
.modal-content1, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.img-close {
  position: absolute;
  top: 50px;
  right: 50px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

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

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content1 {
    width: 100%;
  }
}

/* =========================================================
   Standard listing UI (header, filter, table, pagination)
   ========================================================= */
.listing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.listing-header .card-title { margin: 0; }
.listing-header .card-category { margin: 4px 0 0; }
.listing-count {
    display: inline-block;
    min-width: 28px;
    padding: 3px 9px;
    margin-left: 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
}
.card-header .listing-add,
.card-header .listing-add:hover,
.card-header .listing-add:focus {
    margin: 0;
    padding: 6px 14px;
    background: #fff;
    color: #9c27b0 !important;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
}

.listing-filter {
    margin: 0 15px;
    padding: 6px 15px 4px !important;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
}
.listing-filter .form-group { margin-bottom: 0; }
.listing-filter-actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 6px;
    padding-top: 22px;
    padding-bottom: 8px;
}
.listing-filter-actions .btn { margin: 0; padding: 6px 12px; white-space: nowrap; }
.listing-filter .nav-pills { margin: 8px 0 6px; }

.listing-table thead th {
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #9c27b0;
    white-space: nowrap;
    border-top: 0 !important;
    border-bottom: 2px solid #eee !important;
}
.listing-table td { vertical-align: middle !important; }
.listing-table tbody tr:hover { background: #faf5fb; }
.listing-table img { border-radius: 4px; object-fit: cover; }
.listing-table .btn-sm { margin: 1px 0; }
.listing-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
}
.listing-actions .btn,
.listing-actions form { margin: 0; }
.listing-empty td {
    text-align: center;
    padding: 40px 10px !important;
    color: #999;
}
.listing-empty i {
    display: block;
    margin-bottom: 8px;
    font-size: 28px;
    color: #ccc;
}

.listing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}
.listing-summary { color: #777; font-size: 13px; }
.listing-pages .pagination { margin: 0; flex-wrap: wrap; }

/* DataTables (client-side search + pagination) */
.dataTables_wrapper .listing-dt-top { margin-bottom: 6px; }
.dataTables_wrapper .listing-dt-bottom {
    align-items: center;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #777;
    font-size: 13px;
}
.dataTables_wrapper .dataTables_length select {
    width: auto;
    height: 30px;
    padding: 0 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}
.dataTables_wrapper .dataTables_filter { text-align: right; }
.dataTables_wrapper .dataTables_filter input {
    width: 240px;
    height: 32px;
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}
.dataTables_wrapper .dataTables_filter input:focus { border-color: #9c27b0; outline: 0; }
.dataTables_wrapper .dataTables_info { padding: 0 !important; color: #777; font-size: 13px; }
.dataTables_wrapper .dataTables_paginate { display: flex; justify-content: flex-end; }
.dataTables_wrapper .dataTables_paginate .pagination { margin: 0; flex-wrap: wrap; }
.dataTables_wrapper table.dataTable thead .sorting,
.dataTables_wrapper table.dataTable thead .sorting_asc,
.dataTables_wrapper table.dataTable thead .sorting_desc { cursor: pointer; }
.dataTables_wrapper table.dataTable thead .sorting:after { content: " \2195"; opacity: .3; }
.dataTables_wrapper table.dataTable thead .sorting_asc:after { content: " \2191"; }
.dataTables_wrapper table.dataTable thead .sorting_desc:after { content: " \2193"; }
@media (max-width: 767px) {
    .dataTables_wrapper .dataTables_filter { text-align: left; margin-top: 6px; }
    .dataTables_wrapper .dataTables_filter input { width: 100%; }
    .dataTables_wrapper .dataTables_paginate { justify-content: flex-start; margin-top: 6px; }
}

/* =========================================================
   Global loading overlay (ajax / submit / pagination)
   ========================================================= */
.app-loader {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility 0s linear .2s;
}
.app-loader.show {
    opacity: 1;
    visibility: visible;
    /* short delay so very fast requests do not flash */
    transition: opacity .2s ease .15s, visibility 0s linear 0s;
}
.app-loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
    color: #555;
    font-size: 14px;
}
.app-loader-spinner {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border: 4px solid #eee;
    border-top-color: #9c27b0;
    border-radius: 50%;
    animation: app-loader-spin .8s linear infinite;
}
@keyframes app-loader-spin { to { transform: rotate(360deg); } }
