.user-form-card {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	border: 1px solid #e9ecef;
}

.user-form-header {
	background: linear-gradient(135deg, #0d6efd 0%, #5b18d8 100%);
	color: white;
	padding: 1.25rem 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.1rem;
}

.user-form-header i {
	font-size: 1.5rem;
}

.user-form-card .form-control,
.user-form-card .form-select {
	border-radius: 10px;
	padding: 0.7rem 1rem;
	border: 1px solid #dee2e6;
	transition: all 0.25s ease;
}

.user-form-card .form-control:focus,
.user-form-card .form-select:focus {
	border-color: #5b18d8;
	box-shadow: 0 0 0 3px rgba(91, 24, 216, 0.1);
}

.user-form-card .btn-primary {
	background: linear-gradient(135deg, #0d6efd 0%, #5b18d8 100%);
	border: none;
	border-radius: 10px;
	transition: all 0.3s ease;
}

.user-form-card .btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(91, 24, 216, 0.3);
}

.users-table-card {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	border: 1px solid #e9ecef;
}


#usersTable tbody tr {
	background: transparent;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#usersTable tbody tr:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
	background: linear-gradient(180deg, rgba(245,248,250,0.6), rgba(255,255,255,0.9));
}

.users-table-header {
	padding: 1.5rem 2rem;
	border-bottom: 1px solid #e9ecef;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.user-count-badge {
	background: linear-gradient(135deg, #0d6efd 0%, #5b18d8 100%);
	color: white;
	font-weight: 700;
	font-size: 1.2rem;
	width: 45px;
	height: 45px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#usersTable thead th {
	background-color: #f8f9fa;
	color: #444;
	text-transform: uppercase;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 12px 15px;
	border: none;
}

#usersTable tbody td {
	padding: 12px 15px;
	vertical-align: middle;
}

.role-badge {
	padding: 0.35rem 0.8rem;
	border-radius: 8px;
	font-size: 0.8rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.role-badge-admin {
	background: rgba(91, 24, 216, 0.1);
	color: #5b18d8;
}

.role-badge-user {
	background: rgba(108, 117, 125, 0.1);
	color: #6c757d;
}


.btn-outline-danger {
	border-radius: 8px;
	padding: 6px 10px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-outline-danger:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(220, 53, 69, 0.12);
}


#sessionLogs .card {
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	border: 1px solid rgba(232,234,237,0.7);
}

#sessionLogs .card-body h6 {
	color: #222;
}

#sessionLogs ul li i {
	font-size: 1.05rem;
}


.logs-header {
	background: linear-gradient(90deg, rgba(249,250,251,1), rgba(255,255,255,1));
	border-bottom: 1px solid #eef1f3;
}
.logs-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.log-item {
	background: linear-gradient(180deg, #ffffff, #fbfdff);
	border-radius: 12px;
	padding: 10px 14px;
	border: 1px solid rgba(226,228,231,0.8);
	box-shadow: 0 6px 18px rgba(91,24,216,0.04);
}
.log-accent { display: inline-block; }
.log-badge i { font-size: 1.15rem; }
.log-time { font-size: 0.78rem; color: #7a7a7a; }
.log-user { font-size: 0.95rem; color: #222; margin-top: 2px; }

@media (max-width: 576px) {
	.logs-actions { display: flex; gap: 8px; margin-top: 8px; }
	.logs-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 767px) {
	.users-table-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
		padding: 1rem;
	}
	.users-table-card .table-responsive {
		padding: 1rem !important;
	}
	#usersTable {
		min-width: 520px;
	}
	#usersTable th,
	#usersTable td {
		white-space: nowrap;
	}
	.user-count-badge {
		width: 40px;
		height: 40px;
		font-size: 1rem;
	}
}

.user-count-badge {
	box-shadow: 0 6px 18px rgba(13,110,253,0.18);
}
