.avatar-xl.profile-admin{
    height: 6rem;
}
.dataTables_filter #statusFilter{
    max-width: 160px;
    width: 100%;
}
.text-nowrap {
    white-space: nowrap;
}
.table>tfoot>tr>th.remove-padding{
    padding: 5px 5px!important;
}
#payments-table_filter.dataTables_filter,
#posts-table_filter.dataTables_filter,
#proposals-table_filter.dataTables_filter {
    display: none !important;
}
.avatar.avatar-sm.avatar-online::before{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30%;
    height: 30%;
    border-radius: 50%;
    content: '';
    border: 2px solid #fff;
}
.select2-container--default .select2-selection--multiple {
    min-height: 41px !important;
    height: 100% !important;
    padding: 2px 6px;
    overflow-y: auto;
    font-weight: 400;
    line-height: 1.5;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color:#fff !important;
    background-clip: padding-box !important;
    border: 2px solid #ebedf2 !important;
    border-radius: 3px !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.select2-container--default.select2-container--focus 
  .select2-selection--multiple {
  border-color: #3e93ff !important;
}
tfoot .select2-container {
    width: 100% !important;
}

.table>tfoot th {
    vertical-align: top;
}
.select2-container--default .select2-results__option{
    font-weight: 400;
    line-height: 1.5;
}
/*
* FAQs in Admin Dashboard - Start
*/
td.reorder-handle{
    cursor: grab;
}
#faqs-table tbody:has(tr.dt-rowReorder-moving) td {
    cursor: grabbing !important;
}
table.dataTable#faqs-table {
    position: relative;
}
.dataTable tbody tr.dt-rowReorder-moving-source {
    visibility: hidden !important;
}
.display.table.table-striped.table-hover.dataTable.dt-rowReorder-float{
    display: none;
}
.dt-rowReorder-moving {
    position: absolute !important;
    z-index: 9999 !important;
    left: 0 !important;
    width: 100%;
    max-width: 100%;
    opacity: 0.95;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    border: 1px solid #ddd;
    background-color: #e4e4e4 !important;
    transition: background-color 0.2s ease-in-out;
}

.dt-rowReorder-moving td:hover {
    background-color: #fff !important; 
}
.dt-rowReorder-moving td{
    background-color: #fff !important;
}
/* FAQs in Admin Dashboard - End */
.table .w-100{
    width: 100px !important;
    max-width: 100px !important;
    min-width: 100px !important;
}
.table .w-130{
    width: 130px !important;
    max-width: 130px !important;
    min-width: 130px !important;
}
.table .w-150{
    width: 150px !important;
    max-width: 150px !important;
    min-width: 150px !important;
}

.table.dataTable .form-button-action a,
.table.dataTable .form-button-action button{
    padding-block: 2px;
}

.repost-msg-container {
    max-width: 530px;
    margin: 60px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.repost-logo {
    max-height: 80px;
    margin-bottom: 20px;
}
.repost-success{
    color: #31ce36;
}
.repost-failed{
    color: #f25961;
}
.repost-expired{
    color: #ffad46;
}
.repost-info{
    color: #48abf7;
}
.full-star, .empty-star{
    color: #ffad46;
}
.star-container{
    display: flex;
    gap: 2px;
}
.table .w-130.auto{
    width: auto !important;
    max-width: auto !important;
    min-width: 130px !important;
}
.table .w-160.auto{
    width: auto !important;
    max-width: auto !important;
    min-width: 160px !important;
}
.table .w-80.auto{
    width: auto !important;
    max-width: auto !important;
    min-width: 80px !important;
}
table .btn.disabled{
    pointer-events: auto;
}
.contact-form input, .contact-form textarea {
  color: #A7A7A7;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px; 
}

input[type="email"]{
    text-transform: lowercase;
}

.table .w-60{
    width: 60px !important;
    max-width: 60px !important;
    min-width: 60px !important;
}

.table .w-70{
    width: 70px !important;
    max-width: 70px !important;
    min-width: 70px !important;
}

.cke_notifications_area .cke_notification.cke_notification_warning{
    display: none;
}
.chart-container.doughnut{
    display: flex;
    justify-content: center;
    align-items: center;
}
.chart-container.doughnut canvas {
  width: 70% !important;
  height: 70% !important;
}

.text-nowrap-lg {
  white-space: normal;
}

textarea#response.form-control{
    height: unset;
    min-height: unset;
}

