.phone-input-control {
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.phone-input-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.iti {
    position: relative;
    display: block;
    width: 100%;
}

/* 

.module-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* .select2-container .select2-selection--single .select2-selection__rendered {
	display: block;
	width: 100%;
	padding: 5px 15px !important;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--clr-text-body);
	background-color: transparent;
	background-clip: padding-box;
	border: 1px solid var(--clr-border-1);
	border-radius: 6px;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
} */

@media print {
    body {
        margin: 0;
        font-size: 10pt;
    }

    .payslip-container {
        width: 90%;
        max-width: 8.5in;
        margin: 0.5in auto;
        border: 1px solid #000;
        padding: 0.25in;
        box-sizing: border-box;
        font-size: 10pt;
    }

    .payslip-container * {
        font-size: 10pt;
    }

    .payslip-container .payslip-header h4 {
        font-size: 12pt;
    }

    .payslip-container .section {
        margin-bottom: 0.2in;
        border-bottom: 1px solid #ccc;
        padding-bottom: 0.1in;
    }
    .payslip-container p {
        margin: 0 0 5px 0;
    }

    .payslip-container .text-center {
        text-align: center;
    }

    .payslip-container .text-muted {
        font-size: 8pt;
    }

    .payslip-container button {
        display: none;
    }
}

#tableLoader {
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#tableLoader.show {
    opacity: 1;
}

.spinner-border {
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}
.user__portfolio {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between avatar and text */
}

.user__portfolio-thumb {
    width: 40px; /* Match the size of the default icon */
    height: 40px;
    border-radius: 50%; /* Circular shape */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0; /* Fallback background if needed */
}

.user__portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user__initials {
    width: 100%;
    height: 100%;
    background-color: #007bff; /* Blue background, adjust as needed */
    color: #fff; /* White text */
    font-size: 18px; /* Adjust font size */
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border-radius: 50%; /* Ensure circular shape */
}

.user__content {
    display: flex;
    flex-direction: column;
}

.user__content h5 {
    margin: 0;
    font-size: 16px; /* Adjust font size */
    color: #333; /* Dark text color */
}

.user__content .status-dot {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666; /* Gray text for "online" */
}

.user__content .status-dot.online::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #28a745; /* Green dot, matches screenshot */
    border-radius: 50%;
    display: inline-block;
}

/* Fix button styling */
.btn.dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    min-height: 2.25rem !important; /* Bootstrap 5.3.3 default for btn-sm */
    min-width: 80px !important; /* Ensure sufficient width */
    padding: 0.25rem 0.5rem !important;
    font-size: 0.875rem !important; /* Match btn-sm */
    line-height: 1.5 !important;
    font-weight: 400 !important;
    text-align: center !important;
    vertical-align: middle !important;
    border: 1px solid #6c757d !important; /* btn-outline-secondary border */
    border-radius: 0.25rem !important;
    color: #6c757d !important; /* btn-outline-secondary color */
    background-color: transparent !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.btn.dropdown-toggle:hover {
    color: #6c757d !important;
    background-color: #f8f9fa !important;
    border-color: #6c757d !important;
}

.btn.dropdown-toggle::after {
    vertical-align: 0.255em !important;
    margin-left: 0.255em !important;
    border-top: 0.3em solid !important;
    border-right: 0.3em solid transparent !important;
    border-left: 0.3em solid transparent !important;
}

/* Ensure dropdown menu renders correctly */
.dropdown-menu {
    z-index: 1050 !important; /* Override z-index conflicts */
    min-width: 10rem;
    margin: 0.125rem 0 0;
    padding: 0.5rem 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
    position: absolute !important;
    background-color: #fff;
}

/* Style dropdown items */
.dropdown-item {
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    color: #212529;
    transition: background-color 0.15s ease-in-out;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Style dropdown divider */
.dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* Sub-dropdown styling */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    min-width: 10rem;
    border-radius: 0.25rem;
    z-index: 1050 !important;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

/* Ensure dropdown toggle button aligns properly */
.dropdown-toggle::after {
    vertical-align: 0.255em;
}

/* Fix potential overflow issues */
.dropdown {
    position: relative;
}

/* Ensure dropdowns are not clipped in containers */
.card,
.container-fluid,
.app__slide-wrapper {
    overflow: visible !important;
}
