/* Google fonts Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*,
::after,
::before {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
}	

h3 {
    /* font-size: 1.2375rem; */
	font-size: 1.775rem;
    color: #000;
}

a {
    cursor: pointer;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

li {
    list-style: none;
}

/* Layout skeleton */

.wrapper {
    align-items: stretch;
    display: flex;
    width: 100%;
}

#sidebar {
    max-width: 264px;
    min-width: 264px;
    transition: all 0.35s ease-in-out;
    /* box-shadow: 0 0 35px 0 rgba(49, 57, 66, 0.5); */
    z-index: 1111;
	background: #223a5e;
	/*  background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
	background-repeat: no-repeat; */
	position: fixed;
	top: 0;
	bottom: 0;
	overflow-y: auto;
	scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
}
	
.sidebar-icon {
	cursor: pointer;
	font-size: 35px;
}

a.sidebar-link.menu:hover {
    background: #f9f6f630; /* Lighten the text color on hover */
}

li.sidebar-item.ps-5:hover {
	background: #f9f6f630; /* Lighten the text color on hover */
}

li.sidebar-item.sidebar-footer:hover {
	background: #f9f6f630; /* Lighten the text color on hover */
}

.menu-clicked {
    background: #f9f6f630; /* Background color when clicked */
}

/* Sidebar collapse */

#sidebar.collapsed {
    margin-left: -264px;
}

#sidebar.collapsed + .main {
    margin-left: 0; /* Change margin of the main when sidebar is collapsed */
}

#sidebar.collapsed + .main nav {
    margin-left: 0;
	width: 100%;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
	margin-left: 264px;
}

.sidebar-logo {
    padding: 1.15rem 1.5rem;
	height: 60px;
	box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
	background: #233e67;
}

.sidebar-logo a {
    color: #e9ecef;
    font-size: 1.25rem;
    font-weight: 600;
}

.sidebar-nav {
    padding: 0;
}

.sidebar-header {
    color: #e9ecef;
    font-size: .75rem;
    padding: 1.5rem 1.5rem .375rem;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #fff;
    position: relative;
    display: block;
    font-size: 1rem;
}

.sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.sidebar-footer {
	bottom: 0;
	position: fixed;
	display: flex;
	background: #233e67;
	width: 264px;
}

.content {
    flex: 1;
    max-width: 100vw;
    width: 100vw;
}

.navbar {
    background: rgba(248,249,250, 1);
	box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
	height: 60px;
	position: fixed;
	z-index: 99;
	width: calc(100% - 264px);
	transition: all 0.35s ease-in-out;
}
	
.navbar img {
    font-size: 18px;
    cursor: pointer;
}

/* Style for the profile image and arrow container */
.navbar .dropdown .profile-header-dropdown {
    position: relative;
}

.navbar .dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #000; /* Arrow color */
    margin-left: 8px; /* Space between image and arrow */
    vertical-align: middle; /* Align with the middle of the image */
    transform: translateY(-1px); /* Adjust vertical alignment if needed */
}

/* Ensure dropdowns align properly */
.navbar .dropdown-menu {
    min-width: 150px; /* Adjust width as needed */
}

/* Style for the notification item */
.navbar .notification-item {
    padding: 2px 0;
    border-bottom: 1px solid #ddd; /* Optional border for separation */
}

/* Specific styling for the notifications dropdown */
.notification-dropdown {
    width: 250px; /* Specific width for notifications dropdown */
}

.navbar .notification-item i {
    font-size: 16px; /* Icon size */
}

.navbar .notification-item h4 {
    font-size: 12px; /* Title font size */
	font-weight: 600;
}

.navbar .notification-item p {
    margin: 0;
    font-size: 12px; /* Description font size */
}

.navbar .updated-time {
    font-size: 10px; /* Font size for the updated time */
	text-align: right;
	margin-left: auto;
}

