﻿
/*custom css */
.dataTables_info {
    padding-left: 10px !important;
}

.dataTables_paginate {
    padding-right: 10px !important;
}

.not-allowed {
    cursor: not-allowed !important;
}

.toggle-pwd {
    margin-left: -35px !important;
    cursor: pointer !important;
    display: inline !important;
}
/*  <i class="fa fa-eye-slash toggle-pwd" pwd-id="#Regpasswd"></i> */

.image-preview {
    max-width: 150px;
    max-height: 150px;
}

.size-28 {
    font-size: 28px !important;
    width: 38px !important;
    height: 38px !important;
}

.feather-24 {
    width: 24px !important;
    height: 24px !important;
}

.feather-32 {
    width: 32px !important;
    height: 32px !important;
}

.required:after {
    content: ' *' !important;
    color: red !important;
    font: bold 14px !important;
    display: inline !important;
    padding: 1px !important;
}

[v-cloak] {
    display: none;
}

.cursor {
    cursor: pointer;
}


.tbl-checkbox {
    transform: scale(1.5);
}

.dt-buttons {
    margin-left: 6px !important;
    padding-top: 2px;
}

.select2 {
    width: 100% !important;
}

.select2-selection__rendered {
    margin-top: -4px !important;
    padding: 3px !important;
    padding-left: 5px !important;
}

/*.select2-selection__rendered {
    line-height: 40px !important;
}*/

.select2-container .select2-selection--single {
    height: 39px !important;
}

.select2-selection__arrow {
    height: 38px !important;
}

.ts_checkbox {
    width: 16px !important;
    height: 16px !important;
}

.no-sort::after {
    display: none !important;
    content: "" !important;
}

.no-sort {
    /*  pointer-events: none !important;*/
    cursor: default !important;
    content: "" !important;
    background: none !important;
}

/* google translation */
#google_translate_element {
    display: none;
}

.skiptranslate {
    display: none;
}

.flag_link {
    padding-left: 18px !important
}

.form-select {
    min-width: 100px !important;
}

.dataTables_filter, .dataTables_length {
    margin-bottom: 0 !important;
}

.dataTables_scroll {
    padding-bottom: 0 !important;
    padding-top: 0 !important
}

/*.dt-buttons button {
    padding: 0.3rem 0.8rem !important;
}
*/
.dataTables_length label {
    float: left !important;
    margin-top: 10px;
    margin-left: 10px;
}

.handle {
    cursor: move;
}

/*-----------------
	Loader
-----------------------*/

#loader-wrapper {
    background-color: #fff;
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.loader {
    position: absolute;
    top: 50%;
    left: 40%;
    margin-left: 10%;
    transform: translate3d(-50%, -50%, 0);
}

.dot {
    width: 20px;
    height: 20px;
    background: #3ac;
    border-radius: 100%;
    display: inline-block;
    animation: slide 1s infinite;
}

    .dot:nth-child(1) {
        animation-delay: 0.1s;
        background: #3E007C;
    }

    .dot:nth-child(2) {
        animation-delay: 0.2s;
        background: #f1bd06;
    }

    .dot:nth-child(3) {
        animation-delay: 0.3s;
        background: #007bff;
    }

    .dot:nth-child(4) {
        animation-delay: 0.4s;
        background: #dc3545;
    }

    .dot:nth-child(5) {
        animation-delay: 0.5s;
        background: #28a745;
    }

.demo-tabs .nav-tabs li:first-child a {
    border-radius: 40px 0 0 40px !important;
}

.demo-tabs .nav-tabs li:last-child a {
    border-radius: 0 40px 40px 0 !important;
}

@-moz-keyframes slide {
    0% {
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(2);
    }

    100% {
        transform: scale(1);
    }
}

@-webkit-keyframes slide {
    0% {
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(2);
    }

    100% {
        transform: scale(1);
    }
}

@-o-keyframes slide {
    0% {
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slide {
    0% {
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(2);
    }

    100% {
        transform: scale(1);
    }
}

.summary-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.1);
}
.summary-header {
    padding: 10px;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}
.summary-body {
    padding: 15px;
    background-color: #f8f9fa;
    font-size: 0.9rem;
}
.summary-body div {
    margin: 6px 0;
}
.icon-bounce {
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

 /* ==== LOGIN PAGE BACKGROUND & GLASS CARD ==== */
html, body { 
    height: 100%; 
    margin: 0; 
}

.login-bg {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(0,90,40,0.18), rgba(0,136,81,0.10)),
        url('/assets/images/svgs/login-img.svg') center/cover no-repeat;
    z-index: -1;
}


.login-logo-wrapper img,
.login-logo {
    border-radius: 0 !important; 
    background: none !important; 
    padding: 0 !important;       
    margin: 0 auto !important;   
    width: auto;                  
    max-width: 100%;
    height: auto;
    display: block;
}


.glass-cards {
    background: rgba(30,40,40,0.5); 
    backdrop-filter: blur(3px) saturate(110%);
    -webkit-backdrop-filter: blur(3px) saturate(110%);
    border-radius: 1.3rem;
    border: 1px solid rgba(255,255,255,0.19);
    box-shadow: 0 8px 36px 0 rgba(30,60,40,0.25); 
}

/*.form-control {
    border-radius: 2rem;
    padding-left: 2.4rem;
}*/

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #00965c;
    font-size: 1.1rem;
}