.timeline.send>li>.timeline-panel.comment {
    width: 40%;
}
.timeline.send>li>.timeline-panel.responce {
    width: 60%;
}
.timeline.send>li>.timeline-badge{
    left: 40%;
}
.timeline.send:before{
    left: 40%;
}
.timeline.send>li.timeline-inverted {
    padding-left: 80px;
}
.timeline.send>li:not(.timeline-inverted) {
    padding-right: 115px;
}
#refreshStatusBtn {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#refreshStatusBtn:hover,
#refreshStatusBtn:focus {
    border: none !important;
    text-decoration: none !important;
}

#refreshIcon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* Spinning Animation */
.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.status-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 2px 5px;
    font-size: 10px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
}

.bulk-email-btn {
    position: relative;
    transition: background-color 0.3s ease;
}

.status-badge.sent {
    background-color: #28a745;
}

.status-badge.pending {
    background-color: #ffc107;
    color: #212529;
    right: -9px;
}

.coupon-delete{
    padding-inline: 0px;
}

.coupon-edit{
    padding-inline-start: 0px;
}

.timeline-heading i {
    font-size: 16px;
}

#recipientConfigForm .selectgroup {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
}

#recipientConfigForm .selectgroup-item {
    flex: 1;
    max-width: 250px;
}

#recipientConfigForm .selectgroup-button {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    color: #495057;
    transition: all 0.2s ease;
    cursor: pointer;
}

#recipientConfigForm .selectgroup-input:checked + .selectgroup-button {
    border-color: #007bff;
    background: #007bff;
    color: white;
}

#recipientConfigForm .selectgroup-button:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

#recipientConfigForm .selectgroup-input:checked + .selectgroup-button:hover {
    background: #0056b3;
}

.user-checkbox-item {
    display: flex;
    align-items: center; 
    gap: 10px;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    background: #fff;
}

.user-checkbox-item:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.custom-control-input {
    margin-top: 0; /* Remove default offset */
}

.custom-control-label {
    flex: 1; /* Let text take remaining space */
    margin-bottom: 0; /* Remove label bottom spacing */
}

.custom-control-input:checked ~ .custom-control-label {
    color: #007bff;
    font-weight: 500;
}


#userSearch {
    border-radius: 20px;
}

.card-tools {
    margin-left: auto;
}

.notif-box .notif-center a {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    padding: 8px;
    border-bottom: 1px solid #f1f1f1;
}

.notif-box .notif-center a .notif-icon {
    flex-shrink: 0; 
}

.notif-box .notif-center a .notif-content {
    flex: 1; 
    min-width: 0; 
    overflow: hidden;
}

.notif-box .notif-center a .notif-content .block {
    display: block;
    white-space: normal;  
    word-wrap: break-word; 
    line-height: 1.3;
}

.notif-box .notif-center a .notif-content .time {
    font-size: 12px;
    color: #888;
    display: block;
    margin-top: 2px;
}

.notif-footer {
    padding: 10px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
}

.notif-footer a {
    color: #007bff;
    text-decoration: none;
    font-size: 12px;
}

.notif-footer a:hover {
    text-decoration: underline;
}

.notif-empty {
    padding: 20px;
    text-align: center;
    color: #8c8c8c;
}

.curves-shadow {
  position: relative;
  overflow: hidden; 
}

.curves-shadow:before {
    content: '';
    position: absolute;
    background: url("../img/kaiadmin/img-shadow.png");
    background-size: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0; 
}

.css-spinner {
    border: 1.5px solid #f3f3f3;
    border-top: 1.5px solid #31ce36;
    border-radius: 50%;
    width: 11px; 
    height: 11px; 
    animation: spin 1s linear infinite;
    margin: 3px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}