.navbar .badge-number {
    position: absolute;
    inset: -4px 20px auto auto;
    font-weight: normal;
    font-size: 8px;
    padding: 3px 6px;
}

.navbar .bi-bell{
	cursor: pointer;
}

main {
	background: #f6f9ff;
	font-size: 14px;
	margin-top: 60px;
}

main .card {
    word-wrap: break-word;
    background-clip: border-box;
    background-color: #fff;
    border: none;
    border-radius: .25rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    box-shadow: 0 0 .875rem 0 rgba(33, 37, 41, .05);
    margin-bottom: 24px;
	transition: background-color 0.3s ease, transform 0.3s ease;
	position: relative !important;
	overflow-x: hidden !important;
}

main .card-widget:hover {
  background-color: #E3EDF8;
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;	
}

main .card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}

main .card-body h3{
	color: #333333;
}

main .stat {
    align-items: center;
    background: #E7F6FF;
    border-radius: 50%;
    display: flex;
    height: 60px;
	width: 60px;
    justify-content: center;
}

main .stat-secondary {
    background: #F0F0F0;
}

main .stat-danger {
    background: #FBE9E9;
}

main .stat-success {
    background: #E9F5E9;
}

main .stat-warning {
    background: #FFFBE9;
}

main .card-title {
    color: #012970;
    font-size: .925rem;
    font-weight: 600;
}

main .card-body .stat i{
	font-size: 40px;
	padding-top: 10px;
	color: #3D5A80 !important;
}

/* */

.recentActivity {
    max-height: 400px;
    overflow-y: auto;
    width: auto;
    height: 330px;
	scrollbar-width: thin;
    scrollbar-color: rgb(170, 183, 207) transparent;
}

.recentActivity p small {
	font-size: 10px;
}

.recentActivityContent {
    position: relative;
    padding: 0;
}

.recentActivityItem {
    position: relative;
    padding: 2px 0;
    display: flex;
    align-items: flex-start;
    gap: 2px;
	font-size: 13px;
}

.recentActivityIcon {
    float: left;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 2px solid transparent;
    font-size: 12px;
    text-align: center;
    line-height: 16px;
	z-index: 1;
}

.recentActivityItem:before {
    background-color: #f1f3fa;
    bottom: 0;
    content: "";
    left: 9px;
    position: absolute;
    top: 25px;
    width: 2px;
    z-index: 0;
}

.recenteActivityItem-info {
    margin-left: 10px;
}

.bg-info-lighten {
    background-color: rgba(57, 175, 209, .25) !important;
}

.bg-primary-lighten {
    background-color: rgba(0, 123, 255, 0.1); /* Lighten version of primary color */
}

.bg-danger-lighten {
    background-color: rgba(255, 99, 71, 0.1); /* Lighten version of primary color */
}

/* activity feed */

main .activity-feed {
    padding: 15px 15px 0 15px;
    list-style: none;
    font-size: 14px;		
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgb(170, 183, 207) transparent;
    height: 400px;
}

main .activity-feed .feed-item {
    position: relative;
    padding-bottom: 20px;
    padding-left: 30px;
    border-left: 2px solid #e4e8eb;
}

main .activity-feed .feed-item:last-child {
    border-color: transparent;
}

main .activity-feed .feed-item::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -6px;
    width: 10px;
    height: 10px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #6fd96f;
}

main .activity-feed .feed-item .date {
    display: block;
    position: relative;
    top: -5px;
    color: #8c96a3;
    text-transform: uppercase;
    font-size: 10px;
}

main .activity-feed .feed-item .text {
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
    font-size: 13px;
}

/* activity feed */

main .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

main .filter .icon {
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}

main .card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

div.card-body.payments{
	overflow: auto !important;
}

div.dt-buttons {
  float: none !important;
  text-align: right !important;
  margin-bottom: 10px !important;
}