.text-glass {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.16);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.text-glass-light {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.18);
    font-weight: 400;
}

.glass-card .form-label, 
.glass-card .form-check-label {
    color: #f3f3f3;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

.glass-card .form-control {
    background: rgba(255,255,255,0.93);
    color: #222;
}

.glass-card .btn-success {
    background: linear-gradient(90deg,#00965c 0%, #00B864 100%);
    font-weight: bold;
    letter-spacing: 0.02em;
}

.glass-card .btn-success:hover, 
.glass-card .btn-success:focus {
    background: linear-gradient(90deg,#007944 0%, #00B864 100%);
}

/* ==== LOGIN LOGO ==== */
.login-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.login-logo {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.23));
    border-radius: 77%; 
}



.vertical-nav-menu a,
.vertical-nav-menu a:hover,
.vertical-nav-menu a:focus,
.vertical-nav-menu a:active {
    text-decoration: none !important;
}


.vertical-nav-menu a:hover {
    color: #007bff; 
}



.select2-selection__arrow {
    display: none !important;
}


.alert-dismissible .close {
    color: #fff;
    opacity: 1;
    border: none;
    text-shadow: none;
}


.alert-dismissible .close {
    top: 10px;
}

.alert {
    padding: 2px !important;
    margin: 15px !important;
}

.close {
    padding: 1rem;
    background-color: transparent !important;
    box-shadow: none !important;
}

.alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 0.8875rem 1rem;
}

.close:after, .btn-close:after {
    content: '' !important;
}

.btn-close > span {
    display: none !important;
}

.offcanvas-40 {
    width: 40% !important;
}

.offcanvas-50 {
    width: 50% !important;
}

.offcanvas-60 {
    width: 60% !important;
}

.offcanvas-70 {
    width: 70% !important;
}

.offcanvas-80 {
    width: 80% !important;
}

.offcanvas-90 {
    width: 90% !important;
}

.offcanvas-100 {
    width: 100% !important;
}

.buttons-html5 {
    margin-left: 2px !important;
    margin-right: 2px !important;
}

/** ---- */
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: .25rem;
    opacity: .5
}

    .btn-close:hover {
        color: #000;
        text-decoration: none;
        opacity: .75
    }

    .btn-close:focus {
        outline: 0;
        box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
        opacity: 1
    }

    .btn-close.disabled,
    .btn-close:disabled {
        pointer-events: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
        opacity: .25
    }

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%)
}


.iframe-doc {
    height: auto;
    min-height: 550px !important;
    width: 100%;
    resize: both;
    overflow: auto;
}

.close, .btn-close {
    cursor: pointer;
}

.app-drawer-50 {
    width: 50% !important;
}

.app-drawer-60 {
    width: 60% !important;
}

.app-drawer-70 {
    width: 70% !important;
}

.app-drawer-80 {
    width: 80% !important;
}

.app-drawer-90 {
    width: 90% !important;
}

/* Center checkboxes in DataTable cells and header */
table.dataTable td input[type="checkbox"],
table.dataTable td input.form-check-input[type="checkbox"],
table.dataTable th input[type="checkbox"],
table.dataTable th input.form-check-input[type="checkbox"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* Align all table cell content to the left by default */
table.dataTable td,
table.dataTable th {
    vertical-align: middle !important;
    text-align: left !important;
}

/* Except for the checkbox columns: center just the checkbox cell */
table.dataTable td.dt-checkboxes-cell,
table.dataTable th.dt-checkboxes-select-all {
    text-align: center !important;
}

/* ==== DATATABLES GLOBAL FIXES ==== */

/* 1. Align all DataTable cell and header content to the left */
table.dataTable th,
table.dataTable td {
    text-align: left !important;
    vertical-align: middle !important;
}

/* 2. Center just the checkbox cells/headers (don't affect others) */
table.dataTable td.dt-checkboxes-cell,
table.dataTable th.dt-checkboxes-select-all {
    text-align: center !important;
}

/* 3. Action buttons (edit, delete, etc.) in a column: left-align */
table.dataTable td .btn,
table.dataTable td .fa,
table.dataTable td .fas,
table.dataTable td .far,
table.dataTable td .feather,
table.dataTable td .icon {
    margin-right: 8px;
    vertical-align: middle;
    text-align: left !important;
}

/* 4. DataTables sorting arrows: always visible, not overlapping text */
table.dataTable thead th.sorting,
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc {
    position: relative;
    padding-right: 26px !important;
}

table.dataTable thead th.sorting:after,
table.dataTable thead th.sorting_asc:after,
table.dataTable thead th.sorting_desc:after {
    display: inline-block !important;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    font-size: 12px;
    pointer-events: none;
}

table.dataTable thead th.sorting:after {
    content: "▲▼";
}

table.dataTable thead th.sorting_asc:after {
    content: "▲";
} 
table.dataTable thead th.sorting_desc:after {
    content: "▼";
}

/* Optionally, hide arrow if 'no-sort' */
.no-sort:after {
    display: none !important;
}

/* 5. Optional: Action buttons always horizontally aligned */
table.dataTable td .btn {
    min-width: 28px;
    padding: 4px 6px;
}

/* 6. Checkbox itself: make sure it's not stretched in the header */
table.dataTable th input[type="checkbox"],
table.dataTable td input[type="checkbox"] {
    margin: auto !important;
    display: block !important;
}
