.loaderModal {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999 !important;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 9999;
}

.loaderModalDiv {
    text-align: center;
    top: calc(50% - 40px) !important;
    left: calc(50% - 40px) !important;
    position: absolute;
}

.loaderModalDiv .ball-clip-rotate-multiple>div {
    border: 2px solid white;
    border-bottom-color: transparent;
    border-top-color: transparent;
}

.loaderModalDiv .ball-clip-rotate-multiple>div:last-child {
    border-color: white transparent white transparent;
}

#form .row {
    margin-bottom: 15px;
}

.info-span {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.71094rem;
    color: rgb(3, 169, 244);
}

.dt-toolbar>div {
    width: 100% !important;
    max-width: 350px !important;
}

#datatable_wrapper input,
#datatable_wrapper .form-select {
    border-color: #eee !important;
    background-color: white !important;
}

#datatable_wrapper .form-check-input:checked {
    background-color: #1b84ff !important;
    border-color: #1b84ff !important;
}

table.table.dataTable.table-striped>tbody>tr.selected>* {
    box-shadow: inset 0 0 0 9999px rgb(0 32 79 / 95%) !important;
}

.dt-toolbar label {
    padding-right: 10px !important;
}

th {
    font-weight: bolder !important;
}

#kt_app_header {
    background-color: #004fa3 !important;
}

.btn-xs {
    padding: 5px 10px !important;
}

.btn-primary {
    background-color: #004fa3 !important;
    border-color: #004fa3 !important;
}

.page-item.active .page-link {
    background-color: #004fa3 !important;
    border-color: #004fa3 !important;
}

.app-sidebar .menu .menu-item .menu-link.active .menu-title {
    color: #004fa3 !important;
}

.image_background_fit {
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.image_background {
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.fs-12 {
    font-size: 12px !important;
}

.disabled {
    color: var(--bs-gray-500) !important;
    background-color: var(--bs-gray-200) !important;
    border-color: var(--bs-gray-300) !important;
    opacity: 1 !important;
}

.tempus-dominus-widget.timepicker-sbs .td-row {
    display: block !important;
}

.tempus-dominus-widget.timepicker-sbs .td-row .td-half {
    width: 100% !important;
}

.time-container {
    padding-top: 10px !important;
    margin-top: 10px !important;
    border-top: 1px solid grey !important;
}

.sso-login {
    background-color: #7ea3cf !important;
}

.menu-item .menu-link .menu-title {
    font-weight: 600 !important;
}

.form-check-input {
    border: 2px solid #DBDFE9 !important;
}

.gradient-leave-requests {
    background: linear-gradient(135deg, #6ccf95, #6ea9d6);
    /* mint green to light blue, slightly darker */
    color: #fff !important;
}

.gradient-leave {
    background: linear-gradient(135deg, #7ea6fa, #a0bde8);
    /* soft blue, a bit deeper */
    color: #fff !important;
}

.gradient-overtime {
    background: linear-gradient(135deg, #b0db4c, #6d9778);
    /* light green toned down for contrast */
    color: #fff !important;
}

.gradient-training {
    background: linear-gradient(135deg, #d192bf, #7a89c4);
    /* pink to lavender, more muted */
    color: #fff !important;
}

.gradient-expiry {
    background: linear-gradient(135deg, #d2c273, #b99700);
    /* soft yellow/orange, richer */
    color: #fff !important;
}

/* Optional text override */
.card .text-white {
    color: #fff !important;
}

/* ========================================
   HRMS View Pages - Custom Styles
   ======================================== */

/* Info Card Backgrounds */
.info-card-light {
    background-color: #f8f9fa;
}

.info-card-highlight {
    background-color: #e3f2fd;
}

/* Card Styling */
.info-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 0.75rem;
}

.info-item-icon {
    margin-right: 0.75rem;
    font-size: 1.5rem;
    color: #0d6efd;
}

.info-item-content {
    flex-grow: 1;
}

.info-item-label {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.info-item-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: #212529;
}

.info-item-value-primary {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0d6efd;
}

.info-item-value-small {
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
}

/* Status Badge Styling */
.status-badge {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
}

/* Description/Reason Section */
.description-section {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: #f8f9fa;
}

.description-label {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.description-text {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1rem;
}

/* Timeline Icons */
.timeline-icon {
    width: 30px;
    height: 30px;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon i {
    font-size: 1.25rem;
    color: white;
}

/* Header Spacing */
.header-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #0d6efd;
}

/* Gap Utilities */
.gap-4 {
    gap: 1.5rem;
}

/* Overtime Modal Styles */
.status-card-clickable {
    cursor: pointer;
}

.status-line {
    height: 4px;
    display: none;
}

.icon-circle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

input.form-control.flatpickr-time {
    min-height: 38px;
}

label.error {
    color: red;
}

/* Profile Image */
.profile-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* Attendance Log Styles */
.attendance-employee-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.attendance-log-container {
    max-height: 400px;
    overflow-y: auto;
}

.attendance-time-badge {
    background: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.attendance-manual-entry {
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
}

.attendance-manual-badge {
    background: #ffc107;
    color: #000;
    border-radius: 1rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
}

.attendance-type-badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.attendance-site-name {
    font-weight: 600;
    color: #495057;
}

.attendance-reason-cell {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attendance-location-btn {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.attendance-location-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Salary Employee Avatar */
.salary-employee-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Salary Employee Avatar Small */
.salary-employee-avatar-small {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(13, 110, 253, 0.3);
}

/* Small Info Cards */
.info-card-small {
    padding: 0.75rem !important;
    min-height: auto !important;
}

.info-item-icon-small {
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.info-item-label-small {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
    display: block;
}

.info-item-value-small {
    font-size: 0.85rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.2;
}

/* Create Missing Attendance Styles */
input.form-control.flatpickr-time {
    min-height: 38px;
}

/* ========================================
   Dashboard Page Styles
   ======================================== */

/* Profile Image */
.dashboard-profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Attendance Button */
.dashboard-attendance-btn {
    font-weight: 600;
    font-size: 1rem;
}

/* Calendar Container */
.dashboard-calendar {
    background: #fff;
    box-shadow: inset 0 0 5px #ddd;
}

/* FullCalendar Styles */
.fc-event-title {
    font-weight: 600;
}

.fc .fc-toolbar-title {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Button Hover Effects */
.btn.transition-hover {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn.transition-hover:hover {
    background-color: #0b5ed7;
    box-shadow: 0 4px 12px rgba(11, 94, 215, 0.4);
}

/* Card Styles */
.card.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075) !important;
}

.card {
    border-radius: 1rem !important;
    transition: transform 0.2s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1.5rem;
}

.card-body img {
    /* border: 3px solid #e9ecef; */
    padding: 3px;
    background-color: white;
}

.card-body i {
    opacity: 0.9;
}

/* Calendar Styling */
#calendar {
    border-radius: 0.75rem;
    overflow: hidden;
}

.fc-event-title {
    font-weight: 600;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .col-md-3,
    .col-md-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .btn,
    .form-select {
        font-size: 0.9rem;
    }

    .fc .fc-toolbar-title {
        font-size: 1rem;
    }

    .fc .fc-button {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.5rem !important;
    }
}