.dataTables_wrapper .dataTables_paginate {
  text-align: right !important;
  padding-top: .25em !important;
  font-size: 14px !important;   /* Change font size */
}

.dataTables_wrapper .dataTables_length {
  float: left !important;
  font-size: 14px !important;   /* Change font size */
  display: none;
}

.dataTables_wrapper .dataTables_info {
  font-size: 14px !important;
}

.dataTables_wrapper .dataTables_filter {
  font-size: 14px !important;
  display: none;
}

/* Make the input box responsive */
.dataTables_wrapper .dataTables_filters input {
  width: 75%; /* Ensure the input box takes full width of its container */
}

button.dt-button, div.dt-button, a.dt-button, input.dt-button {
  padding: 0 4px !important; /* Adjust the padding as needed */
  font-size: 8px !important;   /* Change font size */
  border-radius: 4px !important; /* Adjust border radius */
}

td, tfoot, tr {
    border-color: inherit;
    border-style: none !important;
    border-width: 0;
}

table.dataTable {
	width: 100% !important;
}

table tr{
	cursor: pointer;
}

.dataTables_scrollHeadInner {
	width: 100% !important;
}

/* chat */

.chat-list {
    max-height: 350px;
    overflow-y: auto;
    width: auto;
    height: 300px;
	scrollbar-width: thin;
    scrollbar-color: rgb(170, 183, 207) transparent;
	/* background-color: #CED7D5;  Lighten version of primary color */
	padding: 20px;
	border: 1px solid #E0E6E5;
	border-radius: .25rem;
}

div.chat-text.recipient {    
	float: left;
    font-size: 12px;
    margin-left: 12px;
    width: 70%;
}

li.recipient {
    display: block;
    clear: both;
    content: "";
}

.recipient .chat-wrap i {
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    position: relative;
}

.recipient .chat-wrap p {
	margin: 0;
    padding-top: 3px;
}

.recipient .chat-wrap {
    background: #f1f3fa;
    border-radius: 8px;
    display: inline-block;
    padding: 12px;
    position: relative;
}

div.chat-text.recipient .chat-wrap:after {
    right: 94%;
    top: 0;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    margin-right: -1px;
    border-color: #f1f3fa #f1f3fa transparent transparent;
    border-style: solid;
    border-width: 6px;
}

.recipient-chat-avatar {
	float: left;
    text-align: center;
    width: 42px;	
}

.recipient-chat-avatar img {
	border-radius: 100%;
    width: 100%;
}

.recipient-chat-avatar i {
    font-size: 12px;
    font-style: normal;
}

div.chat-text.recipient {
    margin-bottom: 20px;
}

li.sender {
    display: block;
    clear: both;
    content: "";
}

.sender-chat-avatar {
	float: right;
    text-align: center;
    width: 42px;	
}

.sender-chat-avatar img {
	border-radius: 100%;
    width: 100%;
}

.sender-chat-avatar i {
    font-size: 12px;
    font-style: normal;
}

div.chat-text.sender {  
    float: right !important;
    margin-right: 12px !important;
    text-align: right !important;
    width: 70% !important;
}

div.chat-text.sender {
    margin-bottom: 20px;
}


.sender .chat-wrap {
    background: #fef5e4;
    border-radius: 8px;
    display: inline-block;
    padding: 12px;
    position: relative;
}

.sender .chat-wrap i {
	display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    position: relative;
}

.sender .chat-wrap p {
	margin: 0;
    padding-top: 3px;
}

div.chat-text.sender .chat-wrap:after {
	border-color: #fef5e4 transparent transparent #fef5e4;
    left: 94% !important;
    top: 0;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    margin-right: -1px;
    border-style: solid;
    border-width: 6px;
}

.chat-input {
    width: 100%;
    padding: 10px;
	height: 38px;
}

.chat-send {
    margin-left: 5px;
}

/* chat */
	
/* Responsive */

@media (min-width:768px) {
    .content {
        width: auto;
    }
}